Giter VIP home page Giter VIP logo

Comments (10)

uestyhox1 avatar uestyhox1 commented on July 4, 2024

我也有相同的问题
roslaunch vins rtabmap_vins.launch
... logging to /home/kd/.ros/log/9c9d253e-cdd7-11ed-a245-d4548bbd70f4/roslaunch-kd-Dell-G15-5511-5070.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://kd-Dell-G15-5511:41655/

SUMMARY

CLEAR PARAMETERS

  • /points_xyzrgb/
  • /rtabmap/rtabmap/

PARAMETERS

  • /points_xyzrgb/approx_sync: True
  • /points_xyzrgb/approx_sync_max_interval: 0.0
  • /points_xyzrgb/decimation: 4.0
  • /points_xyzrgb/voxel_size: 0.0
  • /rosdistro: melodic
  • /rosversion: 1.14.13
  • /rtabmap/rtabmap/Mem/IncrementalMemory: true
  • /rtabmap/rtabmap/Mem/InitWMWithAllNodes: false
  • /rtabmap/rtabmap/approx_sync: True
  • /rtabmap/rtabmap/config_path:
  • /rtabmap/rtabmap/database_path: ~/.ros/rtabmap.db
  • /rtabmap/rtabmap/frame_id: camera_link
  • /rtabmap/rtabmap/gen_depth: False
  • /rtabmap/rtabmap/gen_depth_decimation: 1
  • /rtabmap/rtabmap/gen_depth_fill_holes_error: 0.1
  • /rtabmap/rtabmap/gen_depth_fill_holes_size: 0
  • /rtabmap/rtabmap/gen_depth_fill_iterations: 1
  • /rtabmap/rtabmap/gen_scan: False
  • /rtabmap/rtabmap/ground_truth_base_frame_id:
  • /rtabmap/rtabmap/ground_truth_frame_id:
  • /rtabmap/rtabmap/initial_pose:
  • /rtabmap/rtabmap/landmark_angular_variance: 9999.0
  • /rtabmap/rtabmap/landmark_linear_variance: 0.0001
  • /rtabmap/rtabmap/map_frame_id: map
  • /rtabmap/rtabmap/odom_frame_id:
  • /rtabmap/rtabmap/odom_frame_id_init:
  • /rtabmap/rtabmap/odom_sensor_sync: False
  • /rtabmap/rtabmap/odom_tf_angular_variance: 0.001
  • /rtabmap/rtabmap/odom_tf_linear_variance: 0.001
  • /rtabmap/rtabmap/publish_tf: True
  • /rtabmap/rtabmap/queue_size: 200
  • /rtabmap/rtabmap/scan_cloud_max_points: 0
  • /rtabmap/rtabmap/subscribe_depth: True
  • /rtabmap/rtabmap/subscribe_rgb: True
  • /rtabmap/rtabmap/subscribe_rgbd: False
  • /rtabmap/rtabmap/subscribe_scan: False
  • /rtabmap/rtabmap/subscribe_scan_cloud: False
  • /rtabmap/rtabmap/subscribe_scan_descriptor: False
  • /rtabmap/rtabmap/subscribe_stereo: False
  • /rtabmap/rtabmap/subscribe_user_data: False
  • /rtabmap/rtabmap/wait_for_transform_duration: 0.2

NODES
/
iris_0_camera_link_to_depth (tf/static_transform_publisher)
points_xyzrgb (nodelet/nodelet)
rviz (rviz/rviz)
/rtabmap/
rtabmap (rtabmap_ros/rtabmap)

ROS_MASTER_URI=http://localhost:11311

