![]() |
Roboid Control for C# 0.4
|
The Unity representation of a Roboid Control differential drive.
Public Member Functions | |
void | UpdateThing () |
Update the Unity state. | |
Static Public Member Functions | |
static DifferentialDrive | Create (RoboidControl.DifferentialDrive coreDrive) |
Create the Unity representation. | |
static Thing | Create (RoboidControl.Thing core) |
Create a Unity representation of a Thing. | |
Public Attributes | |
Motor | leftMotor |
Motor | rightMotor |
Wheel | leftWheel |
The left wheel of the differential drive. | |
Wheel | rightWheel |
The right wheel of the differential drive. | |
SphereCollider | casterWheel |
The caster wheel to keep the differential drive horizontal. | |
Participant | owner |
The owner of this thing. | |
Protected Member Functions | |
virtual void | Start () |
Start the Unity representation. | |
override void | HandleBinary () |
Handle the binary event indicating a configuration change. | |
override void | FixedUpdate () |
Update the Unity representation state. | |
void | Init (RoboidControl.Thing core) |
Initialize the Thing. | |
virtual void | Update () |
Update the Unity rendering. | |
virtual void | HandlePose () |
Handle a Pose event. | |
Properties | |
RoboidControl.DifferentialDrive | coreDrive [get] |
The core differential drive. | |
RoboidControl.Thing | core [get, set] |
The core C# thing. | |
|
static |
Create the Unity representation.
coreDrive | The core touch sensor |
This uses a 'DifferentialDrive' resource when available for the Unity representation. If this is not available, a default representation is created.
|
protectedvirtual |
Handle the binary event indicating a configuration change.
Reimplemented from RoboidControl.Unity.Thing.
|
protectedvirtual |
Update the Unity representation state.
Reimplemented from RoboidControl.Unity.Thing.
|
staticinherited |
Create a Unity representation of a Thing.
core | The core of the thing |
|
protectedinherited |
Initialize the Thing.
core | The core of the thing |
This affects the parent and pose of the thing
|
protectedvirtualinherited |
Handle a Pose event.
This can update the position and/or orientation when the velocity of the thing is zero. If a velocity is not zero, the position and/or orientation update will be ignored