1#ifndef BITSIM_KINEMATICS_DENAVIT_HARTENBERG_H
2#define BITSIM_KINEMATICS_DENAVIT_HARTENBERG_H
4#include "bitsim/bitsim_config.h"
11#include <chrono/core/ChFrame.h>
37chrono::ChFrame<>
dh_frame(
const DHRow &row);
43chrono::ChFrame<>
dh_fk(
const std::vector<DHRow> &table);
The basic types of bitsim. Code outside this file names Eigen's matrix and vector types only through ...
std::vector< DHRow > spatial_dh_table(const SpatialArm &arm, const SpatialJoints &q)
The Denavit-Hartenberg table of a SpatialArm at joint angles q. dh_fk of it is spatial_fk.
Definition kinematics.cpp:252
std::array< real_t, 3 > SpatialJoints
The angles of the three joints of a SpatialArm [rad].
Definition spatial_arm.h:41
chrono::ChFrame dh_frame(const DHRow &row)
Definition kinematics.cpp:237
chrono::ChFrame dh_fk(const std::vector< DHRow > &table)
The product of the frames of all the rows: the pose of the last frame in the first.
Definition kinematics.cpp:242
Definition denavit_hartenberg.h:18
Definition dc_motor_backend_base.h:9
double real_t
real_t
Definition bitsim_types.h:20
One row of a Denavit-Hartenberg table: the pose of a joint frame in the one before it is .
Definition denavit_hartenberg.h:26
real_t d
offset along z [m]
Definition denavit_hartenberg.h:28
real_t alpha
rotation about the new x [rad]
Definition denavit_hartenberg.h:30
real_t theta
rotation about z [rad]; the joint angle of a revolute joint
Definition denavit_hartenberg.h:27
real_t a
offset along the new x [m]
Definition denavit_hartenberg.h:29