VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Macros
surfaceEntityPilotController.h File Reference

Go to the source code of this file.

Classes

class  DtSurfaceEntityPilotController
 

Macros

#define REDUCED_ACCELERATION_FACTOR   0.5
 
#define PROPORTIONAL_SPEED_CONTROL   1.0
 
#define DIRECT_HEADING_CONTROL_ANGLE   0.5
 
#define HEADING_GOAL_EPSILON   0.001
 

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 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 Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)