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 & "0x2054306D594D"rosrun ros_odrive ros_odrive _od_sn:=
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"