Skip to content

CMU-cabot/ros_odrive

 
 

Repository files navigation

ROS2 Package for ODrive

This repository contains ROS2 packages for the ODrive motor controller:

  • odrive_node: Standalone ROS2 node for communication with ODrives via CAN bus. → More info
  • odrive_ros2_control: [work in progress] ros2_control integration for communication with ODrives via CAN bus.  → More info
  • odrive_botwheel_explorer: Example for using the odrive_ros2_control package in the context of the ODrive BotWheel Explorer. → More info

odrive_node and odrive_ros2_control are two alternative approaches and cannot be used at the same time.

For information about installation, prerequisites and getting started, check out the ODrive ROS CAN Package Guide.

Compatible Devices

(not compatible with ODrive 3.x)

System Requirements

  • Ubuntu >= 20.04
  • ROS2 >= Humble

Developer Notes

(For user instructions, see this guide instead.)

You can build this node on a non-ROS developer PC by using the DevContainer configurations in this repository. For example with VSCode:

  1. Clone repository

  2. Open the repository folder in VSCode. It should automatically present an option "Reopen in Dev Container". Click on that and select the desired ROS version.

  3. Once it's re-opened, in the VSCode terminal, run:

    colcon build --packages-select odrive_can
    source ./install/setup.bash
  4. Running the node requires hardware access and only works if the container host is Linux.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 78.3%
  • C 9.9%
  • Python 5.4%
  • Dockerfile 3.4%
  • CMake 3.0%