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

Package running in 64 bit, not running in 32 bit

asked 2014-10-07 02:15:42 -0500

altella gravatar image

Hello all;

I have a package that uses PCL libraries and that works perfectly in Groovy and Hydro, both in 64 bit machines. In 32 bit machines, I can compile the package exactly the same way, without problems, but in execution it does not work. The callbacks in it go indredibly slow, sometimes taking more than a minute, when in 64 bit they work perfectly fine. Any possible causes for this package being stuck in 32 bit? I am runnning Ubuntu 12.04 64 bit with Hydro and Groovy, and Ubuntu 12.04 32 bit with Hydro.

Thank you all in advance,

edit retag flag offensive close merge delete

Comments

Can you please post the error that you get during execution?

Tirjen gravatar image Tirjen  ( 2014-10-07 02:39:11 -0500 )edit

It really gives no error... simply the callbacks are not executing at the rate specified

altella gravatar image altella  ( 2014-10-07 03:00:17 -0500 )edit

So are the callbacks executing at a lower rate or they are not executing at all? Are the two machines equivalent in terms of CPU, RAM etc?

Tirjen gravatar image Tirjen  ( 2014-10-07 04:01:24 -0500 )edit
1

It's quite possible that the additional instructions and optimizations available in 64-bit mode make a big performance difference.

ahendrix gravatar image ahendrix  ( 2014-10-07 04:02:11 -0500 )edit

I think they are executing, but a callback intended to run at 10 HZ, needs 80 seconds to enter for the first time

altella gravatar image altella  ( 2014-10-07 04:22:29 -0500 )edit

The PC's are the same in terms of CPU and RAM, but it seems that the computation required for cluster extraction in PCL makes a HUGE difference btw 32 bit and 64 bit versions of the same OS.

altella gravatar image altella  ( 2014-10-07 05:32:06 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-10-08 01:53:41 -0500

altella gravatar image

Solved, it is a mere computation problem, of quantity of RAM and processing power of 32 bit vs 64 bit. After downsampling the cloud, it goes just fine.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-10-07 02:15:42 -0500

Seen: 530 times

Last updated: Oct 07 '14