Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not receiving map in real time #37

Open
saqihussainkalan opened this issue Apr 16, 2024 · 0 comments
Open

Not receiving map in real time #37

saqihussainkalan opened this issue Apr 16, 2024 · 0 comments

Comments

@saqihussainkalan
Copy link

saqihussainkalan commented Apr 16, 2024

Setup:
Ubuntu 20.04 LTS
ROS Noetic

i have used correctly installed the slam karto but after launching this i am only able to see map statically like
if i move then its not generating anything, or map does not gets update in real time (so it is fixed)

my graph goes like this

                map (slam_karto)
                |
                └── odom (odom_to_base_link)
                        |
                        └── base_link
                                |
                                ├── laser (base_link_to_laser)
                                └── imu (imu_filter)

here is my launch file of static transform

<launch>
   <node pkg="tf2_ros" type="static_transform_publisher" name="odom_to_base_link" args="0 0 0 0 0 0 /odom /base_link ">        
    <node pkg="tf2_ros" type="static_transform_publisher" name="base_link_to_laser_link" args="0 0 0 0 0 0 /base_link /laser ">
</launch>

and this is my slam karto launch file

<launch>

<param name="/use_sim_time" value="false" />
  <node pkg="slam_karto" type="slam_karto" name="slam_karto" output="screen">
    <param name="scan_topic" value="scan" />
    <param name="odom_frame" value="odom"/>
    <param name="map_update_interval" value="15"/>
    <param name="resolution" value="0.025"/>
    <param name="range_threshold" value="12.0" />
    <param name="use_scan_matching" value="true" />
  </node>
</launch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant