Visualization#
PlaCo comes with some basics visualization tools based on
meshcat. Those helpers are written in
Python and available in the placo_utils package.
Command-line visualization#
The following utils is provided to visualize a robot:
python -m placo_utils.view path_to_robot/robot.urdf
You can provide the following arguments:
--frames [frame1 [frame2 [...]]]: List of frames to visualize--animateto animate the robot (a sinusoïdal motion is applied to the joints)
Robot visualization#
You can use robot_viz to visualize a robot,
and robot_frame_viz to visualize a frame
attached to the robot.
Custom frame#
You can use frame_viz to visualize any frame
in the world frame, by passing T_world_frame as argument.
Points#
You can use point_viz to visualize a single point,
or points_viz to visualize a list of points.
Lines#
You can use line_viz to visualize lines.
Arrow#
You can use arrow_viz to visualize an arrow.