1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-30 15:52:12 +01:00

Fixed HiTL bug by which gps velocity was not being updated.

This commit is contained in:
Laura Sebesta 2012-10-16 11:56:53 +02:00
parent c6936870c1
commit 350fc8db3b

View File

@ -245,8 +245,10 @@ void Simulator::setupObjects()
setupOutputObject(posHome, 10000); //Hardcoded? Bleh.
if (settings.gpsPositionEnabled)
if (settings.gpsPositionEnabled){
setupOutputObject(gpsPos, settings.gpsPosRate);
setupOutputObject(gpsVel, settings.gpsPosRate);
}
if (settings.groundTruthEnabled){
setupOutputObject(posActual, settings.groundTruthRate);