Go to the documentation of this file.
30 #ifndef EXOTICA_CORE_VISUALIZATION_MESHCAT_H_
31 #define EXOTICA_CORE_VISUALIZATION_MESHCAT_H_
52 void Delete(
const std::string& path =
"");
53 void SetProperty(
const std::string& path,
const std::string& property,
const double& value);
54 void SetProperty(
const std::string& path,
const std::string& property,
const std::string& value);
55 void SetProperty(
const std::string& path,
const std::string& property,
const bool& value);
56 void SetProperty(
const std::string& path,
const std::string& property,
const Eigen::Vector3d& value);
57 void SetProperty(
const std::string& path,
const std::string& property,
const Eigen::Vector4d& value);
65 void SendZMQ(
const std::string& data);
83 #endif // EXOTICA_CORE_VISUALIZATION_MESHCAT_H_
std::string zmq_url_
Definition: visualization_meshcat.h:72
Definition: uncopyable.h:35
std::string RequestWebURL()
Definition: visualization_meshcat.h:41
Definition: cartpole_dynamics_solver.h:38
std::string file_url_
Definition: visualization_meshcat.h:74
void SetProperty(const std::string &path, const std::string &property, const double &value)
std::shared_ptr< Scene > ScenePtr
Definition: scene.h:246
const typedef Eigen::Ref< const Eigen::VectorXd > & VectorXdRefConst
Convenience wrapper for storing references to sub-matrices/vectors.
Definition: conversions.h:52
VisualizationMeshcat(ScenePtr scene, const std::string &url, bool use_mesh_materials=true, const std::string &file_url="")
void DisplayTrajectory(Eigen::MatrixXdRefConst trajectory, double dt=1.0)
const typedef Eigen::Ref< const Eigen::MatrixXd > & MatrixXdRefConst
Definition: conversions.h:53
std::string web_url_
Definition: visualization_meshcat.h:73
std::unique_ptr< zmq::socket_t > socket_
Definition: visualization_meshcat.h:79
void DisplayScene(bool use_mesh_materials=true)
void Initialize(bool use_mesh_materials)
virtual ~VisualizationMeshcat()
std::string path_prefix_
Definition: visualization_meshcat.h:76
zmq::context_t context_
Definition: visualization_meshcat.h:78
void SendZMQ(const std::string &data)
ScenePtr scene_
Definition: visualization_meshcat.h:62
void DisplayState(Eigen::VectorXdRefConst state, double t=0.0)
void Delete(const std::string &path="")