mrp (move relative position) is a function that will move a motor for a set distance at a set speed. This is probably the simplest way to move a lego robot. mrp starts a motor moving. The motor will stop after the wanted distance is achieved, but the CBC will continue going through the program unless you put a bmd.
Hello Botball community! My name is Alexander Nabavi-Noori, and I was an acting YAC member last year. Today I am here to release into the wild a really cool project that I, and my friend James Linnell worked on in our spare time last year. Its called the iPhone Create Controller. This was going to be a paper we were going to submit, but as all engineers know: shift happens.
Hacking the CBC Botball Controller: Because It Wouldn’t Be a Botball Controller if It Couldn’t Be Hacked
Jeremy Rand, Matt Thompson, and Braden McDorman
Norman High School, Nease High School, Norman High School
jeremy@asofok.org, matthewbot@gmail.com, bmcdorman@gmail.com
Even the most sophisticated servo-powered scoring devices are only effective when the robot can accurately manuever itself into scoring range. Though you can move your robot using fd()s and bk()s, to accurately travel at precise distances and speeds, its better to use something called closed loop motor control.
This will be your first chapter into the world of Botball programming with the KISS-C programming environment.