Class that approximates a 4-wheel robot using a bicycle model.
- Examples
- pf-nonlinear-complex-example.cpp, and ukf-nonlinear-complex-example.cpp.
Definition at line 305 of file ukf-nonlinear-complex-example.cpp.
◆ vpBicycleModel() [1/2]
vpBicycleModel::vpBicycleModel |
( |
const double & |
w | ) |
|
|
inline |
◆ vpBicycleModel() [2/2]
vpBicycleModel::vpBicycleModel |
( |
const double & |
w | ) |
|
|
inline |
◆ computeMotion() [1/2]
◆ computeMotion() [2/2]
Models the effect of the command on the state model.
- Parameters
-
[in] | u | The commands. u[0] = velocity ; u[1] = steeringAngle . |
[in] | x | The state model. x[0] = x ; x[1] = y ; x[2] = heading |
[in] | dt | The period. |
- Returns
- vpColVector The state model after applying the command.
Definition at line 339 of file pf-nonlinear-complex-example.cpp.
◆ move() [1/2]
Move the robot according to its current position and the commands.
- Parameters
-
[in] | u | The commands. u[0] = velocity ; u[1] = steeringAngle . |
[in] | x | The state model. x[0] = x ; x[1] = y ; x[2] = heading |
[in] | dt | The period. |
- Returns
- vpColVector The state model after applying the command.
Definition at line 365 of file ukf-nonlinear-complex-example.cpp.
◆ move() [2/2]
Move the robot according to its current position and the commands.
- Parameters
-
[in] | u | The commands. u[0] = velocity ; u[1] = steeringAngle . |
[in] | x | The state model. x[0] = x ; x[1] = y ; x[2] = heading |
[in] | dt | The period. |
- Returns
- vpColVector The state model after applying the command.
Definition at line 353 of file pf-nonlinear-complex-example.cpp.