software:tortugabot_ros2
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| software:tortugabot_ros2 [2025/09/16 08:40] – [Hokuyo Lidar] s_fuyedc | software:tortugabot_ros2 [2025/11/27 11:01] (current) – [Workspace Setup for roscourse user] s_fuyedc | ||
|---|---|---|---|
| Line 189: | Line 189: | ||
| ===== Hokuyo Lidar ===== | ===== Hokuyo Lidar ===== | ||
| - | Datasheets: {{ : | + | Datasheets: {{ : |
| Line 203: | Line 203: | ||
| ros2 run tf2_ros static_transform_publisher --frame-id base_footprint --child-frame-id laser | ros2 run tf2_ros static_transform_publisher --frame-id base_footprint --child-frame-id laser | ||
| </ | </ | ||
| - | If the Hokuyo is reset to factory defaults, change the IP in ' | + | If the Hokuyo is reset to factory defaults |
| - | ===== Notes ===== | + | ===== Workspace Setup for roscourse user ===== |
| - | < | + | The students will work on user roscourse with pw 10293847. They do not have sudo rights. Install ROS tools, init rosdep and give sudo user arthur access to roscourse files to install the dependencies for the roscourse user. |
| - | # Install ROS2 | + | |
| - | + | ||
| - | + | ||
| - | # ssh to turtle | + | |
| - | sudo apt update | + | |
| - | sudo apt upgrade | + | |
| - | nano .bashrc | + | |
| - | + | ||
| - | # into .bashrc | + | |
| - | source / | + | |
| - | export ROS_DOMAIN_ID=6 # for tortuga6 | + | |
| - | + | ||
| - | ### | + | |
| - | + | ||
| - | # Connect joy teleop bluetooth | + | |
| - | sudo vim / | + | |
| - | # and set the parameter ClassicBondedOnly=false | + | |
| - | + | ||
| - | # Add user to dialout | + | |
| - | sudo adduser $USER dialout | + | |
| - | sudo adduser $USER roscourse | + | |
| - | sudo adduser roscourse dialout | + | |
| - | + | ||
| - | #reboot | + | |
| - | + | ||
| - | ros2 run joy joy_node | + | |
| - | # output: Dual Shock Controller recognized | + | |
| - | + | ||
| - | ros2 topic echo /joy | + | |
| - | + | ||
| - | ### | + | |
| - | </ | + | |
| - | + | ||
| - | Install ROS tools, init rosdep and give sudo user arthur access to roscourse files. | + | |
| < | < | ||
| Line 271: | Line 237: | ||
| < | < | ||
| # user: sudo | # user: sudo | ||
| - | rosdep install -i --from-path / | + | sudo rosdep install -i --from-path / |
| </ | </ | ||
software/tortugabot_ros2.1758012049.txt.gz · Last modified: by s_fuyedc
