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

Launch file to show the Map in Rviz from a bag file made from mp4 video? #160

Open
astronaut71 opened this issue Jun 4, 2018 · 4 comments

Comments

@astronaut71
Copy link

Hi

Im able to build and run the ORB_SLAM with the ExampleGroovyOrNewer.launch. But I can not see the map in RVIZ. First I uses the Example.bag file. so What I have done
Terminal1: roscore
Terminal2: cd ORB_SLAM
rosrun ORB_SLAM ORB_SLAM /Data/ORBvoc.txt Data/Settings.yaml
Terminal3: rosrun image_view image_view image:=/ORB_SLAM/Frame _autosize:=true
Terminal4: roslaunch ExampleGroovyOrNewer.launch
Terminal5: rosbag play --pause Example.bag

In RVIZ just showing the point clouds. But then how can I see the MAP and the pose in RVIZ? Also what settings do I need to see the map and pose in rviz when using my own bag file created from mp4 video?

Thanks

@astronaut71
Copy link
Author

this are the topics that are published and subscribed
Published:

/ORB_SLAM/Frame
/ORB_SLAM/Map
/camera/image_raw
/clicked_point
/clock
/image_view/output
/image_view/parameter_descriptions
/image_view/parameter_updates
/initialpose
/move_base_simple/goal
/rosout
/rosout_agg
/tf
Subscribed:
me:~$ rostopic list -s
/ORB_SLAM/Frame
/ORB_SLAM/Map
/ORB_SLAM/Map_array
/camera/image_raw
/rosout
/tf
/tf_static

@vyi
Copy link

vyi commented Mar 20, 2024

Were you able to solve this issue ?
I'm facing the same issue, ORB_SLAM is running but not able to see Pointcloud/Marker/Camera tracking. I just see the frame (image) with ORB features.

RViz warns about some invalid arguments but the message seems incomplete and is not helpful.

[ WARN] [1710916738.448925092]: Invalid argument "/ORB_SLAM/World" passed to canTransform argument source_frame in tf2 frame_ids cannot start with a '/' like:

@wxu67429
Copy link

Have you solved the problem? My Rviz also reported the same error.

[ WARN] [1710916738.448925092]: Invalid argument "/ORB_SLAM/World" passed to canTransform argument source_frame in tf2 frame_ids cannot start with a '/' like:

@vyi
Copy link

vyi commented Aug 10, 2024

Hi @wxu67429

Not able to resolve this error and couldn't find much help around it.
I moved from ORB_SLAM to ORB_SLAM2.
ORB_SLAM2 uses an external Visualization library called Pangolin. I chose to go with RAFALAMAO's branch

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

3 participants