Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
Simulator Class Reference
Inheritance diagram for Simulator:
Detailed DescriptionDefinition at line 22 of file Simulator.h.
Member Typedef Documentation
Definition at line 227 of file Simulator.h.
Definition at line 192 of file Simulator.h. Member Enumeration Documentation
Definition at line 173 of file Simulator.h. Constructor & Destructor Documentation
constructor Definition at line 41 of file Simulator.cc.
Definition at line 149 of file Simulator.cc. Member Function Documentation
blocks until the thread is either aborted by the user via cmdThread (i.e. shutdown) or completes successfully Definition at line 134 of file Simulator.h.
blocks until the thread is either aborted by the user via cmdThread (i.e. shutdown) or completes successfully Definition at line 128 of file Simulator.h.
blocks until the thread is either aborted by the user via cmdThread (i.e. shutdown) or completes successfully Definition at line 122 of file Simulator.h.
Definition at line 66 of file Simulator.h.
Definition at line 1521 of file Simulator.cc. Referenced by processCommand().
Definition at line 1692 of file Simulator.cc. Referenced by processCommand().
Definition at line 1593 of file Simulator.cc. Referenced by processCommand().
Definition at line 1255 of file Simulator.cc. Referenced by processCommand().
Definition at line 1115 of file Simulator.cc. Referenced by processCommand().
Definition at line 1797 of file Simulator.cc. Referenced by processCommand().
Definition at line 1642 of file Simulator.cc. Referenced by processCommand().
Definition at line 1246 of file Simulator.cc. Referenced by processCommand().
Definition at line 1742 of file Simulator.cc. Referenced by processCommand().
Definition at line 1170 of file Simulator.cc. Referenced by processCommand().
Definition at line 1110 of file Simulator.cc. Referenced by processCommand(), and CommandThread::run().
Definition at line 1619 of file Simulator.cc. Referenced by processCommand().
Definition at line 1232 of file Simulator.cc.
Definition at line 1220 of file Simulator.cc. Referenced by processCommand().
Definition at line 1138 of file Simulator.cc. Referenced by processCommand().
Definition at line 1128 of file Simulator.cc. Referenced by processCommand().
Definition at line 1193 of file Simulator.cc. Referenced by processCommand(), and Simulator().
Definition at line 1426 of file Simulator.cc. Referenced by processCommand().
Definition at line 1383 of file Simulator.cc. Referenced by processCommand().
Removes the MotionHook from the list, no longer receives any notifications. Responsibility for memory (de)allocation is NOT assumed by registration, so this doesn't affect h directly. Definition at line 61 of file Simulator.h. Referenced by Motion::doStop().
Reimplemented from Process. Definition at line 168 of file Simulator.cc.
Reimplemented from Process. Definition at line 568 of file Simulator.cc.
Definition at line 36 of file Simulator.h.
Definition at line 33 of file Simulator.h.
Definition at line 41 of file Simulator.h. Referenced by sendCommand().
Definition at line 34 of file Simulator.h.
Definition at line 39 of file Simulator.h.
Definition at line 829 of file Simulator.cc. Referenced by cmdStep(), and incrementTime().
Definition at line 37 of file Simulator.h.
Definition at line 40 of file Simulator.h.
Definition at line 38 of file Simulator.h. for commands coming from other processes via commandQueue and commandrecv Definition at line 964 of file Simulator.cc. Referenced by doStart(). when running in multi-process mode, receives output value updates from motion process Definition at line 971 of file Simulator.cc. Referenced by run(). when running in multi-process mode, receives output PID updates from motion process Definition at line 980 of file Simulator.cc. Referenced by run().
Definition at line 788 of file Simulator.cc. Referenced by cmdStep(), messagesRead(), plistValueChanged(), and run().
Definition at line 1056 of file Simulator.cc. Referenced by cmdAdvance(), cmdFreeze(), cmdReset(), and updateDataSources().
Definition at line 1082 of file Simulator.cc. Referenced by cmdAdvance(), and cmdStatus().
Implements StatusListener. Definition at line 421 of file Simulator.cc.
Definition at line 783 of file Simulator.cc. Referenced by cmdStatus(), and getNextFrame().
Definition at line 774 of file Simulator.cc. Referenced by cmdStatus(), and getNextFrame().
Reimplemented from CollectionListener. Definition at line 379 of file Simulator.cc. Referenced by driversChangedFunctor().
Reimplemented from CollectionListener. Definition at line 308 of file Simulator.cc.
Reimplemented from CollectionListener. Definition at line 346 of file Simulator.cc.
Implements PrimitiveListener. Definition at line 284 of file Simulator.cc. process an individual command Definition at line 868 of file Simulator.cc. Referenced by gotCommand(), CommandThread::run(), and Simulator().
Definition at line 859 of file Simulator.cc. Referenced by doStart(), doStop(), Simulator(), and ~Simulator().
Registers the MotionHook to have its motionCheck() called following each motion update. Responsibility for memory (de)allocation is NOT assumed by registration. Definition at line 54 of file Simulator.h. Referenced by Motion::doStart().
Definition at line 731 of file Simulator.cc. Referenced by Simulator().
Definition at line 676 of file Simulator.cc. Referenced by plistValueChanged(), and run().
Reimplemented from Process. Definition at line 203 of file Simulator.cc.
Definition at line 450 of file Simulator.cc. Referenced by SharedGlobals::get_time(), and sim::sim(). Definition at line 742 of file Simulator.cc. Referenced by cmdAdvance(), incrementTime(), and run().
Definition at line 519 of file Simulator.cc. Referenced by Motion::doStart(), Motion::gotWakeup(), and resetSpeedMode().
Definition at line 502 of file Simulator.cc. Referenced by Motion::doStop(), Motion::gotWakeup(), resetSpeedMode(), and run().
Definition at line 460 of file Simulator.cc. Referenced by Motion::doStart().
Definition at line 471 of file Simulator.cc. Referenced by doStop(), and Motion::doStop().
this is registered as a callback with DataSource::resourceSync so we send notifications immediately following updates, cutting latency Definition at line 171 of file Simulator.h. Referenced by setMotionEnteringRealtime().
Definition at line 994 of file Simulator.cc. Referenced by plistCollectionEntriesChanged(), plistCollectionEntryAdded(), plistCollectionEntryRemoved(), and plistValueChanged().
Definition at line 482 of file Simulator.cc. Referenced by gotMotion(), and MotionExecThread::poll().
Definition at line 492 of file Simulator.cc. Referenced by gotMotionPIDs(). Member Data Documentation
Definition at line 252 of file Simulator.h. Referenced by plistCollectionEntriesChanged(), plistCollectionEntryAdded(), plistCollectionEntryRemoved(), and plistValueChanged().
Definition at line 253 of file Simulator.h. Referenced by cmdAdvance(), cmdFreeze(), cmdReset(), cmdStatus(), incrementTime(), nextVisionTime(), plistCollectionEntriesChanged(), plistCollectionEntryAdded(), plistCollectionEntryRemoved(), plistValueChanged(), setMotionEnteringRealtime(), and setMotionLeavingRealtime().
Definition at line 250 of file Simulator.h. Referenced by plistCollectionEntriesChanged(), plistCollectionEntryAdded(), plistCollectionEntryRemoved(), and plistValueChanged().
Definition at line 251 of file Simulator.h. Referenced by cmdAdvance(), cmdFreeze(), cmdReset(), incrementTime(), plistCollectionEntriesChanged(), plistCollectionEntryAdded(), plistCollectionEntryRemoved(), plistValueChanged(), run(), setMotionEnteringRealtime(), and setMotionLeavingRealtime().
running average of frame increments Definition at line 259 of file Simulator.h. Referenced by cmdStatus(), incrementTime(), and resetSpeedMode().
gamma parameter for calculating running average in avgWallTime and avgSimTime Definition at line 260 of file Simulator.h. Referenced by incrementTime().
running average of frame processing time Definition at line 258 of file Simulator.h. Referenced by cmdStatus(), incrementTime(), and resetSpeedMode().
Definition at line 217 of file Simulator.h. Referenced by cmdAdvance(), messagesRead(), resetSpeedMode(), Simulator(), and updateDataSources().
Definition at line 230 of file Simulator.h. Referenced by resetSpeedMode(), and run().
Referenced by abortable(), cmdQuit(), and Simulator().
Definition at line 228 of file Simulator.h. Referenced by doStart(), and Simulator().
Definition at line 237 of file Simulator.h.
Definition at line 247 of file Simulator.h. Referenced by cmdAdvance(), cmdRunlevel(), doStart(), doStop(), plistCollectionEntriesChanged(), plistCollectionEntryAdded(), plistCollectionEntryRemoved(), processRunlevel(), resetSpeedMode(), run(), updateDataSources(), and ~Simulator().
Definition at line 236 of file Simulator.h.
Definition at line 224 of file Simulator.h. Referenced by cmdMsg(), cmdPost(), doStart(), and messagesRead().
Definition at line 234 of file Simulator.h. Referenced by doStart(), and resetSpeedMode().
subscribed by Simulator to message queue's send; ensures that SharedGlobals::MotionSimConfig::frameNumber stays in sync with the message serial number Referenced by Simulator().
Definition at line 242 of file Simulator.h. Referenced by getNextFrame(), and incrementTime().
simulator time at which full-speed mode was entered Definition at line 256 of file Simulator.h. Referenced by cmdStatus(), and resetSpeedMode().
"real" wall-clock time that full-speed mode was entered Definition at line 255 of file Simulator.h. Referenced by cmdStatus(), and resetSpeedMode().
"real" wall-clock time that processing started on last frame (only valid in full-speed mode) Definition at line 257 of file Simulator.h. Referenced by incrementTime(), and resetSpeedMode().
Definition at line 244 of file Simulator.h. Referenced by resetSpeedMode().
Definition at line 91 of file Simulator.h. Referenced by doStart(), Motion::doStart(), doStop(), Motion::doStop(), Motion::gotWakeup(), plistCollectionEntriesChanged(), plistCollectionEntryAdded(), plistCollectionEntryRemoved(), and resetSpeedMode().
Definition at line 249 of file Simulator.h. Referenced by clearMotionHooks(), deregisterMotionHook(), plistCollectionEntriesChanged(), plistCollectionEntryAdded(), plistCollectionEntryRemoved(), plistValueChanged(), registerMotionHook(), run(), setMotionEnteringRealtime(), setMotionLeavingRealtime(), setMotionStarting(), setMotionStopping(), updateMotion(), and updatePIDs().
Definition at line 225 of file Simulator.h. Referenced by run().
Definition at line 226 of file Simulator.h. Referenced by run().
Definition at line 239 of file Simulator.h.
Definition at line 238 of file Simulator.h.
Definition at line 233 of file Simulator.h. Referenced by resetSpeedMode(), and run().
Definition at line 220 of file Simulator.h. Referenced by incrementTime(), messagesRead(), plistValueChanged(), and Simulator().
Definition at line 243 of file Simulator.h. Referenced by cmdPause(), cmdRun(), and run().
Definition at line 165 of file Simulator.h. Referenced by cmdAdvance(), incrementTime(), run(), and sendSensor().
Definition at line 218 of file Simulator.h. Referenced by cmdAdvance(), messagesRead(), resetSpeedMode(), sendSensor(), and Simulator().
Definition at line 231 of file Simulator.h. Referenced by resetSpeedMode(), and run().
Definition at line 164 of file Simulator.h. Referenced by cmdAdvance(), resetSpeedMode(), run(), and syncSensors().
Definition at line 262 of file Simulator.h. Referenced by clearMotionHooks(), deregisterMotionHook(), incrementTime(), messagesRead(), plistCollectionEntriesChanged(), plistCollectionEntryAdded(), plistCollectionEntryRemoved(), plistValueChanged(), registerMotionHook(), setMotionEnteringRealtime(), setMotionLeavingRealtime(), updateMotion(), and updatePIDs().
Definition at line 222 of file Simulator.h.
Definition at line 223 of file Simulator.h. Referenced by doStart().
Definition at line 221 of file Simulator.h. Referenced by cmdStatus(), and Simulator(). Definition at line 245 of file Simulator.h. Referenced by cmdStep(), and incrementTime(). Definition at line 241 of file Simulator.h. Referenced by clearMotionHooks(), deregisterMotionHook(), registerMotionHook(), setMotionEnteringRealtime(), setMotionLeavingRealtime(), setMotionStarting(), setMotionStopping(), Simulator(), syncSensors(), updateMotion(), updatePIDs(), and ~Simulator().
Definition at line 232 of file Simulator.h. Referenced by resetSpeedMode(), and run().
Definition at line 219 of file Simulator.h. Referenced by incrementTime(), messagesRead(), plistValueChanged(), and Simulator().
Definition at line 246 of file Simulator.h. Referenced by incrementTime(), and messagesRead(). The documentation for this class was generated from the following files: |
Tekkotsu Hardware Abstraction Layer 5.1CVS |
Generated Mon May 9 05:01:42 2016 by Doxygen 1.6.3 |