Issue: Not receiving encoder updates after calling SpeedAccelDeccelPosition function in Arduino Library

General discussion of the MCP motion controller product line
Post Reply
User avatar
Basicmicro Support
Posts: 1594
Joined: Thu Feb 26, 2015 9:45 pm
Re: Issue: Not receiving encoder updates after calling SpeedAccelDeccelPosition function in Arduino Library

Post by Basicmicro Support »

For other customers information:

After talking with the customer for a while he determined the problem was limited to using the roboclaw.SpeedAccelDeccelPositionM1M2 command.

Using roboclaw.SpeedAccelDeccelPositionM1 and roboclaw.SpeedAccelDeccelPositionM2 in sequence worked as expected.

Also, this does not appear to be a Roboclaw problem(resetting the ESP gets things working again without touching the Roboclaw). Since the underlying code is identical for the 3 commands this appears to be a buffering limit problem with hardware serial. Until I can dig into this further please use the separate SpeedAccelDeccelPositionMX commands.

Post Reply