vrpn
07.35
Virtual Reality Peripheral Network
Toggle main menu visibility
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
9
class
vrpn_OzzMaker_BerryIMU:
public
vrpn_Analog_Server
10
{
11
public
:
12
vrpn_OzzMaker_BerryIMU(std::string
const
&name,
13
vrpn_Connection
*c,
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
20
protected
:
21
int
d_i2c_dev;
//< File opened to read and write to device
22
double
d_read_interval_seconds;
23
};
24
25
#endif
26
vrpn_Analog_Server
Definition
vrpn_Analog.h:95
vrpn_Analog_Server::mainloop
virtual void mainloop()
For this server, the user must normally call report() or report_changes() directly....
Definition
vrpn_Analog.h:114
vrpn_Connection
class VRPN_API vrpn_Connection
Definition
vrpn_3Space.h:7
vrpn_Analog.h
vrpn_Configure.h
vrpn_OzzMaker.h
Generated by
1.17.0