kbumsik / Quadcopter-Flight-Controller

Quadcopter Flight Controller
8 stars 1 forks source link

logging the data from USART #18

Open cjackie opened 9 years ago

cjackie commented 9 years ago

We need to log the data from the USART. The data need to be collected for analysis of the sensors, motors and the quadcopter. The data should be readable. Something like output the data to STDOUT will be ideal,

kbumsik commented 9 years ago

Are we already using functions like TM_USART_Puts()?

cjackie commented 9 years ago

yea. But it gets send to the GUI interface terminal, right? I can see the data on that GUI interface, but Plain text will be better. It's easier to use other programming language to do some analysis, like figure out mean, variance(bias) and so on. If it gets send to STDOUT in real time, then, we can do alot of analysis real time. I saw something like StartLog on the GUI, so maybe that will work(logging data as plain text somewhere).

cjackie commented 9 years ago

By the way, the idea of using another computing platform doing high level optimization will be interesting(doing intense calculation). like mounting raspberry PI on the board and then interface with it using SPI or something. It will relieve huge burden on the microcontroller, as well as me for programming it(doing high level math operation in c is nightmare. lol.....)

kbumsik commented 9 years ago
cjackie commented 9 years ago

Your information is very valuable. :D

Yea. I see. We can mount the raspberry pi later for doing computer vision stuff. Some intensive computing can take several seconds.

Here is some low level programming interface(for Unix like os) at operating system level regarding port series(you said it is TTY port): https://www.cmrr.umn.edu/~strupp/serial.ht Maybe I will look into it. It seems interesting.:)

For now, just focus on your final. Lol

cjackie commented 9 years ago

The website should be https://www.cmrr.umn.edu/~strupp/serial.html