candlewick 0.1.0
A renderer
|
A debug system for use with Pinocchio geometries. More...
#include <candlewick/multibody/RobotDebug.h>
Public Member Functions | |
RobotDebugSystem (const pin::Model &model, const pin::Data &data) | |
entt::entity | addFrameTriad (DebugScene &scene, pin::FrameIndex frame_id, const Float3 &scale=DEFAULT_TRIAD_SCALE) |
entt::entity | addFrameVelocityArrow (DebugScene &scene, pin::FrameIndex frame_id) |
void | update (DebugScene &scene) |
Update the visualization of the frame placements and their velocities. | |
![]() | |
virtual | ~IDebugSubSystem ()=default |
Static Public Attributes | |
static const Float3 | DEFAULT_TRIAD_SCALE = Float3::Constant(0.3333f) |
A debug system for use with Pinocchio geometries.
Supports drawing a triad for a frame. Member pinData must refer to an existing pinocchio::Data object at all times.
|
inline |
entt::entity candlewick::multibody::RobotDebugSystem::addFrameTriad | ( | DebugScene & | scene, |
pin::FrameIndex | frame_id, | ||
const Float3 & | scale = DEFAULT_TRIAD_SCALE ) |
entt::entity candlewick::multibody::RobotDebugSystem::addFrameVelocityArrow | ( | DebugScene & | scene, |
pin::FrameIndex | frame_id ) |
|
inlinevirtual |
Update the visualization of the frame placements and their velocities.
Implements candlewick::IDebugSubSystem.
|
inlinestatic |