Python mixed SpeedAccel command not working

General discussion of using Roboclaw motor controllers
Post Reply
gdoisy
Posts: 33
Joined: Tue Oct 18, 2016 7:53 am
Python mixed SpeedAccel command not working

Post by gdoisy »

The following mixed commands from the python library seems to be not working:

SpeedAccelDistanceM1M2(address, accel, speed1, distance1, speed2, distance2, buffer)
SpeedAccelM1M2(address, accel, speed1, speed2)

Whereas the unmixed SpeedAccelDistanceM1(address, accel, speed, distance, buffer) and SpeedAccelDistanceM2(address, accel, speed, distance, buffer) are working fine
User avatar
Basicmicro Support
Posts: 1594
Joined: Thu Feb 26, 2015 9:45 pm
Re: Python mixed SpeedAccel command not working

Post by Basicmicro Support »

I will test it when I am back in the office next Tuesday. Please email support@ionmc.com with this problem as well.

Also make sure you are using the latest python library direct from our website and have the latest firmware installed on your Roboclaw. That is what I will be testing with.

Thanks.
gdoisy
Posts: 33
Joined: Tue Oct 18, 2016 7:53 am
Re: Python mixed SpeedAccel command not working

Post by gdoisy »

Just updated to last versions, only one motor is responding when using SpeedAccelDistanceM1M2.
User avatar
Basicmicro Support
Posts: 1594
Joined: Thu Feb 26, 2015 9:45 pm
Re: Python mixed SpeedAccel command not working

Post by Basicmicro Support »

I am back today and after I've caught up on everything I'lls etup a test with the latests release and see if I can reproduce this.
gdoisy
Posts: 33
Joined: Tue Oct 18, 2016 7:53 am
Re: Python mixed SpeedAccel command not working

Post by gdoisy »

Just had a new look on this. I manage to get the desired behavior using the following function (i missed it last time):

SpeedAccelDistanceM1M2_2
User avatar
Basicmicro Support
Posts: 1594
Joined: Thu Feb 26, 2015 9:45 pm
Re: Python mixed SpeedAccel command not working

Post by Basicmicro Support »

Good. That version of the command gives you individual acceleration arguments instead of one common one IIRC.

Post Reply