Skip to content

Commit 6bf2af4

Browse files
Fix comments as sugested in the review
Signed-off-by: Jan Hanca <[email protected]>
1 parent c2331b5 commit 6bf2af4

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

Gems/ROS2/Code/Source/SystemComponents/ROS2SystemComponent.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ namespace ROS2
5454
ec->Class<ROS2SystemComponent>(
5555
"ROS 2 System Component",
5656
"This component is responsible for creating ROS 2 node and executor, provides ROS 2 interfaces, manages ROS 2 clock "
57-
"and "
58-
"publishes transforms.")
57+
"and publishes transforms.")
5958
->ClassElement(AZ::Edit::ClassElements::EditorData, "")
6059
->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC_CE("System"))
6160
->Attribute(AZ::Edit::Attributes::Category, "ROS2")

Gems/ROS2Sensors/Code/Source/Tools/ROS2SensorsEditorModule.cpp

-8
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ namespace ROS2Sensors
2424

2525
ROS2SensorsEditorModule()
2626
{
27-
// Push results of [MyComponent]::CreateDescriptor() into m_descriptors here.
28-
// Add ALL components descriptors associated with this gem to m_descriptors.
29-
// This will associate the AzTypeInfo information for the components with the the SerializeContext, BehaviorContext and
30-
// EditContext. This happens through the [MyComponent]::Reflect() function.
3127
m_descriptors.insert(
3228
m_descriptors.end(),
3329
{
@@ -38,10 +34,6 @@ namespace ROS2Sensors
3834
});
3935
}
4036

41-
/**
42-
* Add required SystemComponents to the SystemEntity.
43-
* Non-SystemComponents should not be added here
44-
*/
4537
AZ::ComponentTypeList GetRequiredSystemComponents() const override
4638
{
4739
return AZ::ComponentTypeList{

0 commit comments

Comments
 (0)