getting_started:ros_prep
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| getting_started:ros_prep [2021/03/29 15:54] – ursgraf | getting_started:ros_prep [2026/04/09 18:59] (current) – ursgraf | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Preparations and Building with ROS ===== | + | ====== Preparations and Building |
| Back to [[getting_started: | Back to [[getting_started: | ||
| - | ROS needs to be installed on the developer machine as well as on the target machine. | + | ROS1 or ROS2 needs to be installed on the developer machine as well as on the target machine. |
| - | Before a ROS application can be started, you need to run the '' | + | For building the EEROS library with ROS support, for building an EEROS application |
| < | < | ||
| - | source /path_to_ros_installation/setup.bash | + | source /path_to_ros_install_dir/setup.bash |
| </ | </ | ||
| - | The same applies for building the EEROS library with ROS support and for building an EEROS application with ROS support. | + | Our EEROS build scripts already include the '' |
| - | IMPORTANT If an integrated development environment such as '' | + | IMPORTANT If an integrated development environment such as '' |
| + | |||
| + | EEROS defines its own ROS messages. | ||
| + | * AnalogSignal.msg | ||
| + | * DigitalSignal.msg | ||
| + | They are used to transport an analog signal (double or array of doubles) together with its timestamp. The digital message is of type boolean or array of boolean together with its timestamp. | ||
| + | |||
| + | When you use these messages in one of your applications or want to run one of the ROS examples in EEROS, make sure to make these messages available by running the corresponding setup script with | ||
| + | < | ||
| + | source / | ||
| + | </ | ||
| + | |||
| + | ==== Building the EEROS library with ROS ==== | ||
| + | If you build the library with cmake, make sure you use the -DUSE_ROS=TRUE (for ROS1) or the -DUSE_ROS2=TRUE (for ROS2) switch. | ||
| + | An example of a cmake call could look like this: | ||
| + | |||
| + | '' | ||
| - | === Building the EEROS library with ROS === | ||
| - | If you build the library with cmake, make sure you use the -DUSE_ROS=TRUE switch. | ||
| - | An example of a cmake call could look like this:\\ | ||
| - | '' | ||
| Our build scripts already include this switch. | Our build scripts already include this switch. | ||
getting_started/ros_prep.1617026092.txt.gz · Last modified: by ursgraf
