Raspberry Pi optimization [closed]
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.
I'm curious about this as well, especially with using a Raspberry Pi with the Turtlebot to save on power consumption and simplify charging.