File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,11 @@ def __init__(self):
24
24
25
25
self .altitude = Float64 ()
26
26
27
- self .altitude_input = rospy .get_param ('altitude_input' , 'vicon' )
27
+ self .altitude_input = rospy .get_param ('~ altitude_input' , 'vicon' )
28
28
29
29
# TODO: load params from param server
30
30
self .max_R_noise = 0.0 # [m] max tested: 0.15
31
- self .pub_period = 0.2 # [s], publish disturbed pose every X s
31
+ self .pub_period = 0.1 # [s], publish disturbed pose every X s
32
32
33
33
# self.pos_var = pow(max(0.0707, self.max_R_noise/2.0), 2)
34
34
# self.pos_var = 0.005;
@@ -100,6 +100,7 @@ def callback_odometry(self, data):
100
100
self .pwc .pose .pose .position .z = data .pose .pose .position .z
101
101
self .point .point .z = data .pose .pose .position .z
102
102
elif (self .altitude_input == 'external' ):
103
+ #print 'Got laser data'
103
104
self .pwc .pose .pose .position .z = self .altitude .data
104
105
self .point .point .z = self .altitude .data
105
106
else :
You can’t perform that action at this time.
0 commit comments