Details of the function on RoboClaw Arduino library
Details of the function on RoboClaw Arduino library
Hello.
I am trying to communicate RoboClaw on Arduino.
For that I use the library you are providing.
About one function, SpeedAccelDeccelPositionM1()
About this argument,
What are the meanings of accel, speed, deccel, position, and flag?
Or are these detailed documents?
Thanks.
I am trying to communicate RoboClaw on Arduino.
For that I use the library you are providing.
About one function, SpeedAccelDeccelPositionM1()
About this argument,
What are the meanings of accel, speed, deccel, position, and flag?
Or are these detailed documents?
Thanks.
- Basicmicro Support
- Posts: 1594
- Joined: Thu Feb 26, 2015 9:45 pm
Re: Details of the function on RoboClaw Arduino library
They are one for one to the packet serial arguments documents in the user manual. Flag is the buffer argument(0 buffer and 1 execute immediately). Note that you need to have tunes your PID settings for position control(eg you need to be using an encoder on the motor) before you can use this command.
Re: Details of the function on RoboClaw Arduino library
Thank you for your help.
I had overlooked it.
What are the units of accel, deccel and speed ?
[pulse/s^2] and [pulse/s] ?
I had overlooked it.
What are the units of accel, deccel and speed ?
[pulse/s^2] and [pulse/s] ?
- Basicmicro Support
- Posts: 1594
- Joined: Thu Feb 26, 2015 9:45 pm
Re: Details of the function on RoboClaw Arduino library
For accel and deccel it is encoder counts per second^2. For speed it is encoder counts per second.