process[iris_0_camera_link_to_depth-1]: started with pid [5101]
process[rtabmap/rtabmap-2]: started with pid [5102]
process[rviz-3]: started with pid [5104]
process[points_xyzrgb-4]: started with pid [5109]
type is rtabmap_ros/point_cloud_xyzrgb
[ INFO] [1680056242.637919464]: Starting node...
[ INFO] [1680056242.669226270, 1910.745000000]: Approximate time sync = true
[ INFO] [1680056242.694850963]: Initializing nodelet with 16 worker threads.
[ INFO] [1680056242.766467473]: /rtabmap/rtabmap(maps): map_filter_radius = 0.000000
[ INFO] [1680056242.766498083]: /rtabmap/rtabmap(maps): map_filter_angle = 30.000000
[ INFO] [1680056242.766506306]: /rtabmap/rtabmap(maps): map_cleanup = true
[ INFO] [1680056242.766514443]: /rtabmap/rtabmap(maps): map_always_update = false
[ INFO] [1680056242.766521761]: /rtabmap/rtabmap(maps): map_empty_ray_tracing = true
[ INFO] [1680056242.766529863]: /rtabmap/rtabmap(maps): cloud_output_voxelized = true
[ INFO] [1680056242.766539457]: /rtabmap/rtabmap(maps): cloud_subtract_filtering = false
[ INFO] [1680056242.766548854]: /rtabmap/rtabmap(maps): cloud_subtract_filtering_min_neighbors = 2
[ INFO] [1680056242.766707423]: /rtabmap/rtabmap(maps): octomap_tree_depth = 16
[ INFO] [1680056242.780005600]: rtabmap: frame_id = camera_link
[ INFO] [1680056242.780030628]: rtabmap: map_frame_id = map
[ INFO] [1680056242.780040672]: rtabmap: log_to_rosout_level = 4
[ INFO] [1680056242.780052829]: rtabmap: initial_pose =
[ INFO] [1680056242.780062344]: rtabmap: use_action_for_goal = false
[ INFO] [1680056242.780075812]: rtabmap: tf_delay = 0.050000
[ INFO] [1680056242.780086274]: rtabmap: tf_tolerance = 0.100000
[ INFO] [1680056242.780095883]: rtabmap: odom_sensor_sync = false
[ INFO] [1680056242.780443232]: rtabmap: gen_scan = false
[ INFO] [1680056242.780453483]: rtabmap: gen_depth = false
[ INFO] [1680056242.863825441]: Setting RTAB-Map parameter "Mem/IncrementalMemory"="true"
[ INFO] [1680056242.864043174]: Setting RTAB-Map parameter "Mem/InitWMWithAllNodes"="false"
[ INFO] [1680056243.025297428, 1911.105000000]: RTAB-Map detection rate = 1.000000 Hz
[ INFO] [1680056243.025755422, 1911.105000000]: rtabmap: Deleted database "/home/kd/.ros/rtabmap.db" (--delete_db_on_start or -d are set).
[ INFO] [1680056243.025784639, 1911.105000000]: rtabmap: Using database from "/home/kd/.ros/rtabmap.db" (0 MB).
[ INFO] [1680056243.080587246, 1911.161000000]: rtabmap: Database version = "0.20.22".
[ INFO] [1680056243.080615334, 1911.161000000]: rtabmap: SLAM mode (Mem/IncrementalMemory=true)
[ INFO] [1680056243.091039545, 1911.169000000]: /rtabmap/rtabmap: subscribe_depth = true
[ INFO] [1680056243.091063616, 1911.169000000]: /rtabmap/rtabmap: subscribe_rgb = true
[ INFO] [1680056243.091071622, 1911.169000000]: /rtabmap/rtabmap: subscribe_stereo = false
[ INFO] [1680056243.091078898, 1911.169000000]: /rtabmap/rtabmap: subscribe_rgbd = false (rgbd_cameras=1)
[ INFO] [1680056243.091086684, 1911.169000000]: /rtabmap/rtabmap: subscribe_odom_info = false
[ INFO] [1680056243.091095020, 1911.169000000]: /rtabmap/rtabmap: subscribe_user_data = false
[ INFO] [1680056243.091105959, 1911.169000000]: /rtabmap/rtabmap: subscribe_scan = false
[ INFO] [1680056243.091115642, 1911.169000000]: /rtabmap/rtabmap: subscribe_scan_cloud = false
[ INFO] [1680056243.091126526, 1911.169000000]: /rtabmap/rtabmap: subscribe_scan_descriptor = false
[ INFO] [1680056243.091135749, 1911.169000000]: /rtabmap/rtabmap: queue_size = 200
[ INFO] [1680056243.091145297, 1911.169000000]: /rtabmap/rtabmap: approx_sync = true
[ INFO] [1680056243.091298553, 1911.169000000]: Setup depth callback
[ INFO] [1680056243.100966621, 1911.181000000]:
/rtabmap/rtabmap subscribed to (approx sync):
/vins_estimator/odometry
/iris_0/realsense/depth_camera/color/image_raw
/iris_0/realsense/depth_camera/depth/image_raw
/iris_0/realsense/depth_camera/color/camera_info
[ INFO] [1680056243.171295208, 1911.249000000]: rtabmap 0.20.22 started...
[ERROR] [1680056243.393611314, 1911.473000000]: PluginlibFactory: The plugin for class 'octomap_rviz_plugin/ColorOccupancyGrid' failed to load. Error: According to the loaded plugin descriptions the class octomap_rviz_plugin/ColorOccupancyGrid with base class type rviz::Display does not exist. Declared types are Submaps moveit_rviz_plugin/MotionPlanning moveit_rviz_plugin/PlanningScene moveit_rviz_plugin/RobotState moveit_rviz_plugin/Trajectory rtabmap_ros/Info rtabmap_ros/MapCloud rtabmap_ros/MapGraph rviz/Axes rviz/Camera rviz/DepthCloud rviz/Effort rviz/FluidPressure rviz/Grid rviz/GridCells rviz/Illuminance rviz/Image rviz/InteractiveMarkers rviz/LaserScan rviz/Map rviz/Marker rviz/MarkerArray rviz/Odometry rviz/Path rviz/PointCloud rviz/PointCloud2 rviz/PointStamped rviz/Polygon rviz/Pose rviz/PoseArray rviz/PoseWithCovariance rviz/Range rviz/RelativeHumidity rviz/RobotModel rviz/TF rviz/Temperature rviz/WrenchStamped rviz_plugin_tutorials/Imu
[ WARN] [1680056248.102549689, 1916.181000000]: /rtabmap/rtabmap: Did not receive data since 5 seconds! Make sure the input topics are published ("$ rostopic hz my_topic") and the timestamps in their header are set. If topics are coming from different computers, make sure the clocks of the computers are synchronized ("ntpdate"). If topics are not published at the same rate, you could increase "queue_size" parameter (current=200).
/rtabmap/rtabmap subscribed to (approx sync):
/vins_estimator/odometry
/iris_0/realsense/depth_camera/color/image_raw
/iris_0/realsense/depth_camera/depth/image_raw
/iris_0/realsense/depth_camera/color/camera_info
[ WARN] [1680056253.104938653, 1921.181000000]: /rtabmap/rtabmap: Did not receive data since 5 seconds! Make sure the input topics are published ("$ rostopic hz my_topic") and the timestamps in their header are set. If topics are coming from different computers, make sure the clocks of the computers are synchronized ("ntpdate"). If topics are not published at the same rate, you could increase "queue_size" parameter (current=200).
/rtabmap/rtabmap subscribed to (approx sync):
/vins_estimator/odometry
/iris_0/realsense/depth_camera/color/image_raw
/iris_0/realsense/depth_camera/depth/image_raw
/iris_0/realsense/depth_camera/color/camera_info
[ WARN] [1680056258.109487078, 1926.181000000]: /rtabmap/rtabmap: Did not receive data since 5 seconds! Make sure the input topics are published ("$ rostopic hz my_topic") and the timestamps in their header are set. If topics are coming from different computers, make sure the clocks of the computers are synchronized ("ntpdate"). If topics are not published at the same rate, you could increase "queue_size" parameter (current=200).
/rtabmap/rtabmap subscribed to (approx sync):
/vins_estimator/odometry
/iris_0/realsense/depth_camera/color/image_raw
/iris_0/realsense/depth_camera/depth/image_raw
/iris_0/realsense/depth_camera/color/camera_info
[ WARN] [1680056263.112769409, 1931.181000000]: /rtabmap/rtabmap: Did not receive data since 5 seconds! Make sure the input topics are published ("$ rostopic hz my_topic") and the timestamps in their header are set. If topics are coming from different computers, make sure the clocks of the computers are synchronized ("ntpdate"). If topics are not published at the same rate, you could increase "queue_size" parameter (current=200).
/rtabmap/rtabmap subscribed to (approx sync):
/vins_estimator/odometry
/iris_0/realsense/depth_camera/color/image_raw
/iris_0/realsense/depth_camera/depth/image_raw
/iris_0/realsense/depth_camera/color/camera_info
[ WARN] [1680056268.115100009, 1936.181000000]: /rtabmap/rtabmap: Did not receive data since 5 seconds! Make sure the input topics are published ("$ rostopic hz my_topic") and the timestamps in their header are set. If topics are coming from different computers, make sure the clocks of the computers are synchronized ("ntpdate"). If topics are not published at the same rate, you could increase "queue_size" parameter (current=200).
/rtabmap/rtabmap subscribed to (approx sync):
/vins_estimator/odometry
/iris_0/realsense/depth_camera/color/image_raw
/iris_0/realsense/depth_camera/depth/image_raw
/iris_0/realsense/depth_camera/color/camera_info
[ WARN] [1680056273.117830714, 1941.181000000]: /rtabmap/rtabmap: Did not receive data since 5 seconds! Make sure the input topics are published ("$ rostopic hz my_topic") and the timestamps in their header are set. If topics are coming from different computers, make sure the clocks of the computers are synchronized ("ntpdate"). If topics are not published at the same rate, you could increase "queue_size" parameter (current=200).
/rtabmap/rtabmap subscribed to (approx sync):
/vins_estimator/odometry
/iris_0/realsense/depth_camera/color/image_raw
/iris_0/realsense/depth_camera/depth/image_raw
/iris_0/realsense/depth_camera/color/camera_info
[ WARN] [1680056278.120715940, 1946.181000000]: /rtabmap/rtabmap: Did not receive data since 5 seconds! Make sure the input topics are published ("$ rostopic hz my_topic") and the timestamps in their header are set. If topics are coming from different computers, make sure the clocks of the computers are synchronized ("ntpdate"). If topics are not published at the same rate, you could increase "queue_size" parameter (current=200).
/rtabmap/rtabmap subscribed to (approx sync):
/vins_estimator/odometry
/iris_0/realsense/depth_camera/color/image_raw
/iris_0/realsense/depth_camera/depth/image_raw
/iris_0/realsense/depth_camera/color/camera_info
[ WARN] [1680056283.124468668, 1951.181000000]: /rtabmap/rtabmap: Did not receive data since 5 seconds! Make sure the input topics are published ("$ rostopic hz my_topic") and the timestamps in their header are set. If topics are coming from different computers, make sure the clocks of the computers are synchronized ("ntpdate"). If topics are not published at the same rate, you could increase "queue_size" parameter (current=200).
/rtabmap/rtabmap subscribed to (approx sync):
/vins_estimator/odometry
/iris_0/realsense/depth_camera/color/image_raw
/iris_0/realsense/depth_camera/depth/image_raw
/iris_0/realsense/depth_camera/color/camera_info

