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

CUDA aware ROS node

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

gajan gravatar image


I am a CUDA newbie. I managed to install CUDA on my lucid (Ref: ) and I am able to run all the examples in the SDK. Now I am trying to have CUDA aware ros node.

I tried 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 ? (


edit retag flag offensive close merge delete


hello , my question ,can you give me some advice about above question/ thanks

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

2 Answers

Sort by ยป oldest newest most voted

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

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

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

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


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

Seen: 1,932 times

Last updated: Sep 17 '12