ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

CUDA aware ROS node

asked 2011-10-01 23:49:23 -0600

gajan gravatar image

Hi,

I am a CUDA newbie. I managed to install CUDA on my lucid (Ref: http://ubuntuforums.org/showthread.php?t=1625433 ) and I am able to run all the examples in the SDK. Now I am trying to have CUDA aware ros node.

I tried http://www.ros.org/wiki/cuda. But it is compiling forever (> 3hrs ). [ I killed the make and it messed up with my nvidia driver. I then have to re-install the nvdia drivers]

Is there anything else I should do before rosmaking the gpgpu stack ? (http://www.ros.org/wiki/cuda).

Gajan

edit retag flag offensive close merge delete

Comments

hello , my question http://answers.ros.org/question/60862/how-to-use-cuda-in-ros-furete/ ,can you give me some advice about above question/ thanks

longzhixi123 gravatar image longzhixi123  ( 2013-04-24 16:08:30 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
2

answered 2011-10-02 10:41:32 -0600

Mac gravatar image

I suggest that you not use the gpgpu stack at all; instead, install CUDA like you would any third-party library dependency, and add CUDA-appropriate lines to your package's CMakeLists.

Put differently, treat your ROS package like you would any other compile that needs CUDA; don't try to get CUDA through ROS.

edit flag offensive delete link more
1

answered 2012-09-17 08:42:31 -0600

seanarm gravatar image

The reason for the slow compile is that you probably already have the CUDA SDK installed. The rosmake is getting caught on this:

A previous version of CUDA was found in /usr/local/cuda/bin Would you like to uninstall? (yes/no/abort): Signal caught, cleaning up -------------------------------------------------------------------------------}

The above is the output after I aborted my rosmake.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-10-01 23:49:23 -0600

Seen: 1,998 times

Last updated: Sep 17 '12