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

Functions

int start ()
 Attempt to start driver on all available I2C busses. More...
 
int stop ()
 Stop the driver. More...
 
int info ()
 Print a little info about the driver. More...
 
int probe ()
 Who am i. More...
 
int calibration ()
 Calibration runs calibration routine for ISL29501 TODO: implement calibration user interface and parameter system to store calib Note: Currently only serves debugging purpose, user is required to manually set offset inside code. More...
 
void usage ()
 Prints info about the driver argument usage. More...
 

Variables

DfISL29501Wrapperg_dev = nullptr
 

Function Documentation

◆ calibration()

int df_isl29501_wrapper::calibration ( )

Calibration runs calibration routine for ISL29501 TODO: implement calibration user interface and parameter system to store calib Note: Currently only serves debugging purpose, user is required to manually set offset inside code.

Definition at line 302 of file df_isl29501_wrapper.cpp.

References DfISL29501Wrapper::start().

Referenced by df_isl29501_wrapper_main().

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

◆ info()

int df_isl29501_wrapper::info ( )

Print a little info about the driver.

Definition at line 253 of file df_isl29501_wrapper.cpp.

Referenced by df_isl29501_wrapper_main().

Here is the caller graph for this function:

◆ probe()

int df_isl29501_wrapper::probe ( )

Who am i.

Definition at line 269 of file df_isl29501_wrapper.cpp.

References DfISL29501Wrapper::start().

Referenced by df_isl29501_wrapper_main().

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

◆ start()

int df_isl29501_wrapper::start ( )

Attempt to start driver on all available I2C busses.

This function will return as soon as the first sensor is detected on one of the available busses or if no sensors are detected.

Definition at line 198 of file df_isl29501_wrapper.cpp.

References DfISL29501Wrapper::DfISL29501Wrapper(), and DfISL29501Wrapper::start().

Referenced by df_isl29501_wrapper_main().

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

◆ stop()

int df_isl29501_wrapper::stop ( )

Stop the driver.

Stop the driver.

Definition at line 230 of file df_isl29501_wrapper.cpp.

References g_dev, and DfISL29501Wrapper::stop().

Referenced by df_isl29501_wrapper_main().

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

◆ usage()

void df_isl29501_wrapper::usage ( void  )

Prints info about the driver argument usage.

Prints info about the driver argument usage.

Definition at line 329 of file df_isl29501_wrapper.cpp.

Referenced by df_isl29501_wrapper_main().

Here is the caller graph for this function:

Variable Documentation

◆ g_dev

DfISL29501Wrapper* df_isl29501_wrapper::g_dev = nullptr

Definition at line 189 of file df_isl29501_wrapper.cpp.

Referenced by stop().