RobotLib
1
A set of software wrappers for Rovio, Roomba and NXT robots written in C#.
|
Output port. More...
Public Member Functions | |
OutPort (Robot _robot) | |
The constructor. | |
void | Update () |
Update the output port state. | |
void | ResetMotorPosition (bool relative) |
Reset motor position (absolute/relative) | |
Public Member Functions inherited from NXT.Component | |
Component (Robot _robot) | |
The constructor. | |
Public Attributes | |
int | Number = 0 |
Port number. | |
Public Attributes inherited from NXT.Component | |
bool | AutoUpdate = true |
Automatic update option for methods requesting more than one piece of information. | |
Properties | |
int | TachoCount [get] |
Number of counts since the last reset of the motor counter. | |
int | BlockTachoCount [get] |
Current position relative to last programmed movement | |
int | RotationCount [get] |
Current position relative to last reset of the rotation sensor. | |
int | PowerSetpoint [get, set] |
Power setpoint. | |
OutputMode | Mode [get, set] |
Output mode. | |
NXT.RegulationMode | RegulationMode [get, set] |
Regulation mode. | |
int | TurnRatio [get, set] |
Turn ratio. | |
NXT.RunState | RunState [get, set] |
Run state. | |
int | TachoLimit [get, set] |
Tacho limit. | |
Additional Inherited Members | |
Protected Attributes inherited from NXT.Component | |
Robot | robot |
The robot class, accessible by all dervied classes. | |
Output port.
NXT.OutPort.OutPort | ( | Robot | _robot | ) |
The constructor.
void NXT.OutPort.ResetMotorPosition | ( | bool | relative | ) |
Reset motor position (absolute/relative)
void NXT.OutPort.Update | ( | ) |
Update the output port state.
int NXT.OutPort.Number = 0 |
Port number.
|
get |
Current position relative to last programmed movement
|
getset |
Output mode.
|
getset |
Power setpoint.
|
getset |
Regulation mode.
|
get |
Current position relative to last reset of the rotation sensor.
|
getset |
Run state.
|
get |
Number of counts since the last reset of the motor counter.
|
getset |
Tacho limit.
|
getset |
Turn ratio.