FancySafeBot 0.0.1
A safe robotics library
Loading...
Searching...
No Matches
fsb_dynamics.h
1#ifndef FSB_DYNAMICS_H
2#define FSB_DYNAMICS_H
3
4#include <array>
5
6#include "fsb_body.h"
7#include "fsb_body_tree.h"
8#include "fsb_configuration.h"
9#include "fsb_joint.h"
10#include "fsb_types.h"
11
12namespace fsb
13{
14
30
35{
39 std::array<ForceVector, MaxSize::bodies> body;
40};
41
52 const BodyTree& body_tree, const BodyCartesianPva& cartesian_motion, const BodyForce& external_force,
53 BodyForce& body_force);
54
59}
60
61#endif //FSB_DYNAMICS_H
Body tree description of a kinematic chain.
Definition fsb_body_tree.h:84
JointSpace inverse_dynamics(const BodyTree &body_tree, const BodyCartesianPva &cartesian_motion, const BodyForce &external_force, BodyForce &body_force)
Inverse dynamics to find joint torques based on external forces and motion of bodies.
Definition fsb_dynamics.cpp:127
Container of Cartesian pose, velocity, and acceleration for a list of bodies.
Definition fsb_body.h:79
Container of Forces and Torques for a list of bodies.
Definition fsb_dynamics.h:35
std::array< ForceVector, MaxSize::bodies > body
List of bodies with Cartesian pose, velocity, and acceleration.
Definition fsb_dynamics.h:39
Force and torque vector.
Definition fsb_dynamics.h:26
Vec3 force
Force vector.
Definition fsb_dynamics.h:28
Vec3 torque
Torque vector.
Definition fsb_dynamics.h:27
Joint space differential of generalized coordinates.
Definition fsb_joint.h:66
3D vector
Definition fsb_types.h:27