-
Notifications
You must be signed in to change notification settings - Fork 3
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
Not able to get segmented output #7
Comments
Hello @yash4242, and thank you for your feedback. I have tried to replicate what you have done, I have come to the same problem. I believe that I know where the problem lies, and it's due to the rosbag. From what I have seen, you are using the virtual_dataset, and I believe there are some parameters on the launch file that are not set correctly for the virtual dataset. So one workaround would be to try the real_dataset, which should hopefully work. One thing that also might save you time is that you don't really need to copy the rosbag inside the docker container. You can run it immediately from your local pc.
Hope it helps! If the problem persists let me know. |
Thank you for your repy! real_dataset works. Also, thanks for sharing the method to avoid the
Thank you again! :) |
Hey @yash4242. I think I have found the problem why the virtual dataset is not working. The reason is that the odometry is missing from some reason. Thus, a virtual dataset cannot be used, at least the one we are currently providing. (thanks for noticing that). Regarding the warning you are getting in rviz, that should not cause any problem. Since the rosbag is broken, there is no way for it to work, at least that I know of. The workaround would either be to just test it with the real_dataset, or if we find some virtual dataset that is not broken, then we would update the current available to one that works (But no promises). Nevertheless, you can also test with your own rosbags, or even with your real robot if you have one. The only requirements are that you have a pointcloud which is being published to Hope it helps! |
Hello @yash4242 I have managed to fix the issue with the virtual dataset. There was just a param of If you want to use S-Graphs on your custom dataset it should be quite straightforward. You can create any indoor environment in gazebo as you wish and can use robot simulators like TurtleBot mounted with 3D LiDAR. You just need to make sure you have a base_frame for your robot called With the above setup if you just run the launch file with the same params for the virtual dataset S-graphs should work. Also, note in this current docker version we have not provided the cpp files for some of our code, we plan to make it open-source soon |
Hello @hridaybavle, Thank you for addressing the virtual_dataset issue! Will it be possible for the authors to share the robot's files used for creating the virtual dataset please? We are looking to run SGraphs+ on matterport3D dataset, which is made for Habitat Sim (which has .glb files for each indoor scene), and does not use ROS at all. Can you suggest some ways how we can bridge the Habitat-ROS porting issue? Thanks a lot! |
Hello @yash4242 sorry for the delayed response, did you manage to it get it to work or else I can share with you the xacro we were using? In our simulation, we used the champ and mounted it with the velodyne lidar. Ideally, you should be able to use the Velodyne description in the case of Turtlebot as well. |
Hello,
I pulled the image, ran it in a container. did a
docker cp
to take the virtual dataset bagfile into the container.The bagfile is placed in
/root/s_graphs_ws/src/s_graphs/dataset/
path inside the container. Imkdir
'd thedataset
folder, anddocker cp
'd the bagfile inside of it.Then
exec -it bash
in a few terminal windows to enter the container from multiple terminals. On one of them, I runroslaunch s_graphs s_graphs.launch env:=virtual use_free_space_graph:=true 2>/dev/null
in/root/s_graphs_ws/src/s_graphs
directory. This gives the following output:The process is running in foreground, and the bash prompt does not show up, and then I run
rosbag play <bagfile name> --clock
in the directory where the bagfile exists.And the bagfile does play. When I open rviz in according to the given commands, and when i try to subscribe to topics like
/floor_plan/floor_data
or/room_segmentation/room_data
or/s_graphs/map_points
, there is no visualization. Although/platform/camera/rgb/image_raw
does show an output.Also, when I try to echo these rostopics, there is no chatter on them. For example:
The is clock is really being published:
And I think that is why rviz is not able to show the visualisations because there is no output on such topics. Please help.
PS. The command to run the image in a container throws errors, I had to figure out a different way to run it in a container,. I ran it like the following (This shouldn't be the reason of no output, but still):
The text was updated successfully, but these errors were encountered: