mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 18:08:53 +08:00
19 lines
308 B
C++
19 lines
308 B
C++
#pragma once
|
|
|
|
#include <controllib/uorb/blocks.hpp>
|
|
|
|
using namespace control;
|
|
|
|
class BlockSegwayController : public control::BlockUorbEnabledAutopilot {
|
|
public:
|
|
BlockSegwayController() :
|
|
BlockUorbEnabledAutopilot(NULL,"SEG"),
|
|
phi2spd(this, "PHI2SPD")
|
|
{
|
|
}
|
|
void update();
|
|
private:
|
|
BlockP phi2spd;
|
|
};
|
|
|