CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
Ardupilot

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: Ardupilot/ardupilot
Path: blob/master/AntennaTracker/RC_Channel_Tracker.cpp
Views: 1798
1
#include "Tracker.h"
2
3
#include "RC_Channel_Tracker.h"
4
5
// defining these two macros and including the RC_Channels_VarInfo
6
// header defines the parameter information common to all vehicle
7
// types
8
#define RC_CHANNELS_SUBCLASS RC_Channels_Tracker
9
#define RC_CHANNEL_SUBCLASS RC_Channel_Tracker
10
11
#include <RC_Channel/RC_Channels_VarInfo.h>
12
13
// note that this callback is not presently used on Plane:
14
int8_t RC_Channels_Tracker::flight_mode_channel_number() const
15
{
16
return 1; // tracker does not have a flight mode channel
17
}
18
19