Joint-space mass matrix with the composite rigid body algorithm
Source:R/dynamics.R
robot_mass_matrix.RdReturns the symmetric positive semidefinite generalized inertia matrix \(M(q)\) (positive definite when every degree of freedom moves some mass).
Examples
robot_mass_matrix(robot_example("planar2"), c(0, 0.5))
#> joint1 joint2
#> joint1 2.5442492 0.7721246
#> joint2 0.7721246 0.3333333