-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prepare alternative (external) PID controller implementation #262
Comments
Regarding trajectory generation, I think I will go with a simple trapezoidal one. See gazebo-yarp implementation (robotology/gazebo-yarp-plugins#527):
Some info on minimum jerk trajectory generators: |
I am introducing a buffer class for storing high-frequency commands. This will be an intermediate layer between the commands sent to the robot through the YARP network ("slow" pace) and the commands sent to the iPOS via CAN bus ("fast" pace), using linear interpolation to ensure certain degree of smoothness (cf. #254). In the embedded PID implementation, this need not to pose any difference as users may still adjust the sender's period to the internal preconfigured |
Implemented and backported to master at 3a8f15b, also documented at roboticslab-uc3m/teo-developer-manual@8e31a11. |
Done at f5009c6. A few thing I'd like to check next:
|
I was wondering if moving the position/velocity control loops out of the embedded iPOS firmware would be both possible and beneficial, mostly in terms of things we cannot achieve today (i.e. impedance control and compliance). It is my guess that the "slow" iPOS control loops, i.e. 0.5-1 ms, are probably fast enough for our needs. For this new implementation, I am considering a 5 ms comms/control loop basing on available CAN bandwidth. Torque/current control shall remain handled by the embedded "fast" loop (0.05-0.1 ms).
Related issues:
New interface implementations are expected for:
yarp::dev::IImpedanceControl
yarp::dev::IInteractionMode
yarp::dev::IPidControl
Additional tools should be developed for obtaining friction and PID parameters. If done right, perhaps the simulator could yield similar results in case testing on the real joints renders difficult.
The text was updated successfully, but these errors were encountered: