sallyc

  • *
  • 47
Pi connect to CC3D to exchange data
« on: August 04, 2017, 07:27:48 pm »
I am doing some development about to generate a new mode in Librepilot, in this mode, Pi will connect to CC3D via UART, and the fireware will send all the receive data(command, sensor) to pi first, Pi will sort of "filter" it, and send it back to the firmware and goes for the further process. On Pi, I can develop different features to filter all the data.
I know i maybe should use UAVtalk protocol, is this going to work via the UART? Any hint?

Thank you very much

Re: Pi connect to CC3D to exchange data
« Reply #1 on: August 04, 2017, 10:24:55 pm »
Serial should work for that.

Be aware that CC3D development has basically stopped because there is no more room (RAM).  This means that you are going to have to remove stuff to have enough room to add stuff.

Also, sending the raw data via serial, to be processed and sent back via serial sounds like it adds significant delays.  You will at least have to tune your stabilization (probably PIDs) fairly low and it will react sluggishly.  Better yet, keep the low level (Attitude mode) stabilization on the CC3D and do navigation tasks on the Pi.  Just my opinions...

sallyc

  • *
  • 47
Re: Pi connect to CC3D to exchange data
« Reply #2 on: August 05, 2017, 03:57:30 pm »
Thank you for you opinion  :)