mirror of https://github.com/ArduPilot/ardupilot
18 lines
316 B
C++
18 lines
316 B
C++
/*
|
|
dummy backend for HIL (and SITL). This doesn't actually need to do
|
|
any work, as setHIL() is in the frontend
|
|
*/
|
|
#pragma once
|
|
|
|
#include "AP_Baro_Backend.h"
|
|
|
|
class AP_Baro_HIL : public AP_Baro_Backend
|
|
{
|
|
public:
|
|
AP_Baro_HIL(AP_Baro &baro);
|
|
void update(void) override;
|
|
|
|
private:
|
|
uint8_t _instance;
|
|
};
|