File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,8 @@ namespace liboculus {
53
53
const float AzimuthBeamwidthDeg = 0.6 ;
54
54
const float AzimuthBeamwidthRad = 0.6 *M_PI/180.0 ;
55
55
56
+ // NOTE(lindzey): According to the spec sheet, max range is 30 m
57
+ // at 1.2 MHz on the M3000d, but 40 m on the M1200d.
56
58
const float MaxRange = 40 ;
57
59
};
58
60
@@ -68,6 +70,18 @@ namespace liboculus {
68
70
const float MaxRange = 10 ; // meters
69
71
};
70
72
73
+ namespace Oculus_3000MHz {
74
+ const float ElevationBeamwidthDeg = 20.0 ;
75
+ const float ElevationBeamwidthRad = 20.0 *M_PI/180.0 ;
76
+
77
+ const float AzimuthBeamwidthDeg = 0.4 ;
78
+ const float AzimuthBeamwidthRad = 0.4 *M_PI/180.0 ;
79
+
80
+ // \todo These shouldn't be fixed, should read from Oculus.h
81
+ // But I don't feel like dealing with their data structure
82
+ const float MaxRange = 5 ; // meters
83
+ };
84
+
71
85
struct FlagBits {
72
86
// bit 0: 0 = interpret range as percent, 1 = interpret range as meters
73
87
// bit 1: 0 = 8 bit data, 1 = 16 bit data
You can’t perform that action at this time.
0 commit comments