Raspberry Pi optimization [closed]

asked 2012-08-19 10:24:24 -0600

slomobile gravatar image

updated 2014-01-28 17:13:22 -0600

ngrennan gravatar image

Trying to get ROS working on Raspberry Pi. Encountered problem here: http://answers.ros.org/question/34351/problem-building-ros-on-debian/

Rather than leave well enough alone I found http://qt-project.org/doc/qt-4.8/qtglobal.html#qreal-typedef

typedef qreal Typedef for double on all platforms except for those using CPUs with ARM architectures. On ARM-based platforms, qreal is a typedef for float for performance reasons.

That got me wondering how to optimize ROS for ARM platforms in general. Is the solution mentioned in the first link the best approach for this specific type of problem? Is there an automatic way to replace doubles with floats in areas where the extra precision is not needed, but the extra performance is; based on the target platform? Would it be OK to define floats and doubles both equal to the same length for ARM targets?

I'm a noob with ROS and Rpi and there will soon be huge numbers of us looking to combine the two in the most braindead fashions possible. The sooner ARM optimizations get pushed upstream the less pain everyone will feel when the wave of new users breaks.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2015-03-26 18:59:23.759733

Comments

I'm curious about this as well, especially with using a Raspberry Pi with the Turtlebot to save on power consumption and simplify charging.

Cerin gravatar imageCerin ( 2013-02-05 02:13:35 -0600 )edit