Commit f48cbba
committed
fix(demos/ota): broadcast map -> odom continuously when robot is idle
AMCL only broadcast its map->odom TF after the robot drove
update_min_d (0.25 m) or rotated update_min_a (0.2 rad). The demo's
flow has the robot sitting still while the operator inspects the
Foxglove dashboard - so the map frame never showed up in the Display
Frame dropdown until they published a goal and the robot actually
started moving. Foxglove just sat in 'Missing transform from frame
<map>' for the whole pre-OTA narrative.
Set both update_min_d and update_min_a to 0 so AMCL broadcasts on
every laser scan. Also drops the duplicate keys that were sitting
below the original block - they were silently overriding the values
I'd just added.1 parent 602ad90 commit f48cbba
1 file changed
Lines changed: 8 additions & 2 deletions
File tree
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
52 | 60 | | |
53 | | - | |
54 | | - | |
55 | 61 | | |
56 | 62 | | |
57 | 63 | | |
| |||
0 commit comments