Corrected Bias key index in IMUKittiExampleGPS.m
Bias key index in ImuFactor refers to the bias at the previous timestep, `bias_i`, according to https://github.com/borglab/gtsam/blob/develop/gtsam/navigation/ImuFactor.h#L239-L244 and the C++ example https://github.com/borglab/gtsam/blob/develop/examples/ImuFactorsExample.cpp#L228release/4.3a0
parent
09b0f03542
commit
d8866f1497
|
@ -99,7 +99,7 @@ for measurementIndex = firstGPSPose:length(GPS_data)
|
|||
newFactors.add(ImuFactor( ...
|
||||
currentPoseKey-1, currentVelKey-1, ...
|
||||
currentPoseKey, currentVelKey, ...
|
||||
currentBiasKey, currentSummarizedMeasurement));
|
||||
currentBiasKey-1, currentSummarizedMeasurement));
|
||||
|
||||
% Bias evolution as given in the IMU metadata
|
||||
newFactors.add(BetweenFactorConstantBias(currentBiasKey-1, currentBiasKey, imuBias.ConstantBias(zeros(3,1), zeros(3,1)), ...
|
||||
|
|
Loading…
Reference in New Issue