mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 07:28:29 -04:00
AP_WheelEncoder: quadrature spelling changed
This commit is contained in:
parent
51ccc1822c
commit
24eb35f0f6
@ -174,7 +174,7 @@ void AP_WheelEncoder::init(void)
|
|||||||
|
|
||||||
case WheelEncoder_TYPE_SITL_QUADRATURE:
|
case WheelEncoder_TYPE_SITL_QUADRATURE:
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||||
drivers[i] = new AP_WheelEncoder_SITL_Qaudrature(*this, i, state[i]);
|
drivers[i] = new AP_WheelEncoder_SITL_Quadrature(*this, i, state[i]);
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
extern const AP_HAL::HAL& hal;
|
extern const AP_HAL::HAL& hal;
|
||||||
|
|
||||||
void AP_WheelEncoder_SITL_Qaudrature::update(void)
|
void AP_WheelEncoder_SITL_Quadrature::update(void)
|
||||||
{
|
{
|
||||||
const auto *_sitl = AP::sitl();
|
const auto *_sitl = AP::sitl();
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#include <AP_Math/AP_Math.h>
|
#include <AP_Math/AP_Math.h>
|
||||||
#include <SITL/SITL.h>
|
#include <SITL/SITL.h>
|
||||||
|
|
||||||
class AP_WheelEncoder_SITL_Qaudrature : public AP_WheelEncoder_Backend
|
class AP_WheelEncoder_SITL_Quadrature : public AP_WheelEncoder_Backend
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// constructor
|
// constructor
|
||||||
|
Loading…
Reference in New Issue
Block a user