Index

Package: Vehicle_Interface

Description

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

Subprograms & Entries

Position

function Position     return Positions;

Calls:

Ada.Containers.Vectors.Element defined at a-convec.ads:103:13
Current_Task defined at a-taside.ads:55:13
Id_Task defined at vehicle_task_id.ads:10:13

Velocity

function Velocity     return Velocities;

Calls:

Ada.Containers.Vectors.Element defined at a-convec.ads:103:13
Current_Task defined at a-taside.ads:55:13
Id_Task defined at vehicle_task_id.ads:10:13

Acceleration

function Acceleration return Accelerations;

Calls:

Ada.Containers.Vectors.Element defined at a-convec.ads:103:13
Current_Task defined at a-taside.ads:55:13
Id_Task defined at vehicle_task_id.ads:10:13

Set_Destination

procedure Set_Destination 
(V: Vector_3D);

Calls:

Ada.Containers.Vectors.Element defined at a-convec.ads:103:13
Current_Task defined at a-taside.ads:55:13
Id_Task defined at vehicle_task_id.ads:10:13
Swarm_Structures.Vehicle_Controls.Set_Steering defined at swarm_structures.ads:61:17

Set_Throttle

procedure Set_Throttle    
(T: Throttle_T);

Calls:

Ada.Containers.Vectors.Element defined at a-convec.ads:103:13
Current_Task defined at a-taside.ads:55:13
Id_Task defined at vehicle_task_id.ads:10:13
Swarm_Structures.Vehicle_Controls.Set_Throttle defined at swarm_structures.ads:62:17
Throttle automatically switched to Idle_Throttle is the destination has been reached.

Throttle_Is_On_Idle

function Throttle_Is_On_Idle return Boolean;

Calls:

Ada.Containers.Vectors.Element defined at a-convec.ads:103:13
Current_Task defined at a-taside.ads:55:13
Id_Task defined at vehicle_task_id.ads:10:13
Swarm_Structures.Vehicle_Controls.Read_Throttle defined at swarm_structures.ads:64:16
Throttle automatically switched to Idle_Throttle is the destination has been reached.

Send

procedure Send    
(Message: Inter_Vehicle_Messages);

Calls:

Ada.Containers.Vectors.Element defined at a-convec.ads:103:13
Current_Task defined at a-taside.ads:55:13
Id_Task defined at vehicle_task_id.ads:10:13
Swarm_Structures.Vehicle_Comms.Send defined at swarm_structures.ads:49:17
blocking if no messages

Receive

procedure Receive 
(Message: out Inter_Vehicle_Messages);

Calls:

Ada.Containers.Vectors.Element defined at a-convec.ads:103:13
Current_Task defined at a-taside.ads:55:13
Id_Task defined at vehicle_task_id.ads:10:13
Swarm_Structures.Vehicle_Comms.Receive defined at swarm_structures.ads:50:17

Messages_Waiting

function Messages_Waiting return Boolean;

Calls:

Ada.Containers.Vectors.Element defined at a-convec.ads:103:13
Current_Task defined at a-taside.ads:55:13
Id_Task defined at vehicle_task_id.ads:10:13
Swarm_Structures.Vehicle_Comms.Has_Incoming_Messages defined at swarm_structures.ads:53:17
blocking if no messages

Current_Charge

function Current_Charge    return Vehicle_Charges;

Calls:

Ada.Containers.Vectors.Element defined at a-convec.ads:103:13
Current_Task defined at a-taside.ads:55:13
Id_Task defined at vehicle_task_id.ads:10:13

Discharge_Per_Sec

function Discharge_Per_Sec return Float;

Energy_Globes_Around

function Energy_Globes_Around return Energy_Globes_A;

Calls:

Ada.Containers.Vectors.Element defined at a-convec.ads:103:13
Current_Task defined at a-taside.ads:55:13
Id_Task defined at vehicle_task_id.ads:10:13
Vectors_3D.- defined at vectors_3d.ads:32:13
Vectors_3D.abs defined at vectors_3d.ads:34:13

Wait_For_Next_Physics_Update

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