www
This commit is contained in:
@ -144,14 +144,18 @@ namespace DroneSimulator
|
||||
|
||||
listBox_Drones.Items.Clear();
|
||||
|
||||
foreach (Drone d in AllDrones)
|
||||
try
|
||||
{
|
||||
screen2D.Move(d.ID, d.PosXYZ, d.GetOrientation());
|
||||
foreach (Drone d in AllDrones)
|
||||
{
|
||||
screen2D.Move(d.ID, d.PosXYZ, d.GetOrientation());
|
||||
|
||||
string line = "ID:" + d.ID.ToString() + " Pitch:" + ((int)d.Orientation.X).ToString() + " Roll:" + ((int)d.Orientation.Y).ToString() + " Yaw:" + ((int)d.Orientation.Z).ToString();
|
||||
string line = "ID:" + d.ID.ToString() + " Pitch:" + ((int)d.Orientation.X).ToString() + " Roll:" + ((int)d.Orientation.Y).ToString() + " Yaw:" + ((int)d.Orientation.Z).ToString();
|
||||
|
||||
listBox_Drones.Items.Add(line);
|
||||
listBox_Drones.Items.Add(line);
|
||||
}
|
||||
}
|
||||
catch { }
|
||||
|
||||
screen2D.DrawScene();
|
||||
}
|
||||
|
Reference in New Issue
Block a user