Open SamAlexandrov opened 3 years ago
Hi Sam,
I've just added an archive notice since I no longer have access to testing. If you want to prep a pull request for the change, I can add it. But try to keep backwards compatibility, perhaps the easiest way is to replace the old constants, but at the top of the file do a version check for older versions, and add the equivalents of CONTROL_MODE_VELOCITY_CONTROL = CTRL_MODE_VELOCITY_CONTROL
The control mode names have changed, for example:
axis.controller.config.control_mode = CONTROL_MODE_VELOCITY_CONTROL
instead ofaxis.controller.config.control_mode = CTRL_MODE_VELOCITY_CONTROL
I personally edited it in the
odrive_interface.py
and now the ROS node works again. Not sure how to approach it - maybe create a release with tag 0.5.x?