gusimplewhiteboard
|
#include <WEBOTS_NXT_bridge.hpp>
Public Member Functions | |
PROPERTY (int16_t, theRobotID) PROPERTY(int16_t | |
The robot this status is for. More... | |
speedLeftMotor | PROPERTY (int16_t, speedRightMotor) PROPERTY(int16_t |
The current speed of the right motor. More... | |
speedLeftMotor soundFrequency | PROPERTY (int16_t, soundDuration) WEBOTS_NXT_vector_bridge() |
The current duration we are playing a sound for. More... | |
WEBOTS_NXT_vector_bridge (const std::string &names) | |
string constructor More... | |
WEBOTS_NXT_vector_bridge (const WEBOTS_NXT_vector_bridge &other) | |
copy constructor More... | |
WEBOTS_NXT_vector_bridge & | operator= (const WEBOTS_NXT_vector_bridge &other) |
copy assignment operator More... | |
std::string | description () const |
convert to a string More... | |
void | from_string (const std::string &strWithID) |
convert from a string More... | |
void | set_actuator (DifferentialInstructions theActuator, int16_t firstParameter, int16_t secondParameter) |
Sets the WEBOTS_NXT_vector_bridge instance properties that represent actuator states based on the specified DifferentialInstruction. More... | |
Class for demonstrating OO-messages in sequential arrangement of finite state machines
using a full vector of status and commands
Definition at line 186 of file WEBOTS_NXT_bridge.hpp.
|
inline |
|
inline |
copy constructor
Definition at line 216 of file WEBOTS_NXT_bridge.hpp.
|
inline |
convert to a string
Definition at line 234 of file WEBOTS_NXT_bridge.hpp.
References EQUALS, FIELD_SERPARATOR, guWhiteboard::LEFT_MOTOR_DIFFERENTIAL, guWhiteboard::RIGHT_MOTOR_DIFFERENTIAL, guWhiteboard::SOUND_DURATION, and guWhiteboard::SOUND_FREQUENCY.
|
inline |
convert from a string
Definition at line 246 of file WEBOTS_NXT_bridge.hpp.
References EQUALS, FIELD_SERPARATOR, guWhiteboard::LEFT_MOTOR_DIFFERENTIAL, guWhiteboard::RIGHT_MOTOR_DIFFERENTIAL, guWhiteboard::SOUND_DURATION, and guWhiteboard::SOUND_FREQUENCY.
Referenced by WEBOTS_NXT_vector_bridge().
|
inline |
copy assignment operator
Definition at line 224 of file WEBOTS_NXT_bridge.hpp.
|
inline |
The current duration we are playing a sound for.
Definition at line 208 of file WEBOTS_NXT_bridge.hpp.
speedLeftMotor guWhiteboard::WEBOTS_NXT_vector_bridge::PROPERTY | ( | int16_t | , |
speedRightMotor | |||
) |
The current speed of the right motor.
The current frequency for a sound we are playing
guWhiteboard::WEBOTS_NXT_vector_bridge::PROPERTY | ( | int16_t | , |
theRobotID | |||
) |
The robot this status is for.
The current speed of the left motor.
|
inline |
Sets the WEBOTS_NXT_vector_bridge instance properties that represent actuator states based on the specified DifferentialInstruction.
theActuator | The Actuator to be set |
firstParameter | The first parameter for the actuator (presently unused) |
secondParameter | The second parameter, which is used to set the Sound Duration and Frequency properties. |
Definition at line 312 of file WEBOTS_NXT_bridge.hpp.
References guWhiteboard::CAMERA, guWhiteboard::DISTANCE, guWhiteboard::INTENSITY_LIGHT, guWhiteboard::LIGHTUP_LED, guWhiteboard::MOVE_MOTORS, guWhiteboard::NUMBER_WEBOTS_NXT_bridge_MESSAGES, guWhiteboard::ONE_MOTOR_SETTING, guWhiteboard::PLAY_SOUND, guWhiteboard::ROTATION_ENCODER, guWhiteboard::SOUND_DURATION, guWhiteboard::SOUND_FREQUENCY, and guWhiteboard::TOUCH.