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:50] – [Notes] s_fuyedc | software:tortugabot_ros2 [2025/11/27 11:01] (current) – [Workspace Setup for roscourse user] 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 ' | ||
| - | ===== 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 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. | + | |
| < | < | ||
| # 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 270: | Line 237: | ||
| < | < | ||
| # user: sudo | # user: sudo | ||
| - | rosdep install -i --from-path / | + | sudo rosdep install -i --from-path / |
| </ | </ | ||
software/tortugabot_ros2.1743673810.txt.gz · Last modified: by s_fuyedc
