User Tools

Site Tools


software:tortugabot_ros2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
software:tortugabot_ros2 [2025/04/03 09:40] – [Notes] s_fuyedcsoftware:tortugabot_ros2 [2025/05/27 10:14] (current) – [Hokuyo Lidar] s_fuyedc
Line 49: Line 49:
 {{:software:hokuyo_w_gateway.png?800|}} {{:software:hokuyo_w_gateway.png?800|}}
  
 +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 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
 </code> </code>
 +If the Hokuyo is reset to factory defaults, change the IP in 'tortugabot_ws/urg_node2/config/params_ether.yaml' to '192.168.0.10'.
  
  
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
 </code> </code>
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: 2025/04/03 09:40 by s_fuyedc

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki