|
| | EnvironmentMonitor (std::string monitor_namespace) |
| | Constructor.
|
| | EnvironmentMonitor (std::shared_ptr< Environment > env, std::string monitor_namespace) |
| | Constructor.
|
|
| EnvironmentMonitor (const EnvironmentMonitor &)=default |
|
EnvironmentMonitor & | operator= (const EnvironmentMonitor &)=default |
|
| EnvironmentMonitor (EnvironmentMonitor &&)=default |
|
EnvironmentMonitor & | operator= (EnvironmentMonitor &&)=default |
|
virtual const std::string & | getNamespace () const |
| | Get the namespace of this monitor.
|
| virtual Environment & | environment () |
| | Returns an threadsafe reference to the current environment.
|
| virtual const Environment & | environment () const |
| | Returns an threadsafe const reference to the current environment.
|
| virtual std::shared_ptr< Environment > | getEnvironment () |
| | Returns an threadsafe shared pointer to the current environment.
|
| virtual std::shared_ptr< const Environment > | getEnvironment () const |
| | Returns an threadsafe const shared point to the current environment.
|
| virtual bool | waitForConnection (std::chrono::duration< double > duration=std::chrono::seconds(0)) const =0 |
| | Wait for connection to upstream environment.
|
|
virtual void | startPublishingEnvironment ()=0 |
| | Start publishing the maintained environment.
|
|
virtual void | stopPublishingEnvironment ()=0 |
| | Stop publishing the maintained environment.
|
|
virtual void | setEnvironmentPublishingFrequency (double hz)=0 |
| | Set the maximum frequency at which environment are being published.
|
|
virtual double | getEnvironmentPublishingFrequency () const =0 |
| | Get the maximum frequency at which environment are published (Hz).
|
| virtual void | startStateMonitor (const std::string &joint_states_topic, bool publish_tf=true)=0 |
| | Start the current state monitor.
|
|
virtual void | stopStateMonitor ()=0 |
| | Stop the state monitor.
|
| virtual void | setStateUpdateFrequency (double hz=10)=0 |
| | Update the scene using the monitored state at a specified frequency, in Hz. This function has an effect only when updates from the CurrentStateMonitor are received at a higher frequency. In that case, the updates are throttled down, so that they do not exceed a maximum update frequency specified here.
|
|
virtual double | getStateUpdateFrequency () const =0 |
| | Get the maximum frequency (Hz) at which the current state of the planning scene is updated.
|
|
virtual void | updateEnvironmentWithCurrentState ()=0 |
| | Update the scene using the monitored state. This function is automatically called when an update to the current state is received (if startStateMonitor() has been called). The updates are throttled to a maximum update frequency however, which is set by setStateUpdateFrequency().
|
| virtual void | startMonitoringEnvironment (const std::string &monitored_namespace, MonitoredEnvironmentMode mode=MonitoredEnvironmentMode::DEFAULT)=0 |
| | Start the monitoring of an environment topic.
|
|
virtual void | stopMonitoringEnvironment ()=0 |
| | Stop monitoring the external environment.
|
| virtual bool | waitForCurrentState (std::chrono::duration< double > duration=std::chrono::seconds(1))=0 |
| | Wait for robot state to become more recent than time t.
|
|
virtual void | shutdown ()=0 |
| | Shutdown advertised services.
|
Tesseract Environment Monitor Interface Class.