VR-Forces 4.2 Class Documentation
Classes | Macros
surfEntPltCtl.h File Reference

Go to the source code of this file.

Classes

class  DtSurfaceEntityPilotController
 The DtSurfaceEntityPilotController provides basic movement capabilities for surface entities and creates the ports needed to control surface entity actuators. More...

Macros

#define REDUCED_ACCELERATION_FACTOR   0.5
 DtSurfaceEntityPilotController; provides functionality common to surface entity movement controllers.
#define PROPORTIONAL_SPEED_CONTROL   1.0
 Constant for proportional speed control.
#define PROPORTIONAL_TURN_CONTROL   5.0
 Constant for proportional turn control.
#define DIRECT_HEADING_CONTROL_ANGLE   0.5
 When entity is within this angle of the desired heading, it ignores desired turn direction and servos directly to the heading.
#define HEADING_GOAL_EPSILON   0.001
 When entity is within this angle of the desired heading, it assumes the heading has been reached.

Detailed Description

Macro Definition Documentation

#define REDUCED_ACCELERATION_FACTOR   0.5

DtSurfaceEntityPilotController; provides functionality common to surface entity movement controllers.

Amount max acceleration is reduced when speed is over half of max speed.

#define PROPORTIONAL_SPEED_CONTROL   1.0

Constant for proportional speed control.

#define PROPORTIONAL_TURN_CONTROL   5.0

Constant for proportional turn control.

#define DIRECT_HEADING_CONTROL_ANGLE   0.5

When entity is within this angle of the desired heading, it ignores desired turn direction and servos directly to the heading.

(Outside this angle, the turn direction in the task parameters may force a turn "the long way" around to the desired heading.)

#define HEADING_GOAL_EPSILON   0.001

When entity is within this angle of the desired heading, it assumes the heading has been reached.

When the heading gets close to the goal, the actuator clamps the orientation to the goal, but the transformation to heading may not exactly match the goal heading value, so this controller needs an epsilon as well.


Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)