ros_canopen interpolated position mode, time period?
Hello,
I'm driving three servos in interpolated position mode
via the ros_canopen
package.
Everything works quite smoothly, only sometimes i get couple of [ WARN] RPDO timeout
messages which not always (but sometimes) results in EMCY
in the motor drivers.
I suspect, that something is wrongly set up in the interpolation mode
(since before, when i drove the motors in profile position mode
, i did not have the above issue).
There are two parameters, namely 60C2sub1
and 60C2sub2
which defines the period of interpolation.
In my case 60C2sub2=-3
, which means that the interpolation time will be 1 ms
.
Then there is the 60C2sub1
object, which defines
the rate in which target commands are sent by the host to the drive.
In my case, 60C2sub1=10
, since the my yaml
file i have sync: interval_ms: 10
.
I want to ask, if the aforementioned parameters are set correctly?
I am communicating on 500kbps
with the drives.
Should i increase the sync? What do you recommend?
Thanks in advance.
Which sync master plugin are you using? How often do you get the warning?