mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-08 21:50:35 +08:00
Enable logging of mavlink tunnel messages
Co-authored-by: Vit Hanousek <vithanousek@seznam.cz>
This commit is contained in:
@@ -299,6 +299,11 @@ void LoggedTopics::add_system_identification_topics()
|
||||
add_topic("vehicle_torque_setpoint");
|
||||
}
|
||||
|
||||
void LoggedTopics::add_mavlink_tunnel()
|
||||
{
|
||||
add_topic("mavlink_tunnel");
|
||||
}
|
||||
|
||||
int LoggedTopics::add_topics_from_file(const char *fname)
|
||||
{
|
||||
int ntopics = 0;
|
||||
@@ -496,4 +501,8 @@ void LoggedTopics::initialize_configured_topics(SDLogProfileMask profile)
|
||||
if (profile & SDLogProfileMask::RAW_IMU_ACCEL_FIFO) {
|
||||
add_raw_imu_accel_fifo();
|
||||
}
|
||||
|
||||
if (profile & SDLogProfileMask::MAVLINK_TUNNEL) {
|
||||
add_mavlink_tunnel();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user