Python mixed SpeedAccel command not working
Python mixed SpeedAccel command not working
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
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
- Basicmicro Support
- Posts: 1594
- Joined: Thu Feb 26, 2015 9:45 pm
Re: Python mixed SpeedAccel command not working
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.
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.
Re: Python mixed SpeedAccel command not working
Just updated to last versions, only one motor is responding when using SpeedAccelDistanceM1M2.
- Basicmicro Support
- Posts: 1594
- Joined: Thu Feb 26, 2015 9:45 pm
Re: Python mixed SpeedAccel command not working
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.
Re: Python mixed SpeedAccel command not working
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
SpeedAccelDistanceM1M2_2
- Basicmicro Support
- Posts: 1594
- Joined: Thu Feb 26, 2015 9:45 pm
Re: Python mixed SpeedAccel command not working
Good. That version of the command gives you individual acceleration arguments instead of one common one IIRC.