From: Abusus <isa...@ya...> - 2011-12-12 15:16:21
|
Hello all, I have a Robovero baseboard with an Overo Fire COM connected to it. I would like to write a complex sensor fusion algorithm on the Overo to get roll, pitch and yaw angels of the board. But I am really woundering why the supplied software examples are writing in Python? As far as I know, Python is a script programming language and cannot compile. For most embedded system with high dynamic, like robotics, it is faster and more convenient to run a compiled binary on the Overo board. This can be achieved for example by compiling a c/c++ code. My question is: is it possible to get the same software example written in c/c++ language instead to Python? Regards -- View this message in context: http://gumstix.8.n6.nabble.com/C-C-example-tp1582323p1582323.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: Neil M. <ne...@gu...> - 2011-12-12 21:39:55
|
On Mon, Dec 12, 2011 at 7:16 AM, Abusus <isa...@ya...> wrote: > Hello all, > I have a Robovero baseboard with an Overo Fire COM connected to it. I would > like to write a complex sensor fusion algorithm on the Overo to get roll, > pitch and yaw angels of the board. But I am really woundering why the > supplied software examples are writing in Python? As far as I know, Python > is a script programming language and cannot compile. For most embedded > system with high dynamic, like robotics, it is faster and more convenient to > run a compiled binary on the Overo board. This can be achieved for example > by compiling a c/c++ code. My question is: is it possible to get the same > software example written in c/c++ language instead to Python? > Regards See the answer here: http://robovero.org/lab/questions/is-it-possible-to-easily-use-c-on-the-robovero-board-rather-than-the-python-discussed-here-is-it-as-simple-as-just-using-a-c-compiler-that-is-compatible-with-the-robovero-microcontroller/ - Neil |
From: Trevor W. <two...@gm...> - 2011-12-12 22:13:19
|
Hi Neil, On Mon, Dec 12, 2011 at 4:39 PM, Neil MacMunn <ne...@gu...> wrote: > http://robovero.org/lab/questions/is-it-possible-to-easily-use-c-on-the-robovero-board-rather-than-the-python-discussed-here-is-it-as-simple-as-just-using-a-c-compiler-that-is-compatible-with-the-robovero-microcontroller/ Awesome documentation! If I could just suggest one, small tweak. On the crosstool-NG tab at http://robovero.org/index.php/tutorials/toolchain instead of copying the config manually you could just invoke: $ ct-ng arm-bare_newlib_cortex_m3_nommu-eabi And crosstool-NG will find and copy the default configuration for this sample to your current directory for you. You can then proceed with the remaining steps (i.e. "$ ct-ng menuconfig", etc...). Best regards, Trevor |