
#include <model2d.h>
Inheritance diagram for Model2DRigidLander:

Public Methods | |
| Model2DRigidLander (string path) | |
| virtual | ~Model2DRigidLander () |
| virtual MSLVector | StateToConfiguration (const MSLVector &x) |
| A method that converts a Model state in to a Geom configuration. More... | |
| virtual MSLVector | StateTransitionEquation (const MSLVector &x, const MSLVector &u) |
| The state transition equation, or equations of motion, xdot=f(x,u). More... | |
| virtual MSLVector | Integrate (const MSLVector &x, const MSLVector &u, const double &h) |
| Perform integration from state x, using input u, over time step h. More... | |
| MSLVector | LinearInterpolate (const MSLVector &x1, const MSLVector &x2, const double &a) |
| Linearly interpolate two state while respecting topology. More... | |
| virtual MSLVector | StateDifference (const MSLVector &x1, const MSLVector &x2) |
| Compute a MSLVector based on x2-x1. In R^n, the states are simply subtracted to make the MSLVector. This method exists to make things work correctly for other state-space topologies. More... | |
| virtual double | Metric (const MSLVector &x1, const MSLVector &x2) |
| A distance metric, which is Euclidean in the base class. More... | |
Public Attributes | |
| double | Mass |
| Mass in kg. More... | |
| double | G |
| Accel of gravity (m/s^2). More... | |
| double | Fs |
| Side thruster force. More... | |
| double | Fu |
| Upward thruster force. More... | |
|
|
|
|
|
|
|
||||||||||||||||
|
Perform integration from state x, using input u, over time step h.
Reimplemented from Model2DRigid. |
|
||||||||||||||||
|
Linearly interpolate two state while respecting topology. If a=0, then x1 is returned; if a=1, then x2 is returned. All intermediate values of $a \in [0,1]$ yield intermediate states. This method is defined by Model. Reimplemented from Model2DRigid. |
|
||||||||||||
|
A distance metric, which is Euclidean in the base class.
Reimplemented from Model2DRigid. |
|
||||||||||||
|
Compute a MSLVector based on x2-x1. In R^n, the states are simply subtracted to make the MSLVector. This method exists to make things work correctly for other state-space topologies.
Reimplemented from Model2DRigid. |
|
|
A method that converts a Model state in to a Geom configuration.
Reimplemented from Model2DRigid. |
|
||||||||||||
|
The state transition equation, or equations of motion, xdot=f(x,u).
Reimplemented from Model2DRigid. |
|
|
Side thruster force.
|
|
|
Upward thruster force.
|
|
|
Accel of gravity (m/s^2).
|
|
|
Mass in kg.
|