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::unique_ptr< zmq::socket_t > socket_
void DisplayScene(bool use_mesh_materials=true)
virtual ~VisualizationMeshcat()
void Initialize(bool use_mesh_materials)
std::shared_ptr< Scene > ScenePtr
VisualizationMeshcat(ScenePtr scene, const std::string &url, bool use_mesh_materials=true, const std::string &file_url="")
const Eigen::Ref< const Eigen::MatrixXd > & MatrixXdRefConst
robot_trajectory::RobotTrajectory trajectory(rmodel,"right_arm")
void DisplayState(Eigen::VectorXdRefConst state, double t=0.0)
const Eigen::Ref< const Eigen::VectorXd > & VectorXdRefConst
Convenience wrapper for storing references to sub-matrices/vectors.
void SendZMQ(const std::string &data)
std::string RequestWebURL()
void Delete(const std::string &path="")
void SetProperty(const std::string &path, const std::string &property, const double &value)
void DisplayTrajectory(Eigen::MatrixXdRefConst trajectory, double dt=1.0)