Autotune for Velocity Control
Autotune for Velocity Control
Hello,
do I need to start the Autotune function in IonMotionStudio before I apply the working load to my motor or do I have to do it, while the load is mounted to the motor?
Also: When I am using the librarys (for example C++ arduino or Python), does the RoboClaw save the P I D values from the autotune or do I have to include/define them somehow in my code?
Thank you
simons
do I need to start the Autotune function in IonMotionStudio before I apply the working load to my motor or do I have to do it, while the load is mounted to the motor?
Also: When I am using the librarys (for example C++ arduino or Python), does the RoboClaw save the P I D values from the autotune or do I have to include/define them somehow in my code?
Thank you
simons
- Basicmicro Support
- Posts: 1594
- Joined: Thu Feb 26, 2015 9:45 pm
Re: Autotune for Velocity Control
In many cases you can autotune with no load, however you will get a more accurate reading if you tune with the intended load.
You need to write the settings to the Robclaw(Device menu/Write Settings). Then the PID values will be saved between power cycles and you wont need to set them in your code.
You need to write the settings to the Robclaw(Device menu/Write Settings). Then the PID values will be saved between power cycles and you wont need to set them in your code.