mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: add simulated nooploop tofsense rangefinder
This commit is contained in:
parent
5500cb97c7
commit
89d4ba6a5d
|
@ -145,6 +145,9 @@ void SIMState::fdm_input_local(void)
|
|||
if (benewake_tfmini != nullptr) {
|
||||
benewake_tfmini->update(sitl_model->rangefinder_range());
|
||||
}
|
||||
if (nooploop != nullptr) {
|
||||
nooploop->update(sitl_model->rangefinder_range());
|
||||
}
|
||||
if (teraranger_serial != nullptr) {
|
||||
teraranger_serial->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_NoopLoop.h>
|
||||
#include <SITL/SIM_RF_TeraRanger_Serial.h>
|
||||
#include <SITL/SIM_RF_LightWareSerial.h>
|
||||
#include <SITL/SIM_RF_LightWareSerialBinary.h>
|
||||
|
@ -127,6 +128,8 @@ private:
|
|||
SITL::RF_Benewake_TF03 *benewake_tf03;
|
||||
// simulated Benewake tfmini rangefinder:
|
||||
SITL::RF_Benewake_TFmini *benewake_tfmini;
|
||||
//simulated NoopLoop TOFSense rangefinder:
|
||||
SITL::RF_Nooploop *nooploop;
|
||||
// simulated TeraRangerSerial rangefinder:
|
||||
SITL::RF_TeraRanger_Serial *teraranger_serial;
|
||||
|
||||
|
|
Loading…
Reference in New Issue