Search found 45 matches

by jwatte
Tue Apr 07, 2015 5:03 pm
Forum: General Discussion
Topic: Feature request: Reduce the delay before answering queries
Replies: 1
Views: 5069

Feature request: Reduce the delay before answering queries

I understand that the RoboClaw waits for 1 ms before answering commands on the serial bus, apparently in order to let slower MCUs without FIFOs or DMA switch into receiving mode. Given that almost all controllers these days are fast and pipelined, it would be great if that response delay could be tu...
by jwatte
Tue Apr 07, 2015 5:01 pm
Forum: Velocity and Position Control
Topic: Question about command 46 (buffered drive)
Replies: 3
Views: 6809

Re: Question about command 46 (buffered drive)

Thank you for the answer! I actually send buffered commands at a fairly high rate, using the "overwrite" mode, so the commands never complete. The reason I use acceleration/distance is as a failsafe -- if my controller crashes, and stops sending commands, the robot will pretty quickly run ...
by jwatte
Tue Apr 07, 2015 4:59 pm
Forum: Velocity and Position Control
Topic: Command to read both encoders at once?
Replies: 16
Views: 23027

Re: Command to read both encoders at once?

So faster but not massively so. Thanks! I'm not so worried about the total time it takes to read the command, as I am about the skew between read samples, because if the wheels run at the same speed, but are sampled at different times, I will get skew between the wheel encoders, which my sensor fus...
by jwatte
Thu Apr 02, 2015 2:31 pm
Forum: Velocity and Position Control
Topic: Question about command 46 (buffered drive)
Replies: 3
Views: 6809

Question about command 46 (buffered drive)

Is the "distance" value in command 46 interpreted as a "relative distance from where you are now," or an "absolute distance in total encoder counts since reset" ?
by jwatte
Thu Apr 02, 2015 1:40 pm
Forum: Velocity and Position Control
Topic: Command to read both encoders at once?
Replies: 16
Views: 23027

Command to read both encoders at once?

I'm trying to do dead reckoning on a differential drive robot using encoders, and I get a little bit of slip because the RoboClaw takes a while to read one encoder, and then the other. In my capture below, you will see that it takes 3.05 milliseconds just to respond to the command to read; the inter...