gyro view source code

50 views
Skip to first unread message

Harry Lister

unread,
Feb 14, 2022, 7:54:00 PM2/14/22
to Apps4Av Forum
Hello avare fans,
Several years ago I downloaded avare source code and played around on android studio.  What I did was adapt one of the "views" called gyro(not sure about name) to a MultiWii flight controller board.  I uploaded the compiled code to my RCA tablet.  I use a radiolink from 3DRobotics plugged into the tablet and the other half of the radio is connected to the serial out of the flight controller IMU.  It works nice.

The problem I have is I seem to have lost the code for the gyro view and my modifications.  I'd like to redo the project but I don't know where to find the original source code that had the attitude indicator and compass.  

Is this code still available?  I don't see it anywhere.

Harry 

Harry Lister

unread,
Feb 15, 2022, 7:30:39 PM2/15/22
to Apps4Av Forum
I think I found what I wanted on the github page under "ifi".  I don't know how much that file has changed since I first modified it.  If anyone is interested, I extracted that code and had it as a standalone attitude indicator and compass as a view.  I used a multiwii serial protocol parser from here:  https://github.com/simondlevy/Hackflight/tree/master/gcs  ......  and I used different code for USBserial  ( https://felhr85.net/category/usbserial-for-android/ )  that recognized the chipset on the serial port of the IMU board.  I'll see if I can recreate it and not lose it this time. 
Reply all
Reply to author
Forward
0 new messages