ardupilot/libraries/AP_RangeFinder/AP_RangeFinder_Params.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
764 B
C
Raw Normal View History

#pragma once
#include "AP_RangeFinder_config.h"
#if AP_RANGEFINDER_ENABLED
#include <AP_Param/AP_Param.h>
#include <AP_Math/AP_Math.h>
class AP_RangeFinder_Params {
public:
2019-02-03 22:21:58 -04:00
static const struct AP_Param::GroupInfo var_info[];
AP_RangeFinder_Params(void);
/* Do not allow copies */
2022-09-30 06:50:43 -03:00
CLASS_NO_COPY(AP_RangeFinder_Params);
2019-02-03 22:21:58 -04:00
AP_Vector3f pos_offset; // position offset in body frame
AP_Float scaling;
AP_Float offset;
AP_Int16 powersave_range;
AP_Int16 min_distance_cm;
AP_Int16 max_distance_cm;
AP_Int8 type;
AP_Int8 pin;
AP_Int8 ratiometric;
AP_Int8 stop_pin;
AP_Int8 function;
AP_Int8 ground_clearance_cm;
AP_Int8 address;
AP_Int8 orientation;
};
#endif // AP_RANGEFINDER_ENABLED