No version for distro humble. Known supported distros are highlighted in the buttons above.
No version for distro jazzy. Known supported distros are highlighted in the buttons above.
No version for distro rolling. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 1.0.0
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/nirwester/ros2_journey_examples.git
VCS Type git
VCS Version master
Last Updated 2023-09-08
Dev Status UNMAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Nodes to explemplify the usage of the lifecycle manager

Additional Links

No additional links.

Maintainers

  • Marco Matteo Bassa

Authors

No additional authors.

COMPILATION

  • Setup ROS 2 Galactic (small adaptations are required for calling services on Humble and Rolling)
  • Put the package in a folder named “src” and run “colcon build”.

EXECUTION

Terminal 1

  • source install/setup.sh
  • ros2 launch lifecycle_examples lifecycle_example.launch.py

Terminal 2

  • ros2 service call /trigger_activation std_srvs/srv/Trigger “{}”

EXPECTED OUTPUT:

[component_container_mt-1] [INFO] [1677784853.602283758] [node1]: Configured

[component_container_mt-1] [INFO] [1677784853.602738883] [node2]: Configured

[component_container_mt-1] [INFO] [1677784853.603004783] [node1]: Activated

[component_container_mt-1] [INFO] [1677784853.603173078] [node2]: Activated

[component_container_mt-1] [INFO] [1677784853.603276840] [manager]: Initialization completed

NOTE: The code calls a service from a service callback, hence a dedicated callback group and a multithreaded executor are required.

CHANGELOG

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged lifecycle_examples at Robotics Stack Exchange

No version for distro noetic. Known supported distros are highlighted in the buttons above.
No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.
No version for distro eloquent. Known supported distros are highlighted in the buttons above.
No version for distro dashing. Known supported distros are highlighted in the buttons above.
No version for distro galactic. Known supported distros are highlighted in the buttons above.
No version for distro foxy. Known supported distros are highlighted in the buttons above.
No version for distro iron. Known supported distros are highlighted in the buttons above.
No version for distro lunar. Known supported distros are highlighted in the buttons above.
No version for distro jade. Known supported distros are highlighted in the buttons above.
No version for distro indigo. Known supported distros are highlighted in the buttons above.
No version for distro hydro. Known supported distros are highlighted in the buttons above.
No version for distro kinetic. Known supported distros are highlighted in the buttons above.
No version for distro melodic. Known supported distros are highlighted in the buttons above.