PAW_Sensor: This library control the PAW sensor. This library get sensor values from the PAW sensor, and send these values to PC through serial-communication. And you need to convert these values to delta h using some module on PC. I create sample python module for this library. If you want to get this module, please access below page, https://github.com/HiroakiMatsuda/PAW-Sensor The PAW Sensor is developed by RT. If you need to get information about this sensors, please access below page. http://www.rt-shop.jp/index.php?main_page=product_info&cPath=42&products_id=1303
Dependents: PAW_Sensor_HelloWorld
Revision 2:6a493f73860c, committed 2014-11-09
- Comitter:
- matsu
- Date:
- Sun Nov 09 08:21:00 2014 +0000
- Parent:
- 1:6ec3794072de
- Child:
- 3:dfebf4e43c63
- Commit message:
- Fix comment.
Changed in this revision
| paw.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/paw.h Sun Nov 09 08:17:01 2014 +0000
+++ b/paw.h Sun Nov 09 08:21:00 2014 +0000
@@ -8,6 +8,26 @@
#define STATE_3 2
#define STATE_4 3
+struct paw_value
+{
+ public:
+ short ch_1;
+ short ch_2;
+ short ch_3;
+ short ch_4;
+ short initial_photo_1;
+ short initial_photo_2;
+
+ paw_value()
+ {
+ ch_1 = 0;
+ ch_2 = 0;
+ ch_3 = 0;
+ ch_4 = 0;
+ initial_photo_1 = 0;
+ initial_photo_2 = 0;
+ }
+};
/** PAW_Sensor Library
*
@@ -52,27 +72,6 @@
* @endcode
*/
-struct paw_value
-{
- public:
- short ch_1;
- short ch_2;
- short ch_3;
- short ch_4;
- short initial_photo_1;
- short initial_photo_2;
-
- paw_value()
- {
- ch_1 = 0;
- ch_2 = 0;
- ch_3 = 0;
- ch_4 = 0;
- initial_photo_1 = 0;
- initial_photo_2 = 0;
- }
-};
-
class PAW {
public:
PAW Sensor