Difference between revisions of "Turtlebot3 Waffle NUC Humble Testing 20240520"

From wikidb
Jump to: navigation, search
(.bashrc)
(.bashrc)
Line 20: Line 20:
 
         source /opt/ros/humble/setup.bash
 
         source /opt/ros/humble/setup.bash
 
         source ~/turtlebot3_ws/install/setup.bash
 
         source ~/turtlebot3_ws/install/setup.bash
 
+
 
         // Setup the Turtlebot3 waffle
 
         // Setup the Turtlebot3 waffle
 
         export ROS_DOMAIN_ID=30 #TURTLEBOT3
 
         export ROS_DOMAIN_ID=30 #TURTLEBOT3

Revision as of 18:10, 21 May 2024

Goals

Make adams work reliable at boot given the following HW configuration.

  • Use a wireless keyboard with an associate wireless mouse to free one USB port
  • An HDMI monitor
  • Use the OpenCR which will take the second USB port
  • The third USB port will be used by the Lidar version 1
  • This leaves two lightning ports
  • Using power brick that came with to box

The Setting

.bashrc

 $ tail .bashrc

       // Setup ROS Humble with turtlebot3 additionsselect 
       source /opt/ros/humble/setup.bash
       source ~/turtlebot3_ws/install/setup.bash

       // Setup the Turtlebot3 waffle
       export ROS_DOMAIN_ID=30 #TURTLEBOT3
       export LDS_MODEL=LDS-01
       export TURTLEBOT3_MODEL=waffle

Power Up

I had a little trouble with controlling the wheels. In particular, the keyboard_teleop didn't work. The following sequence turned out to be reliable. This is something to be debugged latter. In years past I booted the OpenCR and NUC simultaneously and also in any order.

Power up outline

  1. Power on the OpenCR board first
    1. wait for the boot finished chime
  2. Test the OpenCR by driving the wheels with Robotis controller
    1. Using the Robotis RC100B Controller 20240521
    2. This is an appropriate option when mapping. The waffle can be driven around the area of interest. More latter.
  3. Power up adams and log in
  4. In T1 bring up
   $ source scripts/bringup.sh
  1. in T2 bring up the keyboard teleop program
   $ source scripts/keyboard_teleop.sh

Bring up log details are at Turtlebot3_Waffle_NUC_Humble_Configure_20240426#Signs_of_Life_Test