ACI Recieve Variables and Command in one code (Control Loop)
This post was updated on .
I'm trying to build a ACI software to recieve variables from UAV and command UAV.
What I want to build is a control loop, which receive variable first, and using them to calculate motor input, and command to UAV by direct motor input. (control loop)
I succeeded in 10 Hz rate, but I need to update variables and command faster. ( I want to command and receive in around 100 Hz. Actually this is why I trying to use High Level Processor, and ACI.)
I always falied to make loop faster caused by aciSynchronize() function's delay. there's no delay if aciSynchronize function used without command packet, but if I use it with command packet, it makes some problem.
I'm using Xbee Serial Communication.
Is there anyone, who succeed in build a such software via ACI?
I want some help.
ps. what's the highest communication rate in this situation?