bool calcSatisfied()
Definition: ZigZag.cpp:180
ZigZag(const Str &prefix, const Module *module)
Definition: ZigZag.cpp:20
SettingReader * angleSettingReader_
Definition: ZigZag.h:92
void writeCmds()
Definition: ZigZag.cpp:187
bool isSatisfied()
Returns true when vehicle is starting to turn.
Definition: ZigZag.cpp:81
void readSettings(bool force)
Definition: ZigZag.cpp:107
A DataAccessor that reads values from the Slate Contains a default dataValue that must not be NULL...
Definition: UniversalDataReader.h:26
bool runIfUnsatisfied()
runs only if unsatisfied
Definition: ZigZag.cpp:94
DataReader * bearingCmdReader_
Definition: ZigZag.h:103
bool initialized_
Indicates initialization success.
Definition: ZigZag.h:76
A DataAccessor that reads values from the Slate Contains a default dataValue that must not be NULL...
Definition: DataReader.h:30
bool ranOnce_
Definition: ZigZag.h:84
Behavior is the abstract base class for components that implement mission behaviors and commands...
Definition: Behavior.h:32
A DataAccessor that writes values to the Slate via its associated DataElement.
Definition: DataWriter.h:27
void run()
The actual "payload" of the component.
Definition: ZigZag.cpp:86
Contains the Behavior class definition.
Module is the abstract base class for a collection of Component objects that can be contained in a lo...
Definition: Module.h:45
DataWriter * horizontalModeWriter_
Definition: ZigZag.h:108
double headingCmd_
Next Heading Cmd.
Definition: ZigZag.h:73
bool calculate()
Definition: ZigZag.cpp:120
Replacement for standard template class string.
Definition: Str.h:12
DataReader * horizontalModeReader_
Definition: ZigZag.h:97
float bearingSetting_
Desired Bearing.
Definition: ZigZag.h:64
void uninitialize(void)
Uninit function.
Definition: ZigZag.cpp:194
virtual ~ZigZag()
Definition: ZigZag.cpp:48
Reads values from mission settings.
Definition: SettingReader.h:26
DataReader * headingCmdReader_
Definition: ZigZag.h:100
Contains the ZigZag Behavior/Command.
Definition: ZigZag.h:35
void initialize(void)
Initialize function.
Definition: ZigZag.cpp:52
static Behavior * CreateBehavior(const Str &prefix, const Module *module)
Mission Component factory interface.
Definition: ZigZag.cpp:201
double headingRead_
Current Heading.
Definition: ZigZag.h:70
bool goingRight_
Definition: ZigZag.h:78
void setGoingRight(bool goingRight)
Definition: ZigZag.cpp:174
DataWriter * headingCmdWriter_
Definition: ZigZag.h:111
bool satisfied_
Definition: ZigZag.h:81
Contains the Location class definition.
SettingReader * bearingSettingReader_
Definition: ZigZag.h:89
float angleSetting_
Desired Angle.
Definition: ZigZag.h:67