PX4 Firmware
PX4 Autopilot Software http://px4.io
logger.cpp File Reference
#include <px4_platform_common/px4_config.h>
#include <px4_platform_common/console_buffer.h>
#include "logger.h"
#include "messages.h"
#include "watchdog.h"
#include <dirent.h>
#include <sys/stat.h>
#include <errno.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>
#include <uORB/PublicationQueued.hpp>
#include <uORB/uORBTopics.h>
#include <uORB/topics/parameter_update.h>
#include <uORB/topics/vehicle_command_ack.h>
#include <drivers/drv_hrt.h>
#include <mathlib/math/Limits.hpp>
#include <px4_platform_common/getopt.h>
#include <px4_platform_common/log.h>
#include <px4_platform_common/posix.h>
#include <px4_platform_common/sem.h>
#include <px4_platform_common/shutdown.h>
#include <px4_platform_common/tasks.h>
#include <systemlib/mavlink_log.h>
#include <replay/definitions.hpp>
#include <version/version.h>
Include dependency graph for logger.cpp:

Go to the source code of this file.

Classes

struct  timer_callback_data_s
 
struct  px4::logger::perf_callback_data_t
 

Namespaces

 px4
 
 px4::logger
 

Functions

static void timer_callback (void *arg)
 
int logger_main (int argc, char *argv[])
 

Function Documentation

◆ logger_main()

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:

◆ timer_callback()

static void timer_callback ( void *  arg)
static

Definition at line 90 of file logger.cpp.

References data, timer_callback_data_s::semaphore, timer_callback_data_s::watchdog_data, timer_callback_data_s::watchdog_triggered, and px4::logger::watchdog_update().

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

Here is the call graph for this function:
Here is the caller graph for this function: