Skip to main content

Module native_backend

Module native_backend 

Source
Expand description

Native serial-chain rigid-body backend.

This is the default RobotModelBackend implementation. It is a direct port of the behaviour of libfranka’s franka::RobotModel (src/robot_model.cpp, identical in 0.20.4 and 0.21.2), which delegates to Pinocchio:

libfranka / Pinocchiohere
pinocchio::forwardKinematics + data.oMi[i]NativeBackend::forward_kinematics
getJointJacobian(..., LOCAL) / getFrameJacobian(..., LOCAL)body Jacobian
... LOCAL_WORLD_ALIGNEDzero Jacobian
pinocchio::crbaNativeBackend::crba
pinocchio::rnea / computeGeneralizedGravityNativeBackend::rnea
RobotModel::updateInertiaIfNeededNativeBackend::body_inertias

Everything after NativeBackend::from_urdf runs on fixed-size arrays and nalgebra static matrices, so no heap allocation happens on the query path.

Structs§

NativeBackend
Serial-chain rigid-body model built from a URDF.