aboutsummaryrefslogblamecommitdiff
path: root/src/modules/segway/BlockSegwayController.hpp
blob: b16d38338bd8ef1af6b0c5515d986b9592ac5080 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;
};