Autotune for Velocity Control

General discussion of using Roboclaw motor controllers
Post Reply
simons
Posts: 11
Joined: Thu Nov 08, 2018 2:46 am
Autotune for Velocity Control

Post by simons »

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
User avatar
Basicmicro Support
Posts: 1594
Joined: Thu Feb 26, 2015 9:45 pm
Re: Autotune for Velocity Control

Post by Basicmicro Support »

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.

Post Reply