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/04/03 09:40] – [Notes] s_fuyedc | software:tortugabot_ros2 [2025/09/16 08:42] (current) – [Hokuyo Lidar] s_fuyedc | ||
|---|---|---|---|
| Line 49: | Line 49: | ||
| {{: | {{: | ||
| + | If the Hokuyo is reset to factory defaults, put the IPv4 Address to 192.168.0.1 instead. | ||
| ==== DS3 Controller Bluetooth Setup ==== | ==== DS3 Controller Bluetooth Setup ==== | ||
| Line 188: | Line 189: | ||
| ===== Hokuyo Lidar ===== | ===== Hokuyo Lidar ===== | ||
| - | Datasheets: {{ : | + | Datasheets: {{ : |
| Line 202: | 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 (like for Tortugabot 4), change the IP in ' | ||
| Line 228: | Line 230: | ||
| # Add user to dialout | # Add user to dialout | ||
| sudo adduser $USER dialout | sudo adduser $USER dialout | ||
| + | sudo adduser $USER roscourse | ||
| sudo adduser roscourse dialout | sudo adduser roscourse dialout | ||
| Line 245: | Line 248: | ||
| # user: sudo | # user: sudo | ||
| sudo apt install ros-dev-tools ros-jazzy-topic-tools | sudo apt install ros-dev-tools ros-jazzy-topic-tools | ||
| - | # allow sudo user arthur to see roscourse directories | ||
| - | sudo adduser arthur roscourse | ||
| sudo rosdep init | sudo rosdep init | ||
| </ | </ | ||
| Line 294: | Line 295: | ||
| # laser | # laser | ||
| ros2 launch urg_node2 urg_node2.launch.py | ros2 launch urg_node2 urg_node2.launch.py | ||
| + | |||
| + | # Throttle laser frequency to 10 hz | ||
| + | ros2 run topic_tools throttle messages /scan 10.0 | ||
| # transform base_footprint < laser | # transform base_footprint < laser | ||
software/tortugabot_ros2.1743673233.txt.gz · Last modified: by s_fuyedc
