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/09/16 08:41] – [Hokuyo Lidar] s_fuyedcsoftware:tortugabot_ros2 [2025/11/27 11:01] (current) – [Workspace Setup for roscourse user] s_fuyedc
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
 </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'.+If the Hokuyo is reset to factory defaults (like for Tortugabot 4), change the IP in 'tortugabot_ws/urg_node2/config/params_ether.yaml' to '192.168.0.10'.
  
  
  
-===== Notes =====+===== Workspace Setup for roscourse user =====
  
-<code> +The students will work on user roscourse with pw 10293847They 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 /opt/ros/jazzy/setup.bash +
-export ROS_DOMAIN_ID=6 # for tortuga6 +
- +
-### +
- +
-# Connect joy teleop bluetooth +
-sudo vim /etc/bluetooth/input.conf +
-# 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 +
- +
-### +
-</code> +
- +
-Install ROS tools, init rosdep and give sudo user arthur access to roscourse files.+
  
 <code> <code>
Line 271: Line 237:
 <code> <code>
 # user: sudo # user: sudo
-rosdep install -i --from-path /home/roscourse/tortugabot_ws/src --rosdistro jazzy+sudo rosdep install -i --from-path /home/roscourse/tortugabot_ws/src --rosdistro jazzy
 </code> </code>
  
software/tortugabot_ros2.1758012116.txt.gz · Last modified: by s_fuyedc

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki