mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_HAL: add TeraRange Neo Rangefinder
This commit is contained in:
parent
d555c49230
commit
4c24b89dde
@ -116,6 +116,9 @@ void SIMState::fdm_input_local(void)
|
||||
if (benewake_tfmini != nullptr) {
|
||||
benewake_tfmini->update(sitl_model->rangefinder_range());
|
||||
}
|
||||
if (teraranger_serial != nullptr) {
|
||||
teraranger_serial->update(sitl_model->rangefinder_range());
|
||||
}
|
||||
if (lightwareserial != nullptr) {
|
||||
lightwareserial->update(sitl_model->rangefinder_range());
|
||||
}
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include <SITL/SIM_RF_Benewake_TF02.h>
|
||||
#include <SITL/SIM_RF_Benewake_TF03.h>
|
||||
#include <SITL/SIM_RF_Benewake_TFmini.h>
|
||||
#include <SITL/SIM_RF_TeraRanger_Serial.h>
|
||||
#include <SITL/SIM_RF_LightWareSerial.h>
|
||||
#include <SITL/SIM_RF_LightWareSerialBinary.h>
|
||||
#include <SITL/SIM_RF_Lanbao.h>
|
||||
@ -127,6 +128,8 @@ private:
|
||||
SITL::RF_Benewake_TF03 *benewake_tf03;
|
||||
// simulated Benewake tfmini rangefinder:
|
||||
SITL::RF_Benewake_TFmini *benewake_tfmini;
|
||||
// simulated TeraRangerSerial rangefinder:
|
||||
SITL::RF_TeraRanger_Serial *teraranger_serial;
|
||||
|
||||
// simulated LightWareSerial rangefinder - legacy protocol::
|
||||
SITL::RF_LightWareSerial *lightwareserial;
|
||||
|
Loading…
Reference in New Issue
Block a user