www.nexusrobot.com Robot Kits manual
42
According to the User’s demands ,use the class PID to set the speed of Motor.
This will lie within the range specified at
PID::PIDGetSpeedRPMDesired
()
parameters
Unsigned int speedRPM
The speed User want to set
See:
PID::PIDGetSpeedRPMDesired
()
unsigned int
PIDGetSpeedRPMDesired
() const
Get the desired speed
Return: speedRPMDesired
void
debugger
() const
Debug to sure if the result is right
int
getSpeedPPS
() const
Get the pulse rate (pulse per second)
Return: speedPPS
long
getCurrPulse
() const
Get the current Pulse
Return: Pulses
long
setCurrPulse
(long _pulse)
Set pulse
This will lie within the range specified at
Motor::getCurrPulse
()
parameters
Long _pulse
The value want to set
See:
Motor::getCurrPulse
()
long
resetCurrPulse
()
Reset the current Pulse
This will lie within the range specified at
Motor::SetCurrPulse
()
See:
Motor::SetCurrPulse
()
Struct
ISRVars * isr
Summary of Contents for Nexus Robot
Page 74: ...www nexusrobot com Robot Kits manual 70 Sample Wiring Diagram for RB004 2WD V2 0...
Page 92: ...www nexusrobot com Robot Kits manual 88 Diagram for Omni3WD_V1 0...
Page 96: ...www nexusrobot com Robot Kits manual 92 Diagram_Omni3WD_V3 3...
Page 118: ...www nexusrobot com Robot Kits manual 114 Sample Wiring Diagram for RB011 Mecanum 4WD V4 1...