26#ifndef TESSERACT_VISUALIZATION_IGNITION_TESSERACT_IGNITION_VISUALIZATION_H
27#define TESSERACT_VISUALIZATION_IGNITION_TESSERACT_IGNITION_VISUALIZATION_H
31#include <ignition/msgs/scene.pb.h>
32#include <ignition/msgs/boolean.pb.h>
33#include <ignition/transport/Node.hh>
46 using Ptr = std::shared_ptr<TesseractIgnitionVisualization>;
47 using ConstPtr = std::shared_ptr<const TesseractIgnitionVisualization>;
61 std::string ns =
"")
override;
65 void plotMarkers(
const std::vector<Marker::Ptr>& markers, std::string ns =
"")
override;
67 void clear(std::string ns =
"")
override;
69 void waitForInput(std::string message =
"Hit enter key to continue!")
override;
72 ignition::transport::Node
node_;
#define TESSERACT_PLUGIN_ANCHOR_DECL(ANCHOR_NAME)
Definition: class_loader.h:124
Represents a joint trajectory.
Definition: joint_state.h:78
Definition: environment.h:65
Definition: state_solver.h:46
Definition: entity_manager.h:42
The Tesseract Ignition Vizualization class.
Definition: tesseract_ignition_visualization.h:44
ignition::transport::Node::Publisher scene_pub_
Definition: tesseract_ignition_visualization.h:73
void sendSceneState(const tesseract_scene_graph::SceneState &scene_state)
Helper function for sending state to visualization tool.
Definition: tesseract_ignition_visualization.cpp:365
TesseractIgnitionVisualization()
Definition: tesseract_ignition_visualization.cpp:61
ignition::transport::Node::Publisher deletion_pub_
Definition: tesseract_ignition_visualization.h:75
std::shared_ptr< TesseractIgnitionVisualization > Ptr
Definition: tesseract_ignition_visualization.h:46
void plotEnvironmentState(const tesseract_scene_graph::SceneState &state, std::string ns="") override
Plot state of the environment.
Definition: tesseract_ignition_visualization.cpp:94
void waitForConnection(long seconds=0) const override
Wait for connection.
Definition: tesseract_ignition_visualization.cpp:73
bool isConnected() const override
Some plotters may require connecting to external software.
Definition: tesseract_ignition_visualization.cpp:68
ignition::transport::Node node_
Definition: tesseract_ignition_visualization.h:72
void plotMarkers(const std::vector< Marker::Ptr > &markers, std::string ns="") override
Plot a vector of markers under a given namespace.
Definition: tesseract_ignition_visualization.cpp:336
void plotTrajectory(const tesseract_common::JointTrajectory &traj, const tesseract_scene_graph::StateSolver &state_solver, std::string ns="") override
Plot a JointTrajectory.
Definition: tesseract_ignition_visualization.cpp:100
void plotMarker(const Marker &marker, std::string ns="") override
Plot marker.
Definition: tesseract_ignition_visualization.cpp:203
ignition::transport::Node::Publisher pose_pub_
Definition: tesseract_ignition_visualization.h:74
void waitForInput(std::string message="Hit enter key to continue!") override
Pause code and wait for enter key in terminal.
Definition: tesseract_ignition_visualization.cpp:359
EntityManager entity_manager_
Definition: tesseract_ignition_visualization.h:76
void plotEnvironment(const tesseract_environment::Environment &env, std::string ns="") override
Plot environment.
Definition: tesseract_ignition_visualization.cpp:87
std::shared_ptr< const TesseractIgnitionVisualization > ConstPtr
Definition: tesseract_ignition_visualization.h:47
The Vizualization class.
Definition: visualization.h:51
A entity manager for Tesseract components that get added to Ignition Scene.
tesseract_scene_graph::SceneState scene_state
Definition: kinematics_factory_unit.cpp:265
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
Definition: macros.h:71
Definition: create_convex_hull.cpp:36
Definition: conversions.h:39
This holds a state of the scene.
Definition: scene_state.h:54
auto env
Definition: tesseract_environment_cache_unit.cpp:67