– Fine Motor Control

So, now you have learned how to make your robot move around – forward, backward, and turning. But we can do even better. Right now the robot is moving like an enthusiastic toddler – lots of energy and drive, but not much control.

KISS-C also has other functions that control the motors, but with more… erm… uh… control.

  • mav(a,b) – move the motor at port a (0-3) at velocity b (-1000 – 1000 ticks per second).
  • mrp(a,b,c)  – move to relative position tells the CBC to move the motor plugged into port a (0-3), and speed b ( 0-1000 ticks per second ), to position c ( number of ticks, +/-, where 1100 ticks = 1 full rotation of a standard, servo-type black motor )

NEXT: Move At Velocity

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s