No version for distro humble. Known supported distros are highlighted in the buttons above.
No version for distro jazzy. Known supported distros are highlighted in the buttons above.
No version for distro rolling. Known supported distros are highlighted in the buttons above.
Repository Summary
Description | ROS2-Node for ODrive |
Checkout URI | https://github.com/framework-robotics-gmbh/odrive-ros2-node.git |
VCS Type | git |
VCS Version | main |
Last Updated | 2022-03-31 |
Dev Status | UNKNOWN |
CI status | No Continuous Integration |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Packages
Name | Version |
---|---|
odrive_node | 1.0.0 |
README
odrive-ros2-node
ROS2-Node for ODrive
Features
- polls odrive velocity, motor_position, applied voltage, odrive temperature and applied torque
- sets desired velocity
- Uses Checksum when communicating with ODrive
Polling rate
- node polls one value every 10ms
- request priority sets priority in poll-list using modulo(0 - 99)
Example
- priority_bus_voltage = 1, priority_temperature = 2
- output:
- counter 0:
- (@10ms)bus_voltage
- counter 1:
- (@20ms)bus_voltage
- (@30ms)temperature
- counter 3:
- (@40ms)bus_voltage
- counter 4:
- (@50ms)bus_voltage
- (@60ms)temperature
- …
Topics
-
publishes:
-
- <std_msgs/Float32>”/odrive_bus_voltage”
-
- <std_msgs/Float32>”/odrive0_velocity”
-
- <std_msgs/Float32>”/odrive0_position”
-
- <std_msgs/Float32>”/odrive0_temperature”
-
- <std_msgs/Float32>”/odrive0_torque”
-
- <std_msgs/Float32>”/odrive1_velocity”
-
- <std_msgs/Float32>”/odrive1_position”
-
- <std_msgs/Float32>”/odrive1_temperature”
-
- <std_msgs/Float32>”/odrive1_torque”
- set priority to 0 to disable topic
listens to:
- <std_msgs/Float32>”/odrive0_set_velocity”
- <std_msgs/Float32>”/odrive1_set_velocity”
Usage
- ros2 run odrive_node odrive_node
- set motor variable to 0(default), 1, or 2 to set both to active
- set priority from 0 to 99
- (set to defaults)
-
- ros2 run odrive_node odrive_node –ros-args –remap __ns:=/
-p port:='/dev/ttyS1' -p motor:=0 -p priority_position_velocity:=1 -p priority_bus_voltage:=2 -p priority_temperature:=3 -p priority_torque:=4
- ros2 run odrive_node odrive_node –ros-args –remap __ns:=/
Dependencies
- rclcpp
- std_msgs
CONTRIBUTING
No CONTRIBUTING.md found.
No version for distro noetic. Known supported distros are highlighted in the buttons above.
No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.
No version for distro eloquent. Known supported distros are highlighted in the buttons above.
No version for distro dashing. Known supported distros are highlighted in the buttons above.
No version for distro galactic. Known supported distros are highlighted in the buttons above.
No version for distro foxy. Known supported distros are highlighted in the buttons above.
No version for distro iron. Known supported distros are highlighted in the buttons above.
No version for distro lunar. Known supported distros are highlighted in the buttons above.
No version for distro jade. Known supported distros are highlighted in the buttons above.
No version for distro indigo. Known supported distros are highlighted in the buttons above.
No version for distro hydro. Known supported distros are highlighted in the buttons above.
No version for distro kinetic. Known supported distros are highlighted in the buttons above.
No version for distro melodic. Known supported distros are highlighted in the buttons above.