|
|
3 years ago | |
|---|---|---|
| .. | ||
| ros2 | 3 years ago | |
| README.md | 3 years ago | |
| ROS2listener.py | 3 years ago | |
| main.py | 3 years ago | |
| vision.py | 3 years ago | |
This folder contains all the source files to validly run the Python dashboard for visualizing the Line Following Robot (LFR) Digital Shadow (DS).
It is important that ROS2 is enabled in the environment that
runs the main code. This will also enable the rclpy module.
This dashboard does the following things:
For the dashboard to work, it is required that the lfr_msgs
package for ROS2 communication is compiled. This package is
located inside the ros2 folder. In order to compile, execute
the following steps.
setup or
local_setup script. This is presumably located in the
/opt/ folder.ros2 folder
(choose which one applies):
colcon build --merge-install --packages-select lfr_msgs
colcon build --packages-select lfr_msgslfr_msgs package) by sourcing the
setup or local_setup script from ros2/install.
You may need to compile this package in the ros2 directory
first (see above).main.py script from the environment.