mirror of https://github.com/ArduPilot/ardupilot
AP_IRLock: change class name from SITL::SITL to SITL::SIM
This commit is contained in:
parent
26e2a4a3cb
commit
58baad9949
|
@ -20,7 +20,7 @@ public:
|
||||||
bool update() override;
|
bool update() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
SITL::SITL *_sitl; // sitl instance pointer
|
SITL::SIM *_sitl; // sitl instance pointer
|
||||||
uint32_t _last_timestamp = 0;
|
uint32_t _last_timestamp = 0;
|
||||||
};
|
};
|
||||||
#endif // CONFIG_HAL_BOARD
|
#endif // CONFIG_HAL_BOARD
|
||||||
|
|
|
@ -38,7 +38,7 @@ AP_IRLock_SITL_Gazebo::AP_IRLock_SITL_Gazebo() :
|
||||||
|
|
||||||
void AP_IRLock_SITL_Gazebo::init(int8_t bus)
|
void AP_IRLock_SITL_Gazebo::init(int8_t bus)
|
||||||
{
|
{
|
||||||
SITL::SITL *sitl = AP::sitl();
|
SITL::SIM *sitl = AP::sitl();
|
||||||
// try to bind to a specific port so that if we restart ArduPilot
|
// try to bind to a specific port so that if we restart ArduPilot
|
||||||
// Gazebo keeps sending us packets. Not strictly necessary but
|
// Gazebo keeps sending us packets. Not strictly necessary but
|
||||||
// useful for debugging
|
// useful for debugging
|
||||||
|
|
Loading…
Reference in New Issue