ThomDietrich / multiUAV-simulation

Discrete event simulation framework aimed at UAV movement, energy management, and signal propagation
Other
37 stars 23 forks source link

Exchange at different location #31

Closed micha-sommer closed 4 years ago

micha-sommer commented 6 years ago

Should this be even possible?: image Can be reconstructed with b60ea107bea2a23751b4c23f30b7e16a8cb5de67 and inifile configuration mission-Nr-01.

ThomDietrich commented 6 years ago

This is imho the reason for #32.

In the log I'm seeing

INFO (UAVNode)OsgEarthNet.uav[0]: Energy Management: OK. UAV has enough energy to continue (12%).

even though the UAV should switch into EX mode.

As expected this issue is related to your short mission of only two commands. Duplicating those commands in mission1.waypoints solves both issues. However, this can't be the solution. Could you please extend the prediction algorithm(s) to loop commands (if mission was defined with the repeat flag)?

micha-sommer commented 6 years ago

I'll have a look into it.