candlewick 0.9.0
A tiny cross-platform renderer based on SDL3
|
A debug system for use with Pinocchio models and geometries. More...
#include <candlewick/multibody/RobotDebug.h>
Public Member Functions | |
RobotDebugSystem (DebugScene &scene, const pin::Model &model, const pin::Data &data) | |
entt::entity | addFrameTriad (pin::FrameIndex frame_id, const Float3 &scale=DEFAULT_TRIAD_SCALE) |
entt::entity | addFrameVelocityArrow (pin::FrameIndex frame_id, float scale=DEFAULT_VEL_SCALE) |
void | update () override |
Update the transform components for the debug visual entities, according to their frame placements and velocities. | |
void | destroyEntities () |
~RobotDebugSystem () | |
void | reload (const pin::Model &model, const pin::Data &data) |
![]() | |
virtual | ~IDebugSubSystem ()=default |
Static Public Attributes | |
static Float3 | DEFAULT_TRIAD_SCALE = Float3::Constant(0.33333f) |
static float | DEFAULT_VEL_SCALE = 0.5f |
Additional Inherited Members | |
![]() | |
IDebugSubSystem (DebugScene &scene) | |
![]() | |
DebugScene & | m_scene |
A debug system for use with Pinocchio models and geometries.
Supports drawing a triad for a frame. Member pinData must refer to an existing pinocchio::Data object at all times.
|
inline |
|
inline |
entt::entity candlewick::multibody::RobotDebugSystem::addFrameTriad | ( | pin::FrameIndex | frame_id, |
const Float3 & | scale = DEFAULT_TRIAD_SCALE ) |
entt::entity candlewick::multibody::RobotDebugSystem::addFrameVelocityArrow | ( | pin::FrameIndex | frame_id, |
float | scale = DEFAULT_VEL_SCALE ) |
void candlewick::multibody::RobotDebugSystem::destroyEntities | ( | ) |
|
inline |
|
overridevirtual |
Update the transform components for the debug visual entities, according to their frame placements and velocities.
Implements candlewick::IDebugSubSystem.
|
inlinestatic |
|
inlinestatic |