www.nexusrobot.com Robot Kits manual
111
};
for(int i=0;i<10;++i) {
//the car have 10 demo actions
(this->*carAction[i])(0);
//
default parameters not available in function
pointer
setCarSpeedMMPS(speedMMPS,uptime); //in
the uptime , the car’s speed accelerate
from 0 to speedMMPS
delayMS(duration,debug);
//the
car’s state last “duration” times
setCarSlow2Stop(uptime); //stop
the
car
slowly
in
uptime
}
setCarStop();
//stop
the
car
delayMS(duration);
//delay(duration)
switchMotors();
//switch
the
motors.
}
Содержание Nexus Robot
Страница 74: ...www nexusrobot com Robot Kits manual 70 Sample Wiring Diagram for RB004 2WD V2 0...
Страница 92: ...www nexusrobot com Robot Kits manual 88 Diagram for Omni3WD_V1 0...
Страница 96: ...www nexusrobot com Robot Kits manual 92 Diagram_Omni3WD_V3 3...
Страница 118: ...www nexusrobot com Robot Kits manual 114 Sample Wiring Diagram for RB011 Mecanum 4WD V4 1...