Closed jiaozhadexiaolang closed 1 year ago
size_feature * A_index_features.at(feat.first) + 6 should A_index_features.at(feat.first)
why? +6
v and g in the end of x_hat
The state should be the features, then velocity, then gravity https://github.com/rpng/open_vins/blob/c3259430f0574c2911ff8e6ce888f6a1fcff5928/ov_init/src/dynamic/DynamicInitializer.cpp#L224-L231 https://github.com/rpng/open_vins/blob/c3259430f0574c2911ff8e6ce888f6a1fcff5928/ov_init/src/dynamic/DynamicInitializer.cpp#L368-L369
Sorry to bother you again, but in my understanding, the x_hat is ordered as feat、vel、grav:
but when accessing the features:
there is a "+6" at indexing, does it wrong?