ODrive icon indicating copy to clipboard operation
ODrive copied to clipboard

Set Velocity Ramp Rate via CAN Simple

Open lekoook opened this issue 3 years ago • 3 comments

Describe the solution you'd like Additional CAN Simple message that can alter the velocity ramp rate (ODrive.Controller.Config.vel_ramp_rate).

Additional context I am willing to contribute to make this happen.

lekoook avatar May 11 '22 14:05 lekoook

Can you give a brief description about your use case for this CAN message? In particular, is it necessary to change this variable at runtime (while the machine is in operation in the field)?

Note that CANSimple is not intended to replace one-time setup via USB because manually adding a message for every configuration variable would not be maintainable.

Regarding implementation, #699 could serve as an orientation (the diff contains some noise, the relevant changes are only one commit).

samuelsadok avatar Aug 11 '22 11:08 samuelsadok

#707 Is the updated one

Wetmelon avatar Aug 19 '22 03:08 Wetmelon

Can you give a brief description about your use case for this CAN message? In particular, is it necessary to change this variable at runtime (while the machine is in operation in the field)?

Note that CANSimple is not intended to replace one-time setup via USB because manually adding a message for every configuration variable would not be maintainable.

Regarding implementation, #699 could serve as an orientation (the diff contains some noise, the relevant changes are only one commit).

The use case we have would be to change the ramp rate depending on the user's acceleration profile preference. This will not be a one-time setup as the user can change the "acceleration feel" as and when they like.

lekoook avatar Sep 22 '22 12:09 lekoook

Sorry forgot to follow up here. This is now possible on ODrive Pro/S1 using Arbitrary Parameter Access.

samuelsadok avatar Nov 06 '23 12:11 samuelsadok