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

Mappping problem #13

Open
surajmahangade opened this issue Jul 8, 2020 · 6 comments
Open

Mappping problem #13

surajmahangade opened this issue Jul 8, 2020 · 6 comments

Comments

@surajmahangade
Copy link

I tried mappping a environment using your model in gazebo.But the map dissappears after moving for some time.
Here is the link to the video
https://drive.google.com/file/d/1Oniq8bKh_OOSfb23sV2u_62Ci7ZQnFue/view?usp=sharing

and my tf_tree
Screenshot from 2020-07-07 19-02-23

Any idea what might be wrong.

Thank you

@avbokovoy
Copy link
Member

Can you post your .launch file? Guess it's RTAB-Map memory parameter.

@surajmahangade
Copy link
Author

surajmahangade commented Aug 4, 2020

<launch>
  <node pkg="rtabmap_ros" type="rtabmap" name="rtabmap">
    <param name="RGBD/LinearUpdate" value="0"/>
    <param name="RGBD/AngularUpdate" value="0"/>
    <param name="Rtabmap/DetectionRate" value="5"/>
    <param name="Rtabmap/MemoryThr" value="100"/>
    <param name="Kp/DetectorStrategy" value="2"/>
    <param name="Kp/MaxFeatures" value="2000"/>
    <param name="frame_id" value="world"/>
    <param name="odom_topic"  value="/tello/odom"/>
    <param name="RGBD/CreateOccupancyGrid" value="true"/>
    <param name="Grid/3D" value="true"/>
    <param name="Grid/FromDepth" value="true"/>
    <remap from="/odom" to="/tello/odom" />

    
    <param name="approx_sync"  value="true"/>
  </node> 

  <node pkg="tx2_fcnn_node" type="tx2_fcnn_node" name="tx2_fcnn_node">
    <param name="input_width" value="320"/>
    <param name="input_height" value="240"/>
    <param name="use_camera" value="false"/>
    <param name="camera_mode" value="-1"/>
    <param name="camera_link" value="tello/camera_front"/>
    <param name="depth_link" value="tello/camera_front"/>
    <param name="engine_name" value="test_engine.trt"/>
    <param name="calib_name" value="tx2_camera_calib.yaml"/>
    <param name="input_name" value="tf/Placeholder"/>
    <param name="output_name" value="tf/Reshape"/>
    <param name="mean_r" value="123.0"/>
    <param name="mean_g" value="115.0"/>
    <param name="mean_b" value="101.0"/>
    <remap from="/image" to="/tello/camera/image_raw" />
  </node>

</launch>

This is the content of the launch file

@avbokovoy
Copy link
Member

avbokovoy commented Aug 4, 2020

Yes, it's RTAB-Map related issue. Try changing Rtabmap/MemoryThr parameter to 0.

@surajmahangade
Copy link
Author

surajmahangade commented Aug 5, 2020

I changed the parameter in launch file.
That didn't work.
Still facing the same problem.
Anything else it can be?

@aayushi363
Copy link

Yes, it's RTAB-Map related issue. Try changing Rtabmap/MemoryThr parameter to 0.

Facing the same issue. Tried the possible solutions suggested by you ...no progress

@avbokovoy
Copy link
Member

@aayushi363 @surajmahangade Can you provide rosbag files without RTAB-Map and tx2_fcnn_node output, so I can check the issue myself?

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

3 participants