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

rosbag to pocolog OR running EDS directly with rosbags #4

Open
munirjojoverge opened this issue May 3, 2022 · 7 comments
Open

rosbag to pocolog OR running EDS directly with rosbags #4

munirjojoverge opened this issue May 3, 2022 · 7 comments
Assignees

Comments

@munirjojoverge
Copy link

Hi guys,
Thanks a lot for sharing this impressive work!
I see in the project webpage (https://rpg.ifi.uzh.ch/eds.html) that you offer to download the rosbags. Is there anyway to run EDS with rosbags? I might have missed it, but I haven't found any equivalent to "run_eds_logs.rb" that will allow us to run rosbags.
If the answer is "no", then...is there any way to convert from rosbag to pocolog to run it? I've see the opposite tool (pocolog2rosbag.py)

Thanks

@jhidalgocarrio jhidalgocarrio self-assigned this May 18, 2022
@jhidalgocarrio
Copy link
Collaborator

Hi,
Thanks for your comment.
Working in rosbag2pocolog.py, I agree it would be a nice tool.
In the meantime you might find the pocolog files (.log) in the dataset webpage. EDS cannot run rosbags because it is not based on ROS. Porting EDS to ROS should be straight forwards, by creating a node class similar to the Task class in the ROS ecosystem.

@huangfeng95
Copy link

2023-04-12 11-47-55屏幕截图
Hi,
I tried to subscribe to the rosbag file of EDS dataset using ROS, but encountered the problem shown in the figure when I was using CV_ Bridge:: toCvShare.
In my opinion, the step of the image should be 640 * 3=1920, but the fact seems to be different. Could you tell me how to subscribe to the image of this dataset? Thank you. @jhidalgocarrio

@jhidalgocarrio
Copy link
Collaborator

Hi @huangfeng95 ,
You are right. The step size should be 640 * 3=1920. However, I converted using step = 640 * 3 * 8 = 15360. (Multiplying by the number of bytes per channel). I did not see this issue before since I used rqt_bag <rosbag> to verify the images in the bag file, and rqt_bag does not check the step size. It correctly visualizes the images.

I will update the rosbag files in the server with the correct step number. In the meantime, just divide by 8 to get the correct step size in your local copy.

Thanks for noticing.

@huangfeng95
Copy link

Okay, I get it.
Thank you for your excellent work! @jhidalgocarrio

@AnotherFortnight
Copy link

@huangfeng95 Hello, have you successfully run EDS using rosbag? I also encountered this problem and don’t know how to run it using the stereo davis dataset mentioned in paper.

@huangfeng95
Copy link

@AnotherFortnight EDS seems to not support input in rosbag format.
Fortunately, the author uploaded the stereo Davis dataset in pocolog format on the server, such as bin,, hoping it can be helpful to you!

@AnotherFortnight
Copy link

@huangfeng95 Thank you so much! That helps a lot!

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

4 participants