www.nexusrobot.com
};
for(int i=0;i<10;++i) {
(this->*carAction[i])(0);
pointer
setCarSpeedMMPS(speedMMPS,uptime);
from 0 to speedMMPS
delayMS(duration,debug);
setCarSlow2Stop(uptime);
}
setCarStop();
delayMS(duration);
switchMotors();
}
//the car have 10 demo actions
// default parameters not available in function
//in the uptime , the car's speed accelerate
//the car's state last "duration" times
//stop the car slowly in uptime
//stop the car
//delay(duration)
//switch the motors.
Robot Kits manual
111
Need help?
Do you have a question about the Nexus Robot and is the answer not in the manual?
Questions and answers