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

Run package in our dataset #8

Open
bearsprogrammer opened this issue May 19, 2023 · 1 comment
Open

Run package in our dataset #8

bearsprogrammer opened this issue May 19, 2023 · 1 comment

Comments

@bearsprogrammer
Copy link

Hi, @kostaskonkk thanks for your hard work.
I'm interested in your results, so I want to test it in my dataset.

In case, my bag's details are as below.
Screenshot from 2023-05-19 15-19-38
Also frame_id is "laser_multi".
And I had modified some parameter in "example.launch" file for my case.
Screenshot from 2023-05-19 15-47-07

After that I ran it in terminal like this:

"~$ roslaunch datmo example.launch bag=:dataset_ntf"

And this is capture of result in rviz.
Screenshot from 2023-05-19 15-54-54
I think, the datmo package does not subscribe our scan data.
So, my question is, what am I missing part to run your code?

@kostaskonkk
Copy link
Owner

Hi @bearsprogrammer,
the first issue that I observe is that indeed the datmo package does not subscribe to your data. This is caused by the topic name, which is /scan_multi, while datmo subscribes to /scan

You can see the info of the two_robots.bag rosbag that is included with the packge that it contains LaserScan messages in the /scan topic.
image

The easiest way to solve this issue is to use the remap package.
I believe that if you add:
<remap from="/scan_multi" to="scan"/>
to example.launch then you will get a working example.

Thanks for giving datmo a try and I hope it works well for you. If you have any other questions let me know!

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

2 participants