VR-Forces 4.3.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
bhaveSim
kynapseGroundPlatformController.h
Go to the documentation of this file.
1
2
/*******************************************************************************
3
** Copyright (c) 2009 MAK Technologies, Inc.
4
** All rights reserved.
5
*******************************************************************************/
6
/*******************************************************************************
7
* Copyright 2009 Autodesk, Inc. All rights reserved.
8
* Use of this software is subject to the terms of the Autodesk license
9
* agreement provided at the time of installation or download, or which otherwise
10
* accompanies this software in either electronic or hard copy form.
11
*******************************************************************************/
12
13
17
18
#ifndef KYNAPSE_GROUNDPLATFORM_CONTROLLER_H
19
#define KYNAPSE_GROUNDPLATFORM_CONTROLLER_H
20
21
#include <
bhaveSim/bhaveSimDefines.h
>
22
#include "
bhaveSim/kynapseController.h
"
23
24
#include <
vrfobjcore/taskControllerComponent.h
>
25
#include <
vrfobjcore/entityTargetInformation.h
>
26
#include <
vrftasks/userTask.h
>
27
28
class
DtAnalogOutputPort
;
29
class
DtBooleanOutputPort
;
30
class
DtConstrainedIntegerOutputPort
;
31
class
DtConstrainedAnalogOutputPort
;
32
class
DtOutputPortGroup
;
33
class
DtGroundVehicleStateRepository
;
34
class
DtKynapsePSR;
35
class
DtScenario
;
36
class
DtAnalogOutputPort
;
37
class
DtAnalogOutputPort
;
38
class
DtOutputPortGroup
;
39
class
DtSensorContactListInputPort
;
40
class
DtSensorContactInfoList
;
41
class
DtSoilFactors
;
42
43
44
namespace
BHAVE
45
{
46
48
const
char
DtKynapseGroundPlatformControllerType
[] =
"kynapse-ground-platform-controller"
;
49
56
class
DT_DLL_bhaveSim
DtKynapseGroundPlatformController
:
public
DtKynapseController
57
{
58
public
:
59
61
DtKynapseGroundPlatformController
(
const
DtString
& name,
DtVrfObject
* owner,
62
DtSimManager
* simManager,
DtComponentDescriptor
* desc = NULL,
63
DtReaderWriterRegistry
* parentRegistry = 0);
64
66
virtual
~
DtKynapseGroundPlatformController
();
67
69
DtKynapseGroundPlatformController
(
70
const
DtKynapseGroundPlatformController
& orig);
71
73
DtKynapseGroundPlatformController
&
74
operator=(
const
DtKynapseGroundPlatformController
& orig);
75
76
virtual
bool
init
();
77
79
virtual
DtString
type()
const
;
80
82
virtual
void
setComponentDescriptor(
DtComponentDescriptor
* descriptor);
83
85
static
DtSimComponent
* creator(
const
DtString
& name,
86
DtVrfObject
* owner,
DtSimManager
* simManager,
87
DtComponentDescriptor
* desc,
88
DtReaderWriterRegistry
* parentRegistry);
89
90
93
virtual
double
maxAcceleration()
const
;
96
virtual
double
maxDeceleration()
const
;
97
98
protected
:
99
101
virtual
DtBoolean createPorts();
102
virtual
DtBoolean createPortGroups();
103
107
virtual
DtBoolean applyKynapseRecommendations();
108
109
virtual
DtBoolean deactivateOutputControl();
110
112
virtual
const
DtSoilFactors
*
soilFactors
()
const
;
115
virtual
double
slope
()
const
;
116
117
118
protected
:
119
122
DtAnalogOutputPort
*
myDirectionOutputPort
;
123
DtAnalogOutputPort
*
mySpeedOutputPort
;
124
DtBooleanOutputPort
*
myTurningDirectionOutputPort
;
125
DtAnalogOutputPort
*
myFacingDirectionOutputPort
;
126
DtOutputPortGroup
*
myMovementControlOutputPortGroup
;
128
129
};
130
131
#endif
132
133
}
//namespace BHAVE
Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)