UMDBPP / Balloonduino

Library for basic functions of Balloonduino (Arduino Mega with onboard sensors)
MIT License
3 stars 0 forks source link

Merge Development into Master #18

Closed zacharyburnett closed 7 years ago

zacharyburnett commented 8 years ago

Bring master up to date with development, to start work on SD card logging and XBee support.

nmrossomando commented 8 years ago

I have a number of concerns with this code base as is.

I hope I've done a good job explaining the issues I have, and didn't come across as too harsh. Embedded development is a tough paradigm to get used to, especially when writing code that other people will need to use without having to understand it very much. I'm glad you're working on this without prompting from me, however, and I'm as usual open to any questions or concerns.

zacharyburnett commented 8 years ago

Alright, so before we merge this pull request we need to:

I'll make four new issues.

nmrossomando commented 8 years ago

That's the crux of it, yeah. Hope it all made sense, I felt like I was getting a bit rambly.

Incidentally, the more I think about it, I feel like we should ditch the Balloonduino class in favor of a Balloonduino namespace. It'll make the ifdef templating significantly easier, and will also expose the raw sensor library objects to the user, solving two issues in one. See the PythonInterface files in Link-TLM for an example of what I mean.

zacharyburnett commented 8 years ago

Alright, well we're reaching the edge of my development knowledge here so I don't know how helpful I'll be until I learn how namespaces work :P

nmrossomando commented 8 years ago

Google is your friend here, but they're super simple, and the syntax is similar to classes. They're mainly used to avoid naming conflicts, which means you can "safely" write C-style functions within one.