You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without these changes, on the first call to FixedUpdate the drones are positioned at the origin (since poseFromAirLib is not set yet), causing a collision. AirSim then processes this collision, but at the actual position of the drones, causing the drones to tumble down.
Something similar happens in single drone mode. In this case the "fake" collision (with the floor at the origin now) is interpreted as a landing by AirSim, making the drone "hover" mid-air at the start, even though it is only armed.
This issue has been automatically marked as stale because it has not had activity from the community in the last year. It will be closed if no further activity occurs within 20 days.
InvokeTickInAirSim
is called inLateUpdate
:AirSim/Unity/UnityDemo/Assets/AirSimAssets/Scripts/Vehicles/Vehicle.cs
Line 116 in d59ceb7
while
transform
is updated inFixedUpdate
:AirSim/Unity/UnityDemo/Assets/AirSimAssets/Scripts/Vehicles/Multirotor/Drone.cs
Line 41 in d59ceb7
Is there a reason for this?
FixedUpdate
andLateUpdate
are not necessarily in sync.Also, I would expect
currentPose = poseFromAirLib;
aftertransform
is updated.What am I missing?
The text was updated successfully, but these errors were encountered: