Skip to content

Commit 2e8c300

Browse files
authored
fix(workspace): categories readded for lab_sim (#35)
* fix(workspace): categories readded for lab_sim
1 parent f854922 commit 2e8c300

30 files changed

+122
-19
lines changed

src/example_behaviors/src/example_add_two_ints_service_client.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ BT::PortsList ExampleAddTwoIntsServiceClient::providedPorts()
2424

2525
BT::KeyValueVector ExampleAddTwoIntsServiceClient::metadata()
2626
{
27-
return { { "subcategory", "Example" },
27+
return { { "subcategory", "Example Behaviors" },
2828
{ "description", "Calls a service to add two integers and makes the result available on an output port." } };
2929
}
3030

src/example_behaviors/src/example_delayed_message.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ BT::PortsList ExampleDelayedMessage::providedPorts()
1717

1818
BT::KeyValueVector ExampleDelayedMessage::metadata()
1919
{
20-
return { { "subcategory", "Example" },
20+
return { { "subcategory", "Example Behaviors" },
2121
{ "description", "After some time, log a message that says \"Hello, world!\"." } };
2222
}
2323

src/example_behaviors/src/example_fibonacci_action_client.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ BT::PortsList ExampleFibonacciActionClient::providedPorts()
2828

2929
BT::KeyValueVector ExampleFibonacciActionClient::metadata()
3030
{
31-
return { { "subcategory", "Example" },
31+
return { { "subcategory", "Example Behaviors" },
3232
{ "description",
3333
"Calls an action to get a Fibonacci sequence and makes the result available on an output port." } };
3434
}

src/example_behaviors/src/example_get_string_from_topic.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ BT::PortsList ExampleGetStringFromTopic::providedPorts()
2222

2323
BT::KeyValueVector ExampleGetStringFromTopic::metadata()
2424
{
25-
return { { "subcategory", "Example" },
25+
return { { "subcategory", "Example Behaviors" },
2626
{ "description", "Captures a string message and makes it available on an output port." } };
2727
}
2828

src/example_behaviors/src/example_hello_world.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ BT::PortsList ExampleHelloWorld::providedPorts()
1616

1717
BT::KeyValueVector ExampleHelloWorld::metadata()
1818
{
19-
return { { "subcategory", "Example" }, { "description", "Log a message that says \"Hello, world!\"." } };
19+
return { { "subcategory", "Example Behaviors" }, { "description", "Log a message that says \"Hello, world!\"." } };
2020
}
2121

2222
BT::NodeStatus ExampleHelloWorld::tick()

src/example_behaviors/src/example_publish_color_rgba.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ BT::PortsList ExamplePublishColorRGBA::providedPorts()
1616

1717
BT::KeyValueVector ExamplePublishColorRGBA::metadata()
1818
{
19-
return { { "subcategory", "Example" },
19+
return { { "subcategory", "Example Behaviors" },
2020
{ "description", "Publishes a fixed std_msgs::msg::ColorRGBA message to a topic named \"/my_topic\"" } };
2121
}
2222

src/example_behaviors/src/example_setup_mtc_pick_from_pose.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ BT::PortsList ExampleSetupMtcPickFromPose::providedPorts()
5555

5656
BT::KeyValueVector ExampleSetupMtcPickFromPose::metadata()
5757
{
58-
return { { "subcategory", "Example" },
58+
return { { "subcategory", "Example Behaviors" },
5959
{ "description", "Adds the stages to describe a pick motion to the MTC task." } };
6060
}
6161

src/example_behaviors/src/example_setup_mtc_place_from_pose.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ BT::PortsList ExampleSetupMtcPlaceFromPose::providedPorts()
5656

5757
BT::KeyValueVector ExampleSetupMtcPlaceFromPose::metadata()
5858
{
59-
return { { "subcategory", "Example" },
59+
return { { "subcategory", "Example Behaviors" },
6060
{ "description", "Adds the stages to describe a place motion to the MTC task." } };
6161
}
6262

src/example_behaviors/src/example_setup_mtc_wave_hand.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ BT::PortsList ExampleSetupMTCWaveHand::providedPorts()
3636

3737
BT::KeyValueVector ExampleSetupMTCWaveHand::metadata()
3838
{
39-
return { { "subcategory", "Example" }, { "description", "Wave hello with the end effector." } };
39+
return { { "subcategory", "Example Behaviors" }, { "description", "Wave hello with the end effector." } };
4040
}
4141

4242
tl::expected<bool, std::string> ExampleSetupMTCWaveHand::doWork()

src/lab_sim/objectives/3_waypoint_pick_and_place.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,11 @@
119119
</Decorator>
120120
</Control>
121121
</BehaviorTree>
122+
<TreeNodesModel>
123+
<SubTree ID="3 Waypoints Pick and Place">
124+
<MetadataFields>
125+
<Metadata subcategory="Application - Basic Examples" />
126+
</MetadataFields>
127+
</SubTree>
128+
</TreeNodesModel>
122129
</root>

0 commit comments

Comments
 (0)