5ea4e3e0854c7e5f400a691d41cb0a98

from xtdrone.

uestyhox1 avatar uestyhox1 commented on July 4, 2024

我也是vio可以但就改了一下launch换成深度相机,就bug了

from xtdrone.

silkmeloni avatar silkmeloni commented on July 4, 2024

我将rtabmap_vins.launch文件中的iris0/depth_camera_base改成了depth_camera_base,问题应该是得到了解决。

from xtdrone.

silkmeloni avatar silkmeloni commented on July 4, 2024

from xtdrone.

uestyhox1 avatar uestyhox1 commented on July 4, 2024

请问这里的修改逻辑是什么呢?是要把iris0全都改掉嘛?
launch文件中:
















from xtdrone.

silkmeloni avatar silkmeloni commented on July 4, 2024

from xtdrone.

uestyhox1 avatar uestyhox1 commented on July 4, 2024

7a186b77eb5b263d4b7fda314ad569c9

from xtdrone.

uestyhox1 avatar uestyhox1 commented on July 4, 2024

好的我试下,谢谢

from xtdrone.

uestyhox1 avatar uestyhox1 commented on July 4, 2024

我修改之后还是没有成功,但问题可能还是在这个launch文件中,警告的内容实质上没有变化
[ERROR] [1680060652.867450071, 2162.593000000]: PluginlibFactory: The plugin for class 'octomap_rviz_plugin/ColorOccupancyGrid' failed to load. Error: According to the loaded plugin descriptions the class octomap_rviz_plugin/ColorOccupancyGrid with base class type rviz::Display does not exist. Declared types are Submaps moveit_rviz_plugin/MotionPlanning moveit_rviz_plugin/PlanningScene moveit_rviz_plugin/RobotState moveit_rviz_plugin/Trajectory rtabmap_ros/Info rtabmap_ros/MapCloud rtabmap_ros/MapGraph rviz/Axes rviz/Camera rviz/DepthCloud rviz/Effort rviz/FluidPressure rviz/Grid rviz/GridCells rviz/Illuminance rviz/Image rviz/InteractiveMarkers rviz/LaserScan rviz/Map rviz/Marker rviz/MarkerArray rviz/Odometry rviz/Path rviz/PointCloud rviz/PointCloud2 rviz/PointStamped rviz/Polygon rviz/Pose rviz/PoseArray rviz/PoseWithCovariance rviz/Range rviz/RelativeHumidity rviz/RobotModel rviz/TF rviz/Temperature rviz/WrenchStamped rviz_plugin_tutorials/Imu
[ WARN] [1680060657.642496705, 2167.373000000]: /rtabmap/rtabmap: Did not receive data since 5 seconds! Make sure the input topics are published ("$ rostopic hz my_topic") and the timestamps in their header are set. If topics are coming from different computers, make sure the clocks of the computers are synchronized ("ntpdate"). If topics are not published at the same rate, you could increase "queue_size" parameter (current=200).
/rtabmap/rtabmap subscribed to (approx sync):
/vins_estimator/odometry
/realsense/depth_camera/color/image_raw
/realsense/depth_camera/depth/image_raw
/realsense/depth_camera/color/camera_info
[ WARN] [1680060662.645575772, 2172.373000000]: /rtabmap/rtabmap: Did not receive data since 5 seconds! Make sure the input topics are published ("$ rostopic hz my_topic") and the timestamps in their header are set. If topics are coming from different computers, make sure the clocks of the computers are synchronized ("ntpdate"). If topics are not published at the same rate, you could increase "queue_size" parameter (current=200).
/rtabmap/rtabmap subscribed to (approx sync):
/vins_estimator/odometry
/realsense/depth_camera/color/image_raw
/realsense/depth_camera/depth/image_raw
/realsense/depth_camera/color/camera_info
[ WARN] [1680060667.648368084, 2177.373000000]: /rtabmap/rtabmap: Did not receive data since 5 seconds! Make sure the input topics are published ("$ rostopic hz my_topic") and the timestamps in their header are set. If topics are coming from different computers, make sure the clocks of the computers are synchronized ("ntpdate"). If topics are not published at the same rate, you could increase "queue_size" parameter (current=200).
/rtabmap/rtabmap subscribed to (approx sync):
/vins_estimator/odometry
/realsense/depth_camera/color/image_raw
/realsense/depth_camera/depth/image_raw
/realsense/depth_camera/color/camera_info
[ WARN] [1680060672.650552289, 2182.373000000]: /rtabmap/rtabmap: Did not receive data since 5 seconds! Make sure the input topics are published ("$ rostopic hz my_topic") and the timestamps in their header are set. If topics are coming from different computers, make sure the clocks of the computers are synchronized ("ntpdate"). If topics are not published at the same rate, you could increase "queue_size" parameter (current=200).
/rtabmap/rtabmap subscribed to (approx sync):
/vins_estimator/odometry
/realsense/depth_camera/color/image_raw
/realsense/depth_camera/depth/image_raw
/realsense/depth_camera/color/camera_info
[ WARN] [1680060677.653516938, 2187.373000000]: /rtabmap/rtabmap: Did not receive data since 5 seconds! Make sure the input topics are published ("$ rostopic hz my_topic") and the timestamps in their header are set. If topics are coming from different computers, make sure the clocks of the computers are synchronized ("ntpdate"). If topics are not published at the same rate, you could increase "queue_size" parameter (current=200).
/rtabmap/rtabmap subscribed to (approx sync):
/vins_estimator/odometry
/realsense/depth_camera/color/image_raw
/realsense/depth_camera/depth/image_raw
/realsense/depth_camera/color/camera_info
[ WARN] [16

from xtdrone.

Randall-W avatar Randall-W commented on July 4, 2024

启动仿真程序的地方不对,直接cd到~/XTDrone/sitl_config/launch,然后roslaunch indoor1.launch (对应的仿真文件)
直接roslaunch px4 indoor1.launch 就一直只有双目的信息没有rgbd信息

from xtdrone.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.