Skip to content

Commit 42f597a

Browse files
author
Ashwin Sushil
authored
Fix for 'expected [double] got [integer]' error while running navsat node (#547)
1 parent 552877a commit 42f597a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

params/dual_ekf_navsat_example.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# For parameter descriptions, please refer to the template parameter files for each node.
22

33
ekf_filter_node_odom:
4-
frequency: 30
4+
frequency: 30.0
55
sensor_timeout: 0.1
66
two_d_mode: false
77
transform_time_offset: 0.0
@@ -72,7 +72,7 @@ ekf_filter_node_odom:
7272
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0]
7373

7474
ekf_filter_node_map:
75-
frequency: 30
75+
frequency: 30.0
7676
sensor_timeout: 0.1
7777
two_d_mode: false
7878
transform_time_offset: 0.0
@@ -154,7 +154,7 @@ ekf_filter_node_map:
154154
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0]
155155

156156
navsat_transform:
157-
frequency: 30
157+
frequency: 30.0
158158
delay: 3.0
159159
magnetic_declination_radians: 0.0429351 # For lat/long 55.944831, -3.186998
160160
yaw_offset: 1.570796327 # IMU reads 0 facing magnetic north, not east

params/navsat_transform.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
navsat_transform_node:
22
ros__parameters:
33
# Frequency of the main run loop
4-
frequency: 30
4+
frequency: 30.0
55

66
# Delay time, in seconds, before we calculate the transform from the UTM frame to your world frame. This is especially
77
# important if you have use_odometry_yaw set to true. Defaults to 0.

0 commit comments

Comments
 (0)