Closed mac137 closed 3 years ago
Ofc the map does not grow because I put a static transform between odom
and base_frame
which is wrong. There should be an odometry method that keeps computing the relative pose between these two frames.
Ofc the map does not grow because I put a static transform between
odom
andbase_frame
which is wrong. There should be an odometry method that keeps computing the relative pose between these two frames.
Hi @maciej-3
I am having the similar issue. Did providing the odometry
method between two frames
worked?
How did you solve this?
Regards,
Hi @amjack0
I wrote a simple scan-to-scan odometry node for my lidar and it works good enough for this slam package.
Required Info:
sudo apt install ros-foxy-slam-toolbox
as well as from the source (with proper sourcing of the environment). The same behavior in both cases.Steps to reproduce issue
I provide the static transform between my lidar
base_scan
and odom frame 'odom' inonline_sync_launch.py
:... and I modify
mapper_params_online_sync.yaml
like this:and then I do
ros2 launch slam_toolbox online_sync_launch.py
Expected behavior
The map should grow and build progressively as my lidar moves.
Actual behavior
The map stays the same after its initialization by the package like this:
and all the time after the initialization, the map stays as above even though the lidar moved and rotated a lot:
Additional information
After running
ros2 run tf2_tools view_frames.py
I get this TF tree:and when I check the transform between
map
andodom
is stays the same all the time:The console displays this all the time:
Any idea what I do wrong? Thanks!