PX4 Firmware
PX4 Autopilot Software http://px4.io
uORBMain.cpp File Reference
#include <string.h>
#include "uORBManager.hpp"
#include "uORB.h"
#include "uORBCommon.hpp"
#include <px4_platform_common/log.h>
#include <px4_platform_common/module.h>
Include dependency graph for uORBMain.cpp:

Go to the source code of this file.

Functions

__EXPORT int uorb_main (int argc, char *argv[])
 
static void usage ()
 

Variables

static uORB::DeviceMasterg_dev = nullptr
 

Function Documentation

◆ uorb_main()

int uorb_main ( int  argc,
char *  argv[] 
)

Definition at line 86 of file uORBMain.cpp.

References uORB::Manager::get_device_master(), uORB::Manager::get_instance(), uORB::Manager::initialize(), OK, uORB::DeviceMaster::printStatistics(), uORB::DeviceMaster::showTop(), and usage().

Here is the call graph for this function:

◆ usage()

static void usage ( void  )
static

Definition at line 46 of file uORBMain.cpp.

Referenced by uorb_main().

Here is the caller graph for this function:

Variable Documentation

◆ g_dev

uORB::DeviceMaster* g_dev = nullptr
static

Definition at line 45 of file uORBMain.cpp.