mirror of https://github.com/ArduPilot/ardupilot
SITL: tidy simulated proximity sensor constructors
This commit is contained in:
parent
16ca2e1179
commit
e43b1dd2eb
|
@ -34,7 +34,7 @@ namespace SITL {
|
|||
class PS_LightWare : public SerialProximitySensor {
|
||||
public:
|
||||
|
||||
PS_LightWare() { }
|
||||
using SerialProximitySensor::SerialProximitySensor;
|
||||
|
||||
private:
|
||||
|
||||
|
|
|
@ -57,14 +57,14 @@ namespace SITL {
|
|||
class PS_LightWare_SF45B : public PS_LightWare {
|
||||
public:
|
||||
|
||||
using PS_LightWare::PS_LightWare;
|
||||
|
||||
uint32_t packet_for_location(const Location &location,
|
||||
uint8_t *data,
|
||||
uint8_t buflen) override;
|
||||
|
||||
void update(const Location &location) override;
|
||||
|
||||
PS_LightWare_SF45B() : PS_LightWare() { }
|
||||
|
||||
private:
|
||||
|
||||
template <typename T>
|
||||
|
|
|
@ -58,6 +58,8 @@ namespace SITL {
|
|||
class PS_RPLidarA2 : public SerialProximitySensor {
|
||||
public:
|
||||
|
||||
using SerialProximitySensor::SerialProximitySensor;
|
||||
|
||||
uint32_t packet_for_location(const Location &location,
|
||||
uint8_t *data,
|
||||
uint8_t buflen) override;
|
||||
|
|
|
@ -56,6 +56,8 @@ namespace SITL {
|
|||
class PS_TeraRangerTower : public SerialProximitySensor {
|
||||
public:
|
||||
|
||||
using SerialProximitySensor::SerialProximitySensor;
|
||||
|
||||
uint32_t packet_for_location(const Location &location,
|
||||
uint8_t *data,
|
||||
uint8_t buflen) override;
|
||||
|
|
Loading…
Reference in New Issue