Tesseract
Motion Planning Environment
|
The Tesseract Ignition Vizualization class. More...
#include <tesseract_ignition_visualization.h>
Public Types | |
using | Ptr = std::shared_ptr< TesseractIgnitionVisualization > |
using | ConstPtr = std::shared_ptr< const TesseractIgnitionVisualization > |
Public Types inherited from tesseract_visualization::Visualization | |
using | Ptr = std::shared_ptr< Visualization > |
using | ConstPtr = std::shared_ptr< const Visualization > |
Public Member Functions | |
TesseractIgnitionVisualization () | |
bool | isConnected () const override |
Some plotters may require connecting to external software. More... | |
void | waitForConnection (long seconds=0) const override |
Wait for connection. More... | |
void | plotEnvironment (const tesseract_environment::Environment &env, std::string ns="") override |
Plot environment. More... | |
void | plotEnvironmentState (const tesseract_scene_graph::SceneState &state, std::string ns="") override |
Plot state of the environment. More... | |
void | plotTrajectory (const tesseract_common::JointTrajectory &traj, const tesseract_scene_graph::StateSolver &state_solver, std::string ns="") override |
Plot a JointTrajectory. More... | |
void | plotMarker (const Marker &marker, std::string ns="") override |
Plot marker. More... | |
void | plotMarkers (const std::vector< Marker::Ptr > &markers, std::string ns="") override |
Plot a vector of markers under a given namespace. More... | |
void | clear (std::string ns="") override |
This is called at the start of the plotting for each iteration to clear previous iteration graphics if necessary. More... | |
void | waitForInput (std::string message="Hit enter key to continue!") override |
Pause code and wait for enter key in terminal. More... | |
Public Member Functions inherited from tesseract_visualization::Visualization | |
Visualization ()=default | |
virtual | ~Visualization ()=default |
Visualization (const Visualization &)=default | |
Visualization & | operator= (const Visualization &)=default |
Visualization (Visualization &&)=default | |
Visualization & | operator= (Visualization &&)=default |
virtual bool | isConnected () const =0 |
Some plotters may require connecting to external software. More... | |
virtual void | waitForConnection (long seconds=0) const =0 |
Wait for connection. More... | |
virtual void | plotEnvironment (const tesseract_environment::Environment &env, std::string ns="")=0 |
Plot environment. More... | |
virtual void | plotEnvironmentState (const tesseract_scene_graph::SceneState &state, std::string ns="")=0 |
Plot state of the environment. More... | |
virtual void | plotTrajectory (const tesseract_common::JointTrajectory &traj, const tesseract_scene_graph::StateSolver &state_solver, std::string ns="")=0 |
Plot a JointTrajectory. More... | |
virtual void | plotMarker (const Marker &marker, std::string ns="")=0 |
Plot marker. More... | |
virtual void | plotMarkers (const std::vector< Marker::Ptr > &markers, std::string ns="")=0 |
Plot a vector of markers under a given namespace. More... | |
virtual void | clear (std::string ns="")=0 |
This is called at the start of the plotting for each iteration to clear previous iteration graphics if necessary. More... | |
virtual void | waitForInput (std::string message="Hit enter key to continue!")=0 |
Pause code and wait for enter key in terminal. More... | |
Private Member Functions | |
void | sendSceneState (const tesseract_scene_graph::SceneState &scene_state) |
Helper function for sending state to visualization tool. More... | |
Private Attributes | |
ignition::transport::Node | node_ |
ignition::transport::Node::Publisher | scene_pub_ |
ignition::transport::Node::Publisher | pose_pub_ |
ignition::transport::Node::Publisher | deletion_pub_ |
EntityManager | entity_manager_ |
The Tesseract Ignition Vizualization class.
using tesseract_visualization::TesseractIgnitionVisualization::ConstPtr = std::shared_ptr<const TesseractIgnitionVisualization> |
using tesseract_visualization::TesseractIgnitionVisualization::Ptr = std::shared_ptr<TesseractIgnitionVisualization> |
tesseract_visualization::TesseractIgnitionVisualization::TesseractIgnitionVisualization | ( | ) |
|
overridevirtual |
This is called at the start of the plotting for each iteration to clear previous iteration graphics if necessary.
Implements tesseract_visualization::Visualization.
|
overridevirtual |
Some plotters may require connecting to external software.
Implements tesseract_visualization::Visualization.
|
overridevirtual |
|
overridevirtual |
Plot state of the environment.
state | The state of the environment. |
Implements tesseract_visualization::Visualization.
|
overridevirtual |
Plot marker.
marker | The marker to plot |
ns | The namespace to plot the object under |
Implements tesseract_visualization::Visualization.
|
overridevirtual |
Plot a vector of markers under a given namespace.
markers | The markers to plot |
ns | The namespace to plot the objects under |
Implements tesseract_visualization::Visualization.
|
overridevirtual |
Plot a JointTrajectory.
state_solver | The environment |
trajectory | JointTrajectory to be plotted |
Implements tesseract_visualization::Visualization.
|
private |
Helper function for sending state to visualization tool.
scene_state | Environment state |
|
overridevirtual |
Wait for connection.
seconds | The number of seconds to wait before returning, if zero it waits indefinitely |
Implements tesseract_visualization::Visualization.
|
overridevirtual |
Pause code and wait for enter key in terminal.
Implements tesseract_visualization::Visualization.
|
private |
Deletion publisher
|
private |
|
private |
Ignition communication node.
|
private |
Pose publisher
|
private |
Scene publisher