PX4 Firmware
PX4 Autopilot Software http://px4.io
nshterm.c File Reference
#include <px4_platform_common/px4_config.h>
#include <px4_platform_common/module.h>
#include <termios.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdarg.h>
#include <unistd.h>
#include <stdlib.h>
#include <errno.h>
#include <nshlib/nshlib.h>
#include <fcntl.h>
#include <systemlib/err.h>
#include <drivers/drv_hrt.h>
#include <uORB/topics/actuator_armed.h>
Include dependency graph for nshterm.c:

Go to the source code of this file.

Functions

__EXPORT int nshterm_main (int argc, char *argv[])
 
static void print_usage (void)
 

Function Documentation

◆ nshterm_main()

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

Definition at line 71 of file nshterm.c.

References actuator_armed_s::armed, fd, hrt_absolute_time(), orb_check(), orb_copy(), ORB_ID, orb_subscribe(), print_usage(), and warnx.

Here is the call graph for this function:

◆ print_usage()

static void print_usage ( void  )
static

Definition at line 58 of file nshterm.c.

Referenced by nshterm_main().

Here is the caller graph for this function: