get_time.h File Reference
prototype for get_time(), a simple way to get the current time since boot in milliseconds
More...
Go to the source code of this file.
Detailed Description
prototype for get_time(), a simple way to get the current time since boot in milliseconds
- Author:
- ejt (Creator)
Definition in file get_time.h.
Function Documentation
unsigned int get_time |
( |
|
) |
|
This will call and return project_get_time::get_time_callback if project_get_time::simulation_time is -1. Otherwise simulation_time is returned.
Default values are set such that the system clock will be used, and values will range from 0 (first call) onward. However, by reassigning project_get_time::get_time_callback to your own function, you can control the flow of time however you wish.
Definition at line 38 of file get_time.h.
Referenced by LedEngine::cflash(), SegCam::closePacket(), RawCam::closePacket(), DepthCam::closePacket(), WaypointEngine::cycle(), LedEngine::cycle(), EventRouter::dispTimers(), SegCam::doEvent(), RawCam::doEvent(), DepthCam::doEvent(), WMMonitorBehavior::encodeHeader(), LedEngine::flash(), EmergencyStopMC::freezeJoints(), SineMC::getCount(), MotionManager::getOutputs(), HolonomicMotionModel< ParticleT >::getPosition(), LedNode::getPrivateMC(), Kodu::KoduConditionTimer::getTimeInSec(), WheeledWalkMC::getTravelTime(), LedEngine::getValue(), WaypointEngine::go(), PostureMC::isAlive(), HeadPointerMC::isAlive(), ArmMC::isAlive(), LedEngine::isDirty(), EventLogger::logImage(), EventLogger::logMessage(), EventLogger::logWebcam(), XWalkMC::ParameterTransition::plistValueChanged(), LogNode::postStart(), StateNode::postStateCompletion(), StateNode::postStateStop(), EventRouter::processTimers(), WorldState::read(), LedEngine::recalcFlashEnd(), EmergencyStopMC::releaseJoints(), MotionSequenceEngine::resume(), EventRouter::TimerEntry::Set(), ArmMC::setGripperPulse(), TailWagMC::setPeriod(), HolonomicMotionModel< ParticleT >::setPosition(), GaitedFootstepMC::setSteps(), XWalkMC::setTargetDisplacement(), XWalkMC::setTargetVelocity(), WaypointEngine::setTargetWaypoint(), WalkCalibration::setupMoving(), HolonomicMotionModel< ParticleT >::setVelocity(), XWalkMC::start(), SineMC::sync(), SineMC::syncAll(), Controller::trapEvent(), WaypointEngine::unpause(), LedEngine::updateLEDFrames(), LedEngine::updateLEDs(), HolonomicMotionModel< ParticleT >::updateMotion(), XWalkMC::updateOutputs(), TailWagMC::updateOutputs(), SineMC::updateOutputs(), PostureMC::updateOutputs(), MotionSequenceEngine::updateOutputs(), HeadPointerMC::updateOutputs(), GaitedFootstepMC::updateOutputs(), EmergencyStopMC::updateOutputs(), ArmMC::updateOutputs(), XWalkMC::updateOutputsInitial(), and XWalkMC::zeroVelocities().
|