PX4 Firmware
PX4 Autopilot Software http://px4.io
logger.h File Reference
#include "log_writer.h"
#include "messages.h"
#include <containers/Array.hpp>
#include "util.h"
#include <px4_platform_common/defines.h>
#include <drivers/drv_hrt.h>
#include <version/version.h>
#include <parameters/param.h>
#include <systemlib/printload.h>
#include <px4_platform_common/module.h>
#include <uORB/Subscription.hpp>
#include <uORB/SubscriptionInterval.hpp>
#include <uORB/topics/log_message.h>
#include <uORB/topics/manual_control_setpoint.h>
#include <uORB/topics/vehicle_command.h>
#include <uORB/topics/vehicle_status.h>
Include dependency graph for logger.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  px4::logger::LoggerSubscription
 
class  px4::logger::Logger
 
struct  px4::logger::Logger::LogFileName
 
struct  px4::logger::Logger::Statistics
 
struct  px4::logger::Logger::MissionSubscription
 

Namespaces

 px4
 
 px4::logger
 

Enumerations

enum  px4::logger::SDLogProfileMask : int32_t {
  px4::logger::SDLogProfileMask::DEFAULT = 1 << 0, px4::logger::SDLogProfileMask::ESTIMATOR_REPLAY = 1 << 1, px4::logger::SDLogProfileMask::THERMAL_CALIBRATION = 1 << 2, px4::logger::SDLogProfileMask::SYSTEM_IDENTIFICATION = 1 << 3,
  px4::logger::SDLogProfileMask::HIGH_RATE = 1 << 4, px4::logger::SDLogProfileMask::DEBUG_TOPICS = 1 << 5, px4::logger::SDLogProfileMask::SENSOR_COMPARISON = 1 << 6, px4::logger::SDLogProfileMask::VISION_AND_AVOIDANCE = 1 << 7
}
 
enum  px4::logger::MissionLogType : int32_t { px4::logger::MissionLogType::Disabled = 0, px4::logger::MissionLogType::Complete = 1, px4::logger::MissionLogType::Geotagging = 2 }
 

Functions

__EXPORT int logger_main (int argc, char *argv[])
 
bool px4::logger::operator & (SDLogProfileMask a, SDLogProfileMask b)
 

Variables

static constexpr hrt_abstime TRY_SUBSCRIBE_INTERVAL {1000 * 1000}
 
static constexpr uint8_t px4::logger::MSG_ID_INVALID = UINT8_MAX
 

Function Documentation

◆ logger_main()

__EXPORT int logger_main ( int  argc,
char *  argv[] 
)

Definition at line 117 of file logger.cpp.

References px4::logger::Count, px4::logger::Logger::LOG_ROOT, and main().

Here is the call graph for this function:

Variable Documentation

◆ TRY_SUBSCRIBE_INTERVAL

constexpr hrt_abstime TRY_SUBSCRIBE_INTERVAL {1000 * 1000}
static

Definition at line 56 of file logger.h.

Referenced by px4::logger::Logger::run().