Support launching Servo2d with a URI.

This commit is contained in:
Josh Matthews 2019-03-15 13:49:49 -04:00
parent 0a5aab6cc2
commit daabda7fe1
3 changed files with 29 additions and 5 deletions

View file

@ -29,7 +29,7 @@ public:
/**
* Constructs the Landscape Application.
*/
Servo2D();
Servo2D(const char* uri);
/**
* Destroys the Landscape Application.
@ -144,4 +144,5 @@ private:
glm::quat controller_orientation_; // The last recorded orientation of the controller (in world coords)
bool controller_trigger_down_ = false; // Is the controller trigger currently down?
ServoInstance* servo_ = nullptr; // the servo instance we're embedding
const char* uri_ = nullptr;
};