PX4 Firmware
PX4 Autopilot Software http://px4.io
bst.cpp File Reference

Black Sheep Telemetry driver. More...

#include <px4_platform_common/px4_config.h>
#include <px4_platform_common/getopt.h>
#include <px4_platform_common/px4_work_queue/ScheduledWorkItem.hpp>
#include <drivers/device/i2c.h>
#include <systemlib/err.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include <uORB/Subscription.hpp>
#include <uORB/topics/vehicle_gps_position.h>
#include <uORB/topics/battery_status.h>
#include <uORB/topics/vehicle_attitude.h>
#include <matrix/math.hpp>
Include dependency graph for bst.cpp:

Go to the source code of this file.

Classes

struct  px4::bst::BSTPacket< T >
 
struct  px4::bst::BSTDeviceInfoRequest
 
struct  px4::bst::BSTDeviceInfoReply
 
struct  px4::bst::BSTGPSPosition
 
struct  px4::bst::BSTAttitude
 
struct  px4::bst::BSTBattery
 
class  px4::bst::BST
 

Namespaces

 px4
 
 px4::bst
 

Macros

#define BST_ADDR   0x76
 

Functions

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

Variables

static const char commandline_usage [] = "usage: bst start|status|stop"
 
static BSTpx4::bst::g_bst = nullptr
 

Detailed Description

Black Sheep Telemetry driver.

Author
Anton Babushkin anton.nosp@m..bab.nosp@m.ushki.nosp@m.n@me.nosp@m..com

Definition in file bst.cpp.

Macro Definition Documentation

◆ BST_ADDR

#define BST_ADDR   0x76

Definition at line 60 of file bst.cpp.

Function Documentation

◆ bst_main()

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

Definition at line 334 of file bst.cpp.

References px4::bst::BST::BST(), commandline_usage, errx, px4::bst::g_bst, px4::bst::BST::init(), OK, and warnx.

Here is the call graph for this function:

Variable Documentation

◆ commandline_usage

const char commandline_usage[] = "usage: bst start|status|stop"
static

Definition at line 58 of file bst.cpp.

Referenced by bst_main().