vrpn 07.35
Virtual Reality Peripheral Network
Loading...
Searching...
No Matches
vrpn_OzzMaker.h
Go to the documentation of this file.
1#pragma once
2
3#include <vrpn_Configure.h>
4#include <vrpn_Analog.h>
5#include <string>
6
7#ifdef VRPN_USE_I2CDEV
8
9class vrpn_OzzMaker_BerryIMU: public vrpn_Analog_Server
10{
11public:
12 vrpn_OzzMaker_BerryIMU(std::string const &name,
14 std::string const &device = "/dev/i2c-1",
15 double read_interval_seconds = 10e-3);
16 ~vrpn_OzzMaker_BerryIMU();
17
18 virtual void mainloop();
19
20protected:
21 int d_i2c_dev; //< File opened to read and write to device
22 double d_read_interval_seconds;
23};
24
25#endif
26
virtual void mainloop()
For this server, the user must normally call report() or report_changes() directly....
Definition: vrpn_Analog.h:114
Generic connection class not specific to the transport mechanism.