| Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
| previous class next class | frames no frames | |||||
Core.Object
|
+-- Engine.Actor
|
+-- USARBot.Item
|
+-- USARBot.Sensor
|
+-- USARBot.EncoderSensor
| Variables Summary | |
|---|---|
| vector | axis1 |
| vector | axis2 |
| float | baseAng |
| int | curAng |
| int | curBaseAng |
| int | lastAng |
| int | lastBaseAng |
| float | myAng |
| int | myTick |
| Actor | parBase |
| USARRemoteBot | rBot |
| float | Resolution |
| string | tickData |
| float | totalAng |
| int | uuResolution |
| Inherited Variables from USARBot.Sensor |
|---|
| bUseGroup, bWithTimeStamp, HiddenSensor, Mean, Noise, OutputCurve, Sigma, utils |
| Inherited Variables from USARBot.Item |
|---|
| converter, ItemMount, ItemName, ItemType, myDirection, myPosition, Platform, Weight |
| Functions Summary | ||
|---|---|---|
![]() | ConvertParam (USARConverter converter) | |
![]() | String | GetConfData () |
![]() | String | GetData () |
![]() | int | getTick () |
![]() | Init (String SName, Actor parent, vector position, rotator direction, KVehicle platform, name mount) | |
![]() | float | normalAngle (float ang) |
![]() | string | Set (String opcode, String args) |
| Inherited Functions from USARBot.Sensor |
|---|
| GetConfData, GetConfHead, GetData, GetGeoData, GetGeoHead, GetHead, Init |
| Inherited Functions from USARBot.Item |
|---|
| ConvertParam, Init, isName, isType, Set, SetName |
| Variables Detail |
|---|
This class simulates the encoder sensor. The added config params are: Resolution: The resoulution of the encoder defined in UU. The returned value is: Tick: The data range is (-65535/uuResolution)~(65535/uuResolution). Positive value means clockwise direction. It's the controller's resposible to count how many circles the part has rotated.
| Functions Detail |
|---|
ConvertParam Source code
GetConfData Source code
GetData Source code
getTick Source code
Init Source code
normalAngle Source code
Set Source code| Defaultproperties |
|---|
defaultproperties { bUseGroup=True ItemType="Encoder" HiddenSensor=false Resolution=0.01745 DrawScale=0.0047620004 DrawScale3D=(X=0.001) StaticMesh=StaticMesh'USARSim_VehicleParts_Meshes.Sensors.Sensor' Noise=0.001 Mass=0.001 } |
| Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
| previous class next class | frames no frames | |||||