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

how to apply on carla-ros-bridge #69

Open
slinshady89 opened this issue Jun 16, 2019 · 5 comments
Open

how to apply on carla-ros-bridge #69

slinshady89 opened this issue Jun 16, 2019 · 5 comments

Comments

@slinshady89
Copy link

Hello I'm struggling to use libviso with my available topics. I want to use stereo_odometry on the right and left camera which coordinate systems are already parallel and only a translation in y in vehicle coordinates is applied. However after 'catkin_make' I neither find rosun stereo_odometer nor any of the other proposed packages. However, when I do 'catkin_make' they seem to be build.

image

image

@ysong-aceinna
Copy link

Hi, here is a demo.launch of how to use stereo_odometer, hope it is useful.
(https://github.com/srv/viso2/blob/25db160641faa5a1cb09147716d15dbba86c6bd5/viso2_ros/launch/demo.launch)

@slinshady89
Copy link
Author

I was able to use it and it starts now but I have an instant segmentation fault
image

@ysong-aceinna
Copy link

I used a bag file which was downloaded from here, and didn't encounter segmentation fault, maybe you can have a try.

@slinshady89
Copy link
Author

I found out that if I add some roll to one of the cameras it's not compensated in image_rect by stereo_image_proc. Probably the base_link isn't established correctly.
image
that's the transformation done by rosrun tf tf_echo ego_vehicle ego_vehicle/camera/rgb/left
image
But I think I get my segmentation fault because the tf couldn't be done and is to contrary to the identity matrix. left or right frame is no difference
image

@klintan
Copy link

klintan commented Sep 10, 2019

Pretty sure it is the same issue as this one #63 (comment)

as @ysong-aceinna mentions, using the height and width of the bag-files images will most likely fix the issue.

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