mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 07:03:34 +08:00
Attitude EKF: Do not limit sensor speed
This commit is contained in:
@@ -284,8 +284,6 @@ int attitude_estimator_ekf_thread_main(int argc, char *argv[])
|
|||||||
|
|
||||||
/* subscribe to raw data */
|
/* subscribe to raw data */
|
||||||
int sub_raw = orb_subscribe(ORB_ID(sensor_combined));
|
int sub_raw = orb_subscribe(ORB_ID(sensor_combined));
|
||||||
/* rate-limit raw data updates to 333 Hz (sensors app publishes at 200, so this is just paranoid) */
|
|
||||||
orb_set_interval(sub_raw, 3);
|
|
||||||
|
|
||||||
/* subscribe to GPS */
|
/* subscribe to GPS */
|
||||||
int sub_gps = orb_subscribe(ORB_ID(vehicle_gps_position));
|
int sub_gps = orb_subscribe(ORB_ID(vehicle_gps_position));
|
||||||
|
|||||||
Reference in New Issue
Block a user