-
1Running ROS node
Following instructions for building the motor driver on ROS melodic:
cd ~/catkin_ws/src/ git clone https://github.com/johnkok/ros_odrive cd ~/catkin_ws catkin_make
After compiling the driver we are ready to start the new node:
cd ~/catkin_ws source ./devel/setup.bash roscore & # Start ROS core if it is not running rosrun ros_odrive ros_odrive _od_sn:="0x2054306D594D"
Optionally we can also pass the configuration Json file if it is required:
rosrun ros_odrive ros_odrive _od_sn:="0x2054306D594D" _od_cfg:="~/catkin_ws/src/ros_odrive/cfg/odrive_5pole.json"
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.