GCOP
1.0
|
#include <airbase.h>
Public Member Functions | |
Airbase (int nb, int j) | |
nb number of bodies ///<j number of joints | |
void | Force (VectorXd &f, double t, const MbsState &x, const VectorXd &u, MatrixXd *A=0, MatrixXd *B=0) |
A quadrotor based mbs model.
The state is where is the pose, and the controls are correspond to torques around the body and a vertical lift force.
Author: Marin Kobilarov marin(at)jhu.edu
Airbase::Airbase | ( | int | nb, |
int | j | ||
) |
nb number of bodies ///<j number of joints
void Airbase::Force | ( | VectorXd & | f, |
double | t, | ||
const MbsState & | x, | ||
const VectorXd & | u, | ||
MatrixXd * | A = 0 , |
||
MatrixXd * | B = 0 |
||
) | [virtual] |
Total resulting force on the system from external (e.g. gravity) and internal (control) inputs
f | total force f(x,u,t) |
t | time |
x | state |
u | controls |
A | jacobian Dxf |
B | jacobian Duf |
Reimplemented from gcop::Mbs.