paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Software architecture design


From: Hector Garcia de Marina
Subject: Re: [Paparazzi-devel] Software architecture design
Date: Thu, 14 Feb 2013 20:20:01 +0100

Hello Conrado,

are you talking about the firmware?

In my opinion, C++ in an embedded platform such as STM32 or LPC is not the best of the ideas for
an open project. You need to be really careful with what you are doing. The resources are scarce, 
you can not use all the nice features of C++ in the microcontroller, etc

And of course, lets do not talk about python in a microcontroller.... xD

Cheers,
Héctor


On Thu, Feb 14, 2013 at 7:14 PM, Conrado Miranda <address@hidden> wrote:
Folks,

I've been wondering a couple of things for a while about the software
(mainly the airborne). I wanted to implement a new multi-rotor
controller I have tested externally and found that the code, although
it's very modular (or at least it seems like it), it's hard to grasp.

The code seems somewhat like an object oriented one already, so I got
curious as to why it isn't implemented in C++ to make it easier for
new people to start understanding the internals. Also, I think that
templates and classes would be able to replace lots of macros without
prejudice.

As I have other uses for a C++/python architecture outside of the
airframe, I'd like to get opinions from people more involved in the
code about using C++ to restructure some (most?) parts as classes.

Cheers,

Conrado.

PS: please don't use arguments like "C is better than C++" or "C
implies this" or "C++ implies that" without evidence, please. Also,
arguments as "I don't like C++" aren't relevant for what I'm asking.

_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



--
Héctor


reply via email to

[Prev in Thread] Current Thread [Next in Thread]