GCOP
1.0
|
#include <airm.h>
Public Member Functions | |
Airm () | |
void | Force (VectorXd &f, double t, const MbsState &x, const VectorXd &u, MatrixXd *A=0, MatrixXd *B=0) |
Airm () | |
Public Attributes | |
Hrotor | hrotor |
A quadrotor dynamical 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
Airm::Airm | ( | ) |
References gcop::Mbs::Init(), gcop::Mbs::joints, gcop::Mbs::links, gcop::Mbs::pis, gcop::SE3::rpyxyz2g(), and gcop::Mbs::se3.
gcop::Airm::Airm | ( | ) |
void Airm::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.
References gcop::MbsState::dr.