getting_started:ros_timing
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| getting_started:ros_timing [2023/02/10 08:31] – ursgraf | getting_started:ros_timing [2024/11/14 15:34] (current) – ursgraf | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Timing when using ROS ====== | ====== Timing when using ROS ====== | ||
| + | Back to [[getting_started: | ||
| + | |||
| The [[eeros_architecture: | The [[eeros_architecture: | ||
| <code cpp> | <code cpp> | ||
| Line 6: | Line 8: | ||
| The executor will now be synched with the ROS time base. All the blocks will use the ROS time as well. | The executor will now be synched with the ROS time base. All the blocks will use the ROS time as well. | ||
| Do this at the very beginning when setting the system up. | Do this at the very beginning when setting the system up. | ||
| + | |||
| + | ROS itself has a concept of executors, see [[https:// | ||
| + | |||
| + | ===== Synchronizing to Topics ===== | ||
| + | |||
| + | When running EEROS together with ROS and Gazebo you can synchronize EEROS with topics it subscribes to. The executor in EEROS will run whenever a new message gets published on such a topic. The use differs slightly for ROS1 and ROS2. | ||
| + | ==== ROS1 ==== | ||
| + | Study the code in [[https:// | ||
| + | ==== ROS2 ==== | ||
| + | Each subscriber block has a parameter named '' | ||
| + | |||
getting_started/ros_timing.1676014270.txt.gz · Last modified: 2023/02/10 08:31 by ursgraf