Skip to content

Software for ROS Embedded board (a.k.a. OpenCR). OpenCR means Open-source Control Module for ROS.

License

Notifications You must be signed in to change notification settings

GIXLabs/t516_OpenCR

 
 

Repository files navigation

UW GIX MSTI TECHIN 516 OpenCR Firmware

GIX_OpenCR

This repo demonstrates how to customize the ROBOTIS OpenCR firmware to work with a 3rd motor on the Turtlebot 3 and ros2 Humble.
The repo is a fork of ROBOTIS' OpenCR library.
All code for the 3rd "GIX" motor is based on the Open Manipulator firmware extension for the Turtlebot 3.

Setup

Setup was tested using Ubuntu 24.04.

Motor Setup

  1. Install the Arduino IDE.

  2. Follow ROBOTIS' guide to configure your computer's USB ports to work with the OpenCR board.

  3. Continue following their guide to add the OpenCR board to Arduino IDE.

  4. Add the Dynamixel2Arduino library to the Arduino IDE.

  5. Make sure that only the new motor is plugged into the OpenCR board.

  6. Plug in the OpenCR over USB.

  7. Follow step 7 of the Turtlebot 3 OpenCR setup guide to put the board in "recovery mode".

  8. In Arduino IDE, open File > Examples > OpenCR > 10. Etc. > usb_to_dxl.

  9. Select the OpenCR board and its port in Arduino IDE.

  10. Flash the example firmware onto the OpenCR board.

  11. Install the Dynamixel Wizard.

  12. Scan for the new motor, if the motor is new, the default ID should be 1, and the baudrate should be 57600.

  13. Change the ID to 3, and the baudrate to 1,000,000.

  14. Make sure you can move the motor using the Dynamixel Wizard.

  15. Turn off the OpenCR and unplug it.

OpenCR Setup

  1. Plug all 3 motors into the OpenCR board.

  2. Plug in the OpenCR board to your computer.

  3. Open the t516_OpenCR.ino file in Arduino IDE.

  4. Change the configuration string to either "GIX_Burger" or "GIX_Waffle" depending on the type of Turtlebot 3 you are using.

  5. Select the OpenCR board, and its port in Arduino IDE.

  6. Put the OpenCR board in recovery mode.

  7. Install the GIX firmware onto the OpenCR board.

  8. Turn off the OpenCR board, unplug it from your computer, and plug it back into the Turtlebot's Raspberry Pi.

Usage

The ros2_control code to use the 3rd motor is demonstrated in the GIXLabs' t516_project_example repo

Resources

If your motor is not working for some reason, follow ROBOTIS' firmware recovery guide.

License

This repo is licensed under the Apache-2.0 license.

About

Software for ROS Embedded board (a.k.a. OpenCR). OpenCR means Open-source Control Module for ROS.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%