Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Path: blob/master/libraries/AP_GPS/MovingBase.cpp
Views: 1798
#include "MovingBase.h"12const AP_Param::GroupInfo MovingBase::var_info[] = {3// @Param: TYPE4// @DisplayName: Moving base type5// @Description: Controls the type of moving base used if using moving base.This is renamed in 4.6 and later to GPSx_MB_TYPE.6// @Values: 0:Relative to alternate GPS instance,1:RelativeToCustomBase7// @User: Advanced8// @RebootRequired: True9AP_GROUPINFO_FLAGS("TYPE", 1, MovingBase, type, int8_t(Type::RelativeToAlternateInstance), AP_PARAM_FLAG_ENABLE),1011// @Param: OFS_X12// @DisplayName: Base antenna X position offset13// @Description: X position of the base (primary) GPS antenna in body frame from the position of the 2nd antenna. Positive X is forward of the 2nd antenna. Use antenna phase centroid location if provided by the manufacturer.This is renamed in 4.6 and later to GPSx_MB_OFS_X.14// @Units: m15// @Range: -5 516// @Increment: 0.0117// @User: Advanced1819// @Param: OFS_Y20// @DisplayName: Base antenna Y position offset21// @Description: Y position of the base (primary) GPS antenna in body frame from the position of the 2nd antenna. Positive Y is to the right of the 2nd antenna. Use antenna phase centroid location if provided by the manufacturer.This is renamed in 4.6 and later to GPSx_MB_OFS_Y.22// @Units: m23// @Range: -5 524// @Increment: 0.0125// @User: Advanced2627// @Param: OFS_Z28// @DisplayName: Base antenna Z position offset29// @Description: Z position of the base (primary) GPS antenna in body frame from the position of the 2nd antenna. Positive Z is down from the 2nd antenna. Use antenna phase centroid location if provided by the manufacturer.This is renamed in 4.6 and later to GPSx_MB_OFS_Z.30// @Units: m31// @Range: -5 532// @Increment: 0.0133// @User: Advanced34AP_GROUPINFO("OFS", 2, MovingBase, base_offset, 0.0f),3536AP_GROUPEND3738};3940MovingBase::MovingBase(void) {41AP_Param::setup_object_defaults(this, var_info);42}434445