forked from Archive/PX4-Autopilot
ekf2-agp: ensure logging of AGP aid_src topic
This commit is contained in:
parent
4268759d4a
commit
5d9081b0dd
|
@ -60,7 +60,11 @@ class Ekf;
|
|||
class AuxGlobalPosition : public ModuleParams
|
||||
{
|
||||
public:
|
||||
AuxGlobalPosition() : ModuleParams(nullptr) {}
|
||||
AuxGlobalPosition() : ModuleParams(nullptr)
|
||||
{
|
||||
_estimator_aid_src_aux_global_position_pub.advertise();
|
||||
}
|
||||
|
||||
~AuxGlobalPosition() = default;
|
||||
|
||||
void update(Ekf &ekf, const estimator::imuSample &imu_delayed);
|
||||
|
|
|
@ -205,7 +205,7 @@ void LoggedTopics::add_default_topics()
|
|||
// add_optional_topic_multi("estimator_aid_src_optical_flow", 100, MAX_ESTIMATOR_INSTANCES);
|
||||
// add_optional_topic_multi("estimator_aid_src_terrain_optical_flow", 100, MAX_ESTIMATOR_INSTANCES);
|
||||
// add_optional_topic_multi("estimator_aid_src_ev_yaw", 100, MAX_ESTIMATOR_INSTANCES);
|
||||
//add_optional_topic_multi("estimator_aid_src_aux_global_position", 100, MAX_ESTIMATOR_INSTANCES);
|
||||
add_optional_topic_multi("estimator_aid_src_aux_global_position", 100, MAX_ESTIMATOR_INSTANCES);
|
||||
|
||||
// log all raw sensors at minimal rate (at least 1 Hz)
|
||||
add_topic_multi("battery_status", 200, 2);
|
||||
|
|
Loading…
Reference in New Issue