RflySimSDK v3.05
RflySimSDK说明文档
载入中...
搜索中...
未找到
vrpn_Adafruit.h
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_Adafruit_10DOF: public vrpn_Analog_Server
10{
11public:
12 vrpn_Adafruit_10DOF(std::string const &name,
14 std::string const &device = "/dev/i2c-1",
15 double read_interval_seconds = 10e-3);
16 ~vrpn_Adafruit_10DOF();
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
定义 vrpn_Analog.h:95
virtual void mainloop()
定义 vrpn_Analog.h:114
Generic connection class not specific to the transport mechanism.
定义 vrpn_Connection.h:562