#include <ClockServerImpl.h>
|
| ClockServerImpl (gazebo::GazeboYarpClock &clockPlugin) |
|
virtual void | pauseSimulation () |
| Pause the simulation if it was running.
|
|
virtual void | continueSimulation () |
| Resume the simulation if it was paused.
|
|
virtual void | stepSimulation (const int32_t numberOfSteps=1) |
|
virtual void | stepSimulationAndWait (const int32_t numberOfSteps=1) |
|
virtual void | resetSimulationTime () |
| Reset the simulation time back to zero.
|
|
virtual void | resetSimulation () |
| Reset the simulation state and time.
|
|
virtual double | getSimulationTime () |
| Get the current simulation time.
|
|
virtual double | getStepSize () |
| Get the current step size in seconds.
|
|
virtual void | resetSimulationState () |
| Reset the simulation state back to initial pose.
|
|
virtual void | stepSimulation (const std::int32_t numberOfSteps=1) |
| Steps the simulation for the provided number of steps.
|
|
virtual void | stepSimulationAndWait (const std::int32_t numberOfSteps=1) |
| Steps the simulation for the provided number of steps.
|
|
virtual std::vector< std::string > | help (const std::string &functionName="--all") |
|
virtual std::vector< std::string > | help (const std::string &functionName="--all") |
|
bool | read (yarp::os::ConnectionReader &connection) override |
|
bool | read (yarp::os::ConnectionReader &connection) override |
|
◆ ClockServerImpl()
◆ pauseSimulation()
void GazeboYarpPlugins::ClockServerImpl::pauseSimulation |
( |
| ) |
|
|
virtual |
◆ continueSimulation()
void GazeboYarpPlugins::ClockServerImpl::continueSimulation |
( |
| ) |
|
|
virtual |
◆ stepSimulation() [1/2]
void GazeboYarpPlugins::ClockServerImpl::stepSimulation |
( |
const int32_t | numberOfSteps = 1 | ) |
|
|
virtual |
◆ stepSimulationAndWait() [1/2]
void GazeboYarpPlugins::ClockServerImpl::stepSimulationAndWait |
( |
const int32_t | numberOfSteps = 1 | ) |
|
|
virtual |
◆ resetSimulationTime()
void GazeboYarpPlugins::ClockServerImpl::resetSimulationTime |
( |
| ) |
|
|
virtual |
◆ resetSimulation()
void GazeboYarpPlugins::ClockServerImpl::resetSimulation |
( |
| ) |
|
|
virtual |
◆ getSimulationTime()
double GazeboYarpPlugins::ClockServerImpl::getSimulationTime |
( |
| ) |
|
|
virtual |
◆ getStepSize()
double GazeboYarpPlugins::ClockServerImpl::getStepSize |
( |
| ) |
|
|
virtual |
◆ resetSimulationState()
void GazeboYarpPlugins::ClockServerImpl::resetSimulationState |
( |
| ) |
|
|
virtual |
◆ stepSimulation() [2/2]
void GazeboYarpPlugins::ClockServer::stepSimulation |
( |
const std::int32_t | numberOfSteps = 1 | ) |
|
|
virtualinherited |
Steps the simulation for the provided number of steps.
The input parameter is the number of steps, not the time (Usually 1 step = 1ms but this is not guaranteed)
- Note
- : this function (will be) not blocking, i.e. it will return immediately. Currently calling this function twice before the previous call actually ends its computation gives and undefined behavior.
- Parameters
-
numberOfSteps | number of steps to simulate |
◆ stepSimulationAndWait() [2/2]
void GazeboYarpPlugins::ClockServer::stepSimulationAndWait |
( |
const std::int32_t | numberOfSteps = 1 | ) |
|
|
virtualinherited |
Steps the simulation for the provided number of steps.
The input parameter is the number of steps, not the time (Usually 1 step = 1ms but this is not guaranteed)
- Note
- : this function is blocking
- Parameters
-
numberOfSteps | number of steps to simulate |
◆ help() [1/2]
std::vector< std::string > GazeboYarpPlugins::ClockServer::help |
( |
const std::string & | functionName = "--all" | ) |
|
|
virtualinherited |
◆ help() [2/2]
virtual std::vector< std::string > GazeboYarpPlugins::ClockServer::help |
( |
const std::string & | functionName = "--all" | ) |
|
|
virtualinherited |
◆ read() [1/2]
bool GazeboYarpPlugins::ClockServer::read |
( |
yarp::os::ConnectionReader & | connection | ) |
|
|
overrideinherited |
◆ read() [2/2]
bool GazeboYarpPlugins::ClockServer::read |
( |
yarp::os::ConnectionReader & | connection | ) |
|
|
overrideinherited |
The documentation for this class was generated from the following files: