Welcome to the Parallax Discussion Forums, sign-up to participate.

- 101.5K All Categories
- 812 Announcements
- 53 Propeller Code
- 23 PASM2/Spin2 (P2)
- 5 PASM/Spin (P1)
- 14 BASIC (for Propeller)
- 61 Forth
- 10 C/C++
- 2.8K Propeller 2
- 27.6K Propeller 1
- 18.9K BASIC Stamp
- 9 micro:bit
- 21.1K General Discussion
- 2K Learn with BlocklyProp
- 8.2K Robotics
- 124 Customer Projects
- 3.3K Accessories

## Comments

702Could you explain something about the

drive_setMaxSpeed(int speed)Function on ArloDrive library please?On help text you write:

Modifies the default maxiumum top speed for use with encoders. The default is 128 ticks/second = 2 revolutions per second (RPS). This is the full speed that drive_distance and drive_goto use. This value can currently be reduced, but not increased. Speeds faster than 128 ticks per second are "open loop" meaning the control system does not use the encoders to correct distance/speedI think that

128is wrong. I think that 128 is right only for theActivityBot, because ActivityBot has a32-Position encoder, so 1 revolution=64 ticks and 2 revolutions =128On the other hand the

Arlo robothas a36-position encoderso 1 revolution =72 ticks and 2 revolutions= 144ticks. So the maximum speed for Arlo must be144. Have I right?EDIT:

Sorry I forgot the RPS ( revolution per second ) but again for the Arlo robot I cant found max speed 128 ticks/sec. To be more precise, taking into account the RPM (rotations per minute) and the encoders positions for every motor I ended up that the max speed for EDIE robot with the new 36-position encoders is 180 ticks/sec (with the old 9-position encoder is 45 ticks/sec), for ARLO robot is 120 ticks/sec and for theActivityBot 192 ticks/sec

Nikos

1291129Can you post your code?