mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 15:38:29 -04:00
e6c4595d3c
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2089 f9c3cf11-9bcb-44bc-f272-b75c42450872
16 lines
449 B
C++
16 lines
449 B
C++
#ifndef AP_RangeFinder_MaxsonarXL_H
|
|
#define AP_RangeFinder_MaxsonarXL_H
|
|
|
|
#include "RangeFinder.h"
|
|
|
|
#define AP_RANGEFINDER_MAXSONARXL_MIN_DISTANCE 20
|
|
#define AP_RANGEFINDER_MAXSONARXL_MAX_DISTANCE 700
|
|
|
|
class AP_RangeFinder_MaxsonarXL : public RangeFinder
|
|
{
|
|
public:
|
|
AP_RangeFinder_MaxsonarXL();
|
|
int convert_raw_to_distance(int _raw_value) { return _raw_value; } // read value from analog port and return distance in cm
|
|
};
|
|
#endif
|