mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 18:13:34 +08:00
vehicle_gps_position: use timestamp field instead of timestamp_position
timestamp was unused. This allows to remove timestamp_position.
This commit is contained in:
@@ -396,7 +396,7 @@ void Ekf2Replay::setEstimatorInput(uint8_t *data, uint8_t type)
|
||||
} else if (type == LOG_RPL2_MSG) {
|
||||
uint8_t *dest_ptr = (uint8_t *)&replay_part2.time_pos_usec;
|
||||
parseMessage(data, dest_ptr, type);
|
||||
_gps.timestamp_position = replay_part2.time_pos_usec;
|
||||
_gps.timestamp = replay_part2.time_pos_usec;
|
||||
_gps.timestamp_velocity = replay_part2.time_vel_usec;
|
||||
_gps.lat = replay_part2.lat;
|
||||
_gps.lon = replay_part2.lon;
|
||||
|
||||
Reference in New Issue
Block a user