ANYbotics / elevation_mapping

Robot-centric elevation mapping for rough terrain navigation
BSD 3-Clause "New" or "Revised" License
1.36k stars 446 forks source link

problems with using RealSense D435i #158

Closed mark9714 closed 3 years ago

mark9714 commented 3 years ago

I got a rosbag recorded from RealSense D435i and slamware radar, "rostopic list" like this.

截屏2021-04-14 下午9 45 28

And this is the launch file modified by me.

截屏2021-04-14 下午9 42 59

I use the odom_to_pose.py to change the Odometry to PoseWithCovarianceStamped.

截屏2021-04-14 下午9 48 39

And here is my configure file "my.yaml".

截屏2021-04-14 下午9 49 30

However when I use "roslaunch elevation_mapping_demos simple_demo.launch" to start the launch file,I got some information like this.

截屏2021-04-14 下午9 55 43

And then it turns out to like this.

截屏2021-04-14 下午9 56 37

And I got nothing in Rviz.

截屏2021-04-14 下午9 56 55

Does anyone have any idea about it?

maximilianwulf commented 3 years ago

Hey, your tf data does not seem to be correct. How are you providing the tf information of the robot body? The provided pose seems to be fine.

naoya-kumagai commented 3 years ago

@mark9714 Did you figure this out? I'm trying to do something similar, and I'm interested.

mark9714 commented 3 years ago

yes,but I'm Chinese.My English isn't very well,I don't know how to express it.

------------------ 原始邮件 ------------------ 发件人: "ANYbotics/elevation_mapping" @.>; 发送时间: 2021年9月12日(星期天) 凌晨0:04 @.>; @.**@.>; 主题: Re: [ANYbotics/elevation_mapping] problems with using RealSense D435i (#158)

@mark9714 Did you figure this out? I'm trying to do something similar, and I'm interested.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

naoya-kumagai commented 3 years ago

@mark9714 If you can post your working code that would be great!

maximilianwulf commented 3 years ago

Hey @naoya-kumagai, I am pretty sure that the issue is related to the simulated/replayed clock.

Check out this answer, I guess it will solve your issue: https://answers.ros.org/question/201948/tf_old_data-ignoring-data-from-the-past-for-frame-odom/?answer=201973#post-id-201973