PX4 Firmware
PX4 Autopilot Software http://px4.io
cm8jl65 Namespace Reference

Local functions in support of the shell command. More...

Functions

int reset (const char *port)
 Reset the driver. More...
 
int start (const char *port, const uint8_t rotation)
 Start the driver. More...
 
int status ()
 Print the driver status. More...
 
int stop ()
 Stop the driver. More...
 
int usage ()
 Prints info about the driver argument usage. More...
 

Variables

CM8JL65g_dev
 

Detailed Description

Local functions in support of the shell command.

Function Documentation

◆ reset()

int cm8jl65::reset ( const char *  port)

Reset the driver.

Definition at line 57 of file cm8jl65_main.cpp.

References start(), and stop().

Referenced by cm8jl65_main().

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

◆ start()

int cm8jl65::start ( const char *  port,
const uint8_t  rotation = distance_sensor_s::ROTATION_DOWNWARD_FACING 
)

Start the driver.

Definition at line 70 of file cm8jl65_main.cpp.

References g_dev, and CM8JL65::init().

Referenced by cm8jl65_main(), and reset().

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

◆ status()

int cm8jl65::status ( )

Print the driver status.

Definition at line 104 of file cm8jl65_main.cpp.

References CM8JL65::print_info().

Referenced by cm8jl65_main().

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

◆ stop()

int cm8jl65::stop ( )

Stop the driver.

Definition at line 119 of file cm8jl65_main.cpp.

References g_dev.

Referenced by cm8jl65_main(), and reset().

Here is the caller graph for this function:

◆ usage()

int cm8jl65::usage ( void  )

Prints info about the driver argument usage.

Definition at line 130 of file cm8jl65_main.cpp.

Referenced by cm8jl65_main().

Here is the caller graph for this function:

Variable Documentation

◆ g_dev

CM8JL65* cm8jl65::g_dev

Definition at line 45 of file cm8jl65_main.cpp.

Referenced by start(), and stop().