Index

Package: Vehicle_Interface

Description

package Vehicle_Interface is
Uwe R. Zimmer, Australia, July 2011

Tasks & Protected

Subprograms & Entries

Velocity

function Velocity     return Velocities;

References:

vehicle_interface.ads:17:13 (declaration)
vehicle_interface.adb:23:13 (body)

Acceleration

function Acceleration return Accelerations;

Set_Destination

procedure Set_Destination 
(V: Vector_3D);

Set_Throttle

procedure Set_Throttle    
(T: Throttle_T);
Throttle automatically switched to Idle_Throttle when the destination has been reached.

Throttle_Is_On_Idle

function Throttle_Is_On_Idle return Boolean;

References:

vehicle_interface.ads:32:13 (declaration)
vehicle_interface.adb:49:13 (body)
Throttle automatically switched to Idle_Throttle when the destination has been reached.

Send

procedure Send    
(Message: Inter_Vehicle_Messages);

Calls:

Current_Task defined at a-taside.ads:53:13
Swarm_Control.Comms defined at swarm_control.ads:26:16
Swarm_Structures.Vehicle_Comms.Send defined at swarm_structures.ads:52:17
blocking if no messages

Receive

procedure Receive 
(Message: out Inter_Vehicle_Messages);

Calls:

Current_Task defined at a-taside.ads:53:13
Swarm_Control.Comms defined at swarm_control.ads:26:16
Swarm_Structures.Vehicle_Comms.Receive defined at swarm_structures.ads:53:17

Messages_Waiting

function Messages_Waiting return Boolean;

References:

vehicle_interface.ads:40:13 (declaration)
vehicle_interface.adb:68:13 (body)
blocking if no messages

Current_Charge

function Current_Charge    return Vehicle_Charges;

References:

vehicle_interface.ads:42:13 (declaration)
vehicle_interface.adb:75:13 (body)

Current_Discharge_Per_Sec

function Current_Discharge_Per_Sec return Real;

References:

vehicle_interface.ads:43:13 (declaration)
vehicle_interface.adb:78:13 (body)

Energy_Globes_Around

function Energy_Globes_Around return Energy_Globes;

Wait_For_Next_Physics_Update

procedure Wait_For_Next_Physics_Update;
blocking until the underlying physics engine updated swarm and globe positions.