mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 16:33:34 +08:00
Working on segway controller, restructure of fixedwing.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user