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:
parent
c6936870c1
commit
350fc8db3b
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user