ethz-asl / rovio

Other
1.12k stars 506 forks source link

Installation on odroid #181

Closed lguanrui closed 6 years ago

lguanrui commented 6 years ago

Hey guys,

I'm trying to install ROVIO on Odroid XU4 but I constantly got killed during the catkin build. I have tried with catkin build -j2 or j1 but neither of them works. Here is the error I got from the catkin build: screenshot from 2018-06-07 16-46-52

Hope to hear some help soon Regards lguanrui

mhkabir commented 6 years ago

Try enabling swap space.

lguanrui commented 6 years ago

Hey mhkabir,

Thanks for the reply. The swap space idea worked in a way. I assigned 2GB swap space for the odroid and it still got killed when building the rovio_rosbag_node. However it successfully built without building rovio_rosbag_node. I tried to run the rovio_node with my camera but it gave me this following error, do you have any idea? screenshot from 2018-06-08 15-28-26

Hope to hear you soon Thanks!! lguanrui

lguanrui commented 6 years ago

The package successfully built after I assigned 4GB swap space!! but still it gave me the above error.

mhkabir commented 6 years ago

Did you enable building SCENE? Looks like it tries to run the Scene window and fails because it's a headless setup. Try building without Scene.

catkin build rovio --cmake-args -DCMAKE_BUILD_TYPE=Release -DMAKE_SCENE=OFF

lguanrui commented 6 years ago

Hi mhkabir,

window

I think I figured why there was the bug. The bug exists because the display of the image tends to come out but I was trying to run it through ssh connection to the Odroid, where the display is not allowed. The photo of the display window is shown above

Is this the Scene window that you mentioned? If it is, then the case will be that I tried to run the command you showed but the window wasn't disabled at all. Is there any setting that I can tune? If it is not, could you kindly tell me how to disable the window I showed in the screenshot?

Regards, lguanrui

mhkabir commented 6 years ago

Ah okay it's the visualiser window. You can disable it by setting doFrameVisualisation to false in rovio.info

lguanrui commented 6 years ago

Thank you so much!! It did the trick!