![]() |
plansys2_cascade_example package from ros2_planning_system_examples repoplansys2_bt_example plansys2_cascade_example plansys2_examples plansys2_multidomain_example plansys2_patrol_navigation_example plansys2_simple_example plansys2_simple_example_py |
ROS Distro
|
Package Summary
Tags | No category tags. |
Version | 0.0.4 |
License | Apache License, Version 2.0 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Description | |
Checkout URI | https://github.com/plansys2/ros2_planning_system_examples.git |
VCS Type | git |
VCS Version | rolling |
Last Updated | 2025-07-23 |
Dev Status | UNKNOWN |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Francisco Martin Rico
Authors
PlanSys2 Cascade Example
Description
This example shows how an action can cascade trigger other ROS2 nodes. This can be useful when an action requires the execution of other ROS2 nodes to carry out its task.
In move
action we have specified this dependency:
MoveAction()
: plansys2::ActionExecutorClient("move")
{
getFeedback()->progress = 0.0;
add_activation("check_obstacles_node");
}
How to run
In terminal 1:
ros2 launch plansys2_cascade_example plansys2_cascade_example_launch.py
In terminal 2:
ros2 run plansys2_terminal plansys2_terminal # enters in PlanSys2 Terminal
set instance leia robot
set instance entrance room
set instance kitchen room
set instance bedroom room
set instance dinning room
set instance bathroom room
set instance chargingroom room
set predicate (connected entrance dinning)
set predicate (connected dinning entrance)
set predicate (connected dinning kitchen)
set predicate (connected kitchen dinning)
set predicate (connected dinning bedroom)
set predicate (connected bedroom dinning)
set predicate (connected bathroom bedroom)
set predicate (connected bedroom bathroom)
set predicate (connected chargingroom kitchen)
set predicate (connected kitchen chargingroom)
set predicate (charging_point_at chargingroom)
set predicate (battery_low leia)
set predicate (robot_at leia entrance)
set goal (and(robot_at leia bathroom)) # Sets the goal
get plan # Creates plan and shows it
run # Creates plan and runs it
Please, check that check_obstacles is running while move is running.
\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^ Changelog for package plansys2_cascade_example \^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^
0.0.4 (2020-01-09)
0.0.3 (2020-01-09)
0.0.2 (2020-01-08)
- Package description Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Setting CI Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Setting CI Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- First functional version complete Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Execute actions independiently. Example Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Contributors: Francisco Martin Rico
Package Dependencies
Deps | Name |
---|---|
ament_cmake | |
plansys2_bringup | |
plansys2_terminal | |
ament_lint_common | |
ament_lint_auto | |
ament_cmake_gtest | |
plansys2_executor | |
rclcpp | |
rclcpp_action | |
rclcpp_cascade_lifecycle |
System Dependencies
Dependant Packages
Name | Deps |
---|---|
plansys2_examples |
Launch files
Messages
Services
Plugins
Recent questions tagged plansys2_cascade_example at Robotics Stack Exchange
![]() |
plansys2_cascade_example package from ros2_planning_system_examples repoplansys2_bt_example plansys2_cascade_example plansys2_examples plansys2_multidomain_example plansys2_patrol_navigation_example plansys2_simple_example plansys2_simple_example_py |
ROS Distro
|
Package Summary
Tags | No category tags. |
Version | 0.0.4 |
License | Apache License, Version 2.0 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Description | |
Checkout URI | https://github.com/plansys2/ros2_planning_system_examples.git |
VCS Type | git |
VCS Version | rolling |
Last Updated | 2025-07-23 |
Dev Status | UNKNOWN |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Francisco Martin Rico
Authors
PlanSys2 Cascade Example
Description
This example shows how an action can cascade trigger other ROS2 nodes. This can be useful when an action requires the execution of other ROS2 nodes to carry out its task.
In move
action we have specified this dependency:
MoveAction()
: plansys2::ActionExecutorClient("move")
{
getFeedback()->progress = 0.0;
add_activation("check_obstacles_node");
}
How to run
In terminal 1:
ros2 launch plansys2_cascade_example plansys2_cascade_example_launch.py
In terminal 2:
ros2 run plansys2_terminal plansys2_terminal # enters in PlanSys2 Terminal
set instance leia robot
set instance entrance room
set instance kitchen room
set instance bedroom room
set instance dinning room
set instance bathroom room
set instance chargingroom room
set predicate (connected entrance dinning)
set predicate (connected dinning entrance)
set predicate (connected dinning kitchen)
set predicate (connected kitchen dinning)
set predicate (connected dinning bedroom)
set predicate (connected bedroom dinning)
set predicate (connected bathroom bedroom)
set predicate (connected bedroom bathroom)
set predicate (connected chargingroom kitchen)
set predicate (connected kitchen chargingroom)
set predicate (charging_point_at chargingroom)
set predicate (battery_low leia)
set predicate (robot_at leia entrance)
set goal (and(robot_at leia bathroom)) # Sets the goal
get plan # Creates plan and shows it
run # Creates plan and runs it
Please, check that check_obstacles is running while move is running.
\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^ Changelog for package plansys2_cascade_example \^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^
0.0.4 (2020-01-09)
0.0.3 (2020-01-09)
0.0.2 (2020-01-08)
- Package description Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Setting CI Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Setting CI Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- First functional version complete Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Execute actions independiently. Example Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Contributors: Francisco Martin Rico
Package Dependencies
Deps | Name |
---|---|
ament_cmake | |
plansys2_bringup | |
plansys2_terminal | |
ament_lint_common | |
ament_lint_auto | |
ament_cmake_gtest | |
plansys2_executor | |
rclcpp | |
rclcpp_action | |
rclcpp_cascade_lifecycle |
System Dependencies
Dependant Packages
Name | Deps |
---|---|
plansys2_examples |
Launch files
Messages
Services
Plugins
Recent questions tagged plansys2_cascade_example at Robotics Stack Exchange
![]() |
plansys2_cascade_example package from ros2_planning_system_examples repoplansys2_bt_example plansys2_cascade_example plansys2_examples plansys2_multidomain_example plansys2_patrol_navigation_example plansys2_simple_example plansys2_simple_example_py |
ROS Distro
|
Package Summary
Tags | No category tags. |
Version | 0.0.4 |
License | Apache License, Version 2.0 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Description | |
Checkout URI | https://github.com/plansys2/ros2_planning_system_examples.git |
VCS Type | git |
VCS Version | rolling |
Last Updated | 2025-07-23 |
Dev Status | UNKNOWN |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Francisco Martin Rico
Authors
PlanSys2 Cascade Example
Description
This example shows how an action can cascade trigger other ROS2 nodes. This can be useful when an action requires the execution of other ROS2 nodes to carry out its task.
In move
action we have specified this dependency:
MoveAction()
: plansys2::ActionExecutorClient("move")
{
getFeedback()->progress = 0.0;
add_activation("check_obstacles_node");
}
How to run
In terminal 1:
ros2 launch plansys2_cascade_example plansys2_cascade_example_launch.py
In terminal 2:
ros2 run plansys2_terminal plansys2_terminal # enters in PlanSys2 Terminal
set instance leia robot
set instance entrance room
set instance kitchen room
set instance bedroom room
set instance dinning room
set instance bathroom room
set instance chargingroom room
set predicate (connected entrance dinning)
set predicate (connected dinning entrance)
set predicate (connected dinning kitchen)
set predicate (connected kitchen dinning)
set predicate (connected dinning bedroom)
set predicate (connected bedroom dinning)
set predicate (connected bathroom bedroom)
set predicate (connected bedroom bathroom)
set predicate (connected chargingroom kitchen)
set predicate (connected kitchen chargingroom)
set predicate (charging_point_at chargingroom)
set predicate (battery_low leia)
set predicate (robot_at leia entrance)
set goal (and(robot_at leia bathroom)) # Sets the goal
get plan # Creates plan and shows it
run # Creates plan and runs it
Please, check that check_obstacles is running while move is running.
\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^ Changelog for package plansys2_cascade_example \^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^
0.0.4 (2020-01-09)
0.0.3 (2020-01-09)
0.0.2 (2020-01-08)
- Package description Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Setting CI Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Setting CI Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- First functional version complete Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Execute actions independiently. Example Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Contributors: Francisco Martin Rico
Package Dependencies
Deps | Name |
---|---|
ament_cmake | |
plansys2_bringup | |
plansys2_terminal | |
ament_lint_common | |
ament_lint_auto | |
ament_cmake_gtest | |
plansys2_executor | |
rclcpp | |
rclcpp_action | |
rclcpp_cascade_lifecycle |
System Dependencies
Dependant Packages
Name | Deps |
---|---|
plansys2_examples |
Launch files
Messages
Services
Plugins
Recent questions tagged plansys2_cascade_example at Robotics Stack Exchange
![]() |
plansys2_cascade_example package from ros2_planning_system_examples repoplansys2_bt_example plansys2_cascade_example plansys2_examples plansys2_multidomain_example plansys2_patrol_navigation_example plansys2_simple_example plansys2_simple_example_py |
ROS Distro
|
Package Summary
Tags | No category tags. |
Version | 0.0.4 |
License | Apache License, Version 2.0 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Description | |
Checkout URI | https://github.com/plansys2/ros2_planning_system_examples.git |
VCS Type | git |
VCS Version | rolling |
Last Updated | 2025-07-23 |
Dev Status | UNKNOWN |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Francisco Martin Rico
Authors
PlanSys2 Cascade Example
Description
This example shows how an action can cascade trigger other ROS2 nodes. This can be useful when an action requires the execution of other ROS2 nodes to carry out its task.
In move
action we have specified this dependency:
MoveAction()
: plansys2::ActionExecutorClient("move")
{
getFeedback()->progress = 0.0;
add_activation("check_obstacles_node");
}
How to run
In terminal 1:
ros2 launch plansys2_cascade_example plansys2_cascade_example_launch.py
In terminal 2:
ros2 run plansys2_terminal plansys2_terminal # enters in PlanSys2 Terminal
set instance leia robot
set instance entrance room
set instance kitchen room
set instance bedroom room
set instance dinning room
set instance bathroom room
set instance chargingroom room
set predicate (connected entrance dinning)
set predicate (connected dinning entrance)
set predicate (connected dinning kitchen)
set predicate (connected kitchen dinning)
set predicate (connected dinning bedroom)
set predicate (connected bedroom dinning)
set predicate (connected bathroom bedroom)
set predicate (connected bedroom bathroom)
set predicate (connected chargingroom kitchen)
set predicate (connected kitchen chargingroom)
set predicate (charging_point_at chargingroom)
set predicate (battery_low leia)
set predicate (robot_at leia entrance)
set goal (and(robot_at leia bathroom)) # Sets the goal
get plan # Creates plan and shows it
run # Creates plan and runs it
Please, check that check_obstacles is running while move is running.
\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^ Changelog for package plansys2_cascade_example \^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^
0.0.4 (2020-01-09)
0.0.3 (2020-01-09)
0.0.2 (2020-01-08)
- Package description Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Setting CI Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Setting CI Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- First functional version complete Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Execute actions independiently. Example Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Contributors: Francisco Martin Rico
Package Dependencies
Deps | Name |
---|---|
ament_cmake | |
plansys2_bringup | |
plansys2_terminal | |
ament_lint_common | |
ament_lint_auto | |
ament_cmake_gtest | |
plansys2_executor | |
rclcpp | |
rclcpp_action | |
rclcpp_cascade_lifecycle |
System Dependencies
Dependant Packages
Name | Deps |
---|---|
plansys2_examples |
Launch files
Messages
Services
Plugins
Recent questions tagged plansys2_cascade_example at Robotics Stack Exchange
![]() |
plansys2_cascade_example package from ros2_planning_system_examples repoplansys2_bt_example plansys2_cascade_example plansys2_examples plansys2_multidomain_example plansys2_patrol_navigation_example plansys2_simple_example plansys2_simple_example_py |
ROS Distro
|
Package Summary
Tags | No category tags. |
Version | 0.0.4 |
License | Apache License, Version 2.0 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Description | |
Checkout URI | https://github.com/plansys2/ros2_planning_system_examples.git |
VCS Type | git |
VCS Version | rolling |
Last Updated | 2025-07-23 |
Dev Status | UNKNOWN |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Francisco Martin Rico
Authors
PlanSys2 Cascade Example
Description
This example shows how an action can cascade trigger other ROS2 nodes. This can be useful when an action requires the execution of other ROS2 nodes to carry out its task.
In move
action we have specified this dependency:
MoveAction()
: plansys2::ActionExecutorClient("move")
{
getFeedback()->progress = 0.0;
add_activation("check_obstacles_node");
}
How to run
In terminal 1:
ros2 launch plansys2_cascade_example plansys2_cascade_example_launch.py
In terminal 2:
ros2 run plansys2_terminal plansys2_terminal # enters in PlanSys2 Terminal
set instance leia robot
set instance entrance room
set instance kitchen room
set instance bedroom room
set instance dinning room
set instance bathroom room
set instance chargingroom room
set predicate (connected entrance dinning)
set predicate (connected dinning entrance)
set predicate (connected dinning kitchen)
set predicate (connected kitchen dinning)
set predicate (connected dinning bedroom)
set predicate (connected bedroom dinning)
set predicate (connected bathroom bedroom)
set predicate (connected bedroom bathroom)
set predicate (connected chargingroom kitchen)
set predicate (connected kitchen chargingroom)
set predicate (charging_point_at chargingroom)
set predicate (battery_low leia)
set predicate (robot_at leia entrance)
set goal (and(robot_at leia bathroom)) # Sets the goal
get plan # Creates plan and shows it
run # Creates plan and runs it
Please, check that check_obstacles is running while move is running.
\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^ Changelog for package plansys2_cascade_example \^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^
0.0.4 (2020-01-09)
0.0.3 (2020-01-09)
0.0.2 (2020-01-08)
- Package description Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Setting CI Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Setting CI Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- First functional version complete Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Execute actions independiently. Example Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Contributors: Francisco Martin Rico
Package Dependencies
Deps | Name |
---|---|
ament_cmake | |
plansys2_bringup | |
plansys2_terminal | |
ament_lint_common | |
ament_lint_auto | |
ament_cmake_gtest | |
plansys2_executor | |
rclcpp | |
rclcpp_action | |
rclcpp_cascade_lifecycle |
System Dependencies
Dependant Packages
Name | Deps |
---|---|
plansys2_examples |
Launch files
Messages
Services
Plugins
Recent questions tagged plansys2_cascade_example at Robotics Stack Exchange
![]() |
plansys2_cascade_example package from ros2_planning_system_examples repoplansys2_bt_example plansys2_cascade_example plansys2_examples plansys2_multidomain_example plansys2_patrol_navigation_example plansys2_simple_example plansys2_simple_example_py |
ROS Distro
|
Package Summary
Tags | No category tags. |
Version | 0.0.4 |
License | Apache License, Version 2.0 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Description | |
Checkout URI | https://github.com/plansys2/ros2_planning_system_examples.git |
VCS Type | git |
VCS Version | rolling |
Last Updated | 2025-07-23 |
Dev Status | UNKNOWN |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Francisco Martin Rico
Authors
PlanSys2 Cascade Example
Description
This example shows how an action can cascade trigger other ROS2 nodes. This can be useful when an action requires the execution of other ROS2 nodes to carry out its task.
In move
action we have specified this dependency:
MoveAction()
: plansys2::ActionExecutorClient("move")
{
getFeedback()->progress = 0.0;
add_activation("check_obstacles_node");
}
How to run
In terminal 1:
ros2 launch plansys2_cascade_example plansys2_cascade_example_launch.py
In terminal 2:
ros2 run plansys2_terminal plansys2_terminal # enters in PlanSys2 Terminal
set instance leia robot
set instance entrance room
set instance kitchen room
set instance bedroom room
set instance dinning room
set instance bathroom room
set instance chargingroom room
set predicate (connected entrance dinning)
set predicate (connected dinning entrance)
set predicate (connected dinning kitchen)
set predicate (connected kitchen dinning)
set predicate (connected dinning bedroom)
set predicate (connected bedroom dinning)
set predicate (connected bathroom bedroom)
set predicate (connected bedroom bathroom)
set predicate (connected chargingroom kitchen)
set predicate (connected kitchen chargingroom)
set predicate (charging_point_at chargingroom)
set predicate (battery_low leia)
set predicate (robot_at leia entrance)
set goal (and(robot_at leia bathroom)) # Sets the goal
get plan # Creates plan and shows it
run # Creates plan and runs it
Please, check that check_obstacles is running while move is running.
\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^ Changelog for package plansys2_cascade_example \^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^
0.0.4 (2020-01-09)
0.0.3 (2020-01-09)
0.0.2 (2020-01-08)
- Package description Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Setting CI Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Setting CI Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- First functional version complete Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Execute actions independiently. Example Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Contributors: Francisco Martin Rico
Package Dependencies
Deps | Name |
---|---|
ament_cmake | |
plansys2_bringup | |
plansys2_terminal | |
ament_lint_common | |
ament_lint_auto | |
ament_cmake_gtest | |
plansys2_executor | |
rclcpp | |
rclcpp_action | |
rclcpp_cascade_lifecycle |
System Dependencies
Dependant Packages
Name | Deps |
---|---|
plansys2_examples |
Launch files
Messages
Services
Plugins
Recent questions tagged plansys2_cascade_example at Robotics Stack Exchange
![]() |
plansys2_cascade_example package from ros2_planning_system_examples repoplansys2_bt_example plansys2_cascade_example plansys2_examples plansys2_multidomain_example plansys2_patrol_navigation_example plansys2_simple_example plansys2_simple_example_py |
ROS Distro
|
Package Summary
Tags | No category tags. |
Version | 0.0.4 |
License | Apache License, Version 2.0 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Description | |
Checkout URI | https://github.com/plansys2/ros2_planning_system_examples.git |
VCS Type | git |
VCS Version | rolling |
Last Updated | 2025-07-23 |
Dev Status | UNKNOWN |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Francisco Martin Rico
Authors
PlanSys2 Cascade Example
Description
This example shows how an action can cascade trigger other ROS2 nodes. This can be useful when an action requires the execution of other ROS2 nodes to carry out its task.
In move
action we have specified this dependency:
MoveAction()
: plansys2::ActionExecutorClient("move")
{
getFeedback()->progress = 0.0;
add_activation("check_obstacles_node");
}
How to run
In terminal 1:
ros2 launch plansys2_cascade_example plansys2_cascade_example_launch.py
In terminal 2:
ros2 run plansys2_terminal plansys2_terminal # enters in PlanSys2 Terminal
set instance leia robot
set instance entrance room
set instance kitchen room
set instance bedroom room
set instance dinning room
set instance bathroom room
set instance chargingroom room
set predicate (connected entrance dinning)
set predicate (connected dinning entrance)
set predicate (connected dinning kitchen)
set predicate (connected kitchen dinning)
set predicate (connected dinning bedroom)
set predicate (connected bedroom dinning)
set predicate (connected bathroom bedroom)
set predicate (connected bedroom bathroom)
set predicate (connected chargingroom kitchen)
set predicate (connected kitchen chargingroom)
set predicate (charging_point_at chargingroom)
set predicate (battery_low leia)
set predicate (robot_at leia entrance)
set goal (and(robot_at leia bathroom)) # Sets the goal
get plan # Creates plan and shows it
run # Creates plan and runs it
Please, check that check_obstacles is running while move is running.
\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^ Changelog for package plansys2_cascade_example \^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^
0.0.4 (2020-01-09)
0.0.3 (2020-01-09)
0.0.2 (2020-01-08)
- Package description Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Setting CI Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Setting CI Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- First functional version complete Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Execute actions independiently. Example Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Contributors: Francisco Martin Rico
Package Dependencies
Deps | Name |
---|---|
ament_cmake | |
plansys2_bringup | |
plansys2_terminal | |
ament_lint_common | |
ament_lint_auto | |
ament_cmake_gtest | |
plansys2_executor | |
rclcpp | |
rclcpp_action | |
rclcpp_cascade_lifecycle |
System Dependencies
Dependant Packages
Name | Deps |
---|---|
plansys2_examples |
Launch files
Messages
Services
Plugins
Recent questions tagged plansys2_cascade_example at Robotics Stack Exchange
![]() |
plansys2_cascade_example package from ros2_planning_system_examples repoplansys2_bt_example plansys2_cascade_example plansys2_examples plansys2_multidomain_example plansys2_patrol_navigation_example plansys2_simple_example plansys2_simple_example_py |
ROS Distro
|
Package Summary
Tags | No category tags. |
Version | 0.0.4 |
License | Apache License, Version 2.0 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Description | |
Checkout URI | https://github.com/plansys2/ros2_planning_system_examples.git |
VCS Type | git |
VCS Version | rolling |
Last Updated | 2025-07-23 |
Dev Status | UNKNOWN |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Francisco Martin Rico
Authors
PlanSys2 Cascade Example
Description
This example shows how an action can cascade trigger other ROS2 nodes. This can be useful when an action requires the execution of other ROS2 nodes to carry out its task.
In move
action we have specified this dependency:
MoveAction()
: plansys2::ActionExecutorClient("move")
{
getFeedback()->progress = 0.0;
add_activation("check_obstacles_node");
}
How to run
In terminal 1:
ros2 launch plansys2_cascade_example plansys2_cascade_example_launch.py
In terminal 2:
ros2 run plansys2_terminal plansys2_terminal # enters in PlanSys2 Terminal
set instance leia robot
set instance entrance room
set instance kitchen room
set instance bedroom room
set instance dinning room
set instance bathroom room
set instance chargingroom room
set predicate (connected entrance dinning)
set predicate (connected dinning entrance)
set predicate (connected dinning kitchen)
set predicate (connected kitchen dinning)
set predicate (connected dinning bedroom)
set predicate (connected bedroom dinning)
set predicate (connected bathroom bedroom)
set predicate (connected bedroom bathroom)
set predicate (connected chargingroom kitchen)
set predicate (connected kitchen chargingroom)
set predicate (charging_point_at chargingroom)
set predicate (battery_low leia)
set predicate (robot_at leia entrance)
set goal (and(robot_at leia bathroom)) # Sets the goal
get plan # Creates plan and shows it
run # Creates plan and runs it
Please, check that check_obstacles is running while move is running.
\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^ Changelog for package plansys2_cascade_example \^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^
0.0.4 (2020-01-09)
0.0.3 (2020-01-09)
0.0.2 (2020-01-08)
- Package description Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Setting CI Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Setting CI Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- First functional version complete Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Execute actions independiently. Example Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Contributors: Francisco Martin Rico
Package Dependencies
Deps | Name |
---|---|
ament_cmake | |
plansys2_bringup | |
plansys2_terminal | |
ament_lint_common | |
ament_lint_auto | |
ament_cmake_gtest | |
plansys2_executor | |
rclcpp | |
rclcpp_action | |
rclcpp_cascade_lifecycle |
System Dependencies
Dependant Packages
Name | Deps |
---|---|
plansys2_examples |
Launch files
Messages
Services
Plugins
Recent questions tagged plansys2_cascade_example at Robotics Stack Exchange
![]() |
plansys2_cascade_example package from ros2_planning_system_examples repoplansys2_bt_example plansys2_cascade_example plansys2_examples plansys2_multidomain_example plansys2_patrol_navigation_example plansys2_simple_example plansys2_simple_example_py |
ROS Distro
|
Package Summary
Tags | No category tags. |
Version | 0.0.4 |
License | Apache License, Version 2.0 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Description | |
Checkout URI | https://github.com/plansys2/ros2_planning_system_examples.git |
VCS Type | git |
VCS Version | rolling |
Last Updated | 2025-07-23 |
Dev Status | UNKNOWN |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Francisco Martin Rico
Authors
PlanSys2 Cascade Example
Description
This example shows how an action can cascade trigger other ROS2 nodes. This can be useful when an action requires the execution of other ROS2 nodes to carry out its task.
In move
action we have specified this dependency:
MoveAction()
: plansys2::ActionExecutorClient("move")
{
getFeedback()->progress = 0.0;
add_activation("check_obstacles_node");
}
How to run
In terminal 1:
ros2 launch plansys2_cascade_example plansys2_cascade_example_launch.py
In terminal 2:
ros2 run plansys2_terminal plansys2_terminal # enters in PlanSys2 Terminal
set instance leia robot
set instance entrance room
set instance kitchen room
set instance bedroom room
set instance dinning room
set instance bathroom room
set instance chargingroom room
set predicate (connected entrance dinning)
set predicate (connected dinning entrance)
set predicate (connected dinning kitchen)
set predicate (connected kitchen dinning)
set predicate (connected dinning bedroom)
set predicate (connected bedroom dinning)
set predicate (connected bathroom bedroom)
set predicate (connected bedroom bathroom)
set predicate (connected chargingroom kitchen)
set predicate (connected kitchen chargingroom)
set predicate (charging_point_at chargingroom)
set predicate (battery_low leia)
set predicate (robot_at leia entrance)
set goal (and(robot_at leia bathroom)) # Sets the goal
get plan # Creates plan and shows it
run # Creates plan and runs it
Please, check that check_obstacles is running while move is running.
\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^ Changelog for package plansys2_cascade_example \^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^
0.0.4 (2020-01-09)
0.0.3 (2020-01-09)
0.0.2 (2020-01-08)
- Package description Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Setting CI Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Setting CI Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- First functional version complete Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Execute actions independiently. Example Signed-off-by: Francisco Martin Rico <<fmrico@gmail.com>>
- Contributors: Francisco Martin Rico
Package Dependencies
Deps | Name |
---|---|
ament_cmake | |
plansys2_bringup | |
plansys2_terminal | |
ament_lint_common | |
ament_lint_auto | |
ament_cmake_gtest | |
plansys2_executor | |
rclcpp | |
rclcpp_action | |
rclcpp_cascade_lifecycle |
System Dependencies
Dependant Packages
Name | Deps |
---|---|
plansys2_examples |