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:20] – [Hokuyo Lidar] s_fuyedcsoftware:tortugabot_ros2 [2025/04/03 12:01] (current) – [Notes] s_fuyedc
Line 228: Line 228:
 # 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 244: Line 245:
 <code> <code>
 # user: sudo # user: sudo
-sudo apt install ros-dev-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 272: Line 271:
 rosdep install -i --from-path /home/roscourse/tortugabot_ws/src --rosdistro jazzy rosdep install -i --from-path /home/roscourse/tortugabot_ws/src --rosdistro jazzy
 </code> </code>
 +
 +Build the workspace and source the executables.
  
 <code> <code>
 # user: roscourse # user: roscourse
-# Build the workspace +cd ~/tortugabot_ws
-cd ..+
 colcon build colcon build
 source install/setup.bash source install/setup.bash
Line 293: Line 293:
 # 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.1743672030.txt.gz · Last modified: 2025/04/03 09:20 by s_fuyedc

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki