Esp32-RBGridUI
Library for creating UIs for the RBController app
Loading...
Searching...
No Matches
arm.h
Go to the documentation of this file.
1#pragma once
2
3#include "widget.h"
4
5namespace gridui {
6
9class Arm : public Widget {
10 template <typename Self, typename Finished>
12
13 using Widget::Widget;
14
15public:
16 double x() const {
17 return m_state->getDouble("armX");
18 }
19
20 double y() const {
21 return m_state->getDouble("armY");
22 }
23};
24
25};
double x() const
Definition arm.h:16
double y() const
Definition arm.h:20
double getDouble(const std::string &key, double def=0.0) const
Definition widget.cpp:37
WidgetState * m_state
Definition widget.h:275
Definition arm.h:8