Search found 12 matches

by asti
Mon Sep 12, 2016 9:31 pm
Forum: Software development
Topic: Simple sonar integration to improve altitude hold (MW2.4)
Replies: 1
Views: 3954

Simple sonar integration to improve altitude hold (MW2.4)

In this post, I want to summarize the code pieces and knowledge that I acquired in the forums. It is another implementation of a sonar sensor for altitude hold in MultiWii and the ProMini 328P board. An archive containing all the code can be found here: MultiWii_Sonar_ProMini_328P.zip In the followi...
by asti
Mon Sep 12, 2016 8:33 pm
Forum: Ideas
Topic: MultiWiiConf: save/export sensor values
Replies: 3
Views: 3938

Re: MultiWiiConf: save/export sensor values

I use EZ-GUI and I really like it. Sadly the log feature is not included in the free version (well there are logs but I can't open them). The voice does not shut up although I disabled it in the options. Furthermore I can't see the value of the debug array in EZ-GUI which is a problem when debugging...
by asti
Fri Sep 09, 2016 12:50 pm
Forum: Ideas
Topic: MultiWiiConf: save/export sensor values
Replies: 3
Views: 3938

MultiWiiConf: save/export sensor values

Hi, MultiWiiConf does not seem to have an option to export all the values or protocol them directly to a file. A CSV file should do. I think this would be a very nice feature to have and it should be fairly simple to implement. It is useful to compare values of several flights and to track down issu...
by asti
Tue Sep 06, 2016 2:11 pm
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 102
Views: 72737

Re: Sonar HC-SR04 Support now implemented in MW2.4

To answer my own question: the unit is in cm. After understanding your code, I have an issue with it. I don't understand why you do add the flight mode and box for sonar. What your code does is using the sonar value to improve the estimated altitude. This is an addition/improvement to the baro mode....
by asti
Wed Aug 10, 2016 3:29 pm
Forum: Getting Started - MultiWii config and setup
Topic: MultiWiiConf: connect to serial port rfcomm0 as normal user?
Replies: 5
Views: 2914

Re: MultiWiiConf: connect to serial port rfcomm0 as normal u

I solved it. Such a stupid issue, really. Running MultiWiiConf from command line I get an error message when clicking the serial button: java.io.FileNotFoundException: /home/aas/Proggen/Arduino/MultiWiiConf/SerialPort.txt (Keine Berechtigung) This means the application can't open the SerialPort.txt ...
by asti
Wed Aug 03, 2016 12:15 pm
Forum: Getting Started - MultiWii config and setup
Topic: MultiWiiConf: connect to serial port rfcomm0 as normal user?
Replies: 5
Views: 2914

Re: MultiWiiConf: connect to serial port rfcomm0 as normal u

Please note that my user is in the dialout group and rfcomm0 is owned by the dialout group.
by asti
Tue Aug 02, 2016 4:22 pm
Forum: Getting Started - MultiWii config and setup
Topic: MultiWiiConf: connect to serial port rfcomm0 as normal user?
Replies: 5
Views: 2914

Re: MultiWiiConf: connect to serial port rfcomm0 as normal u

I just noticed that I have the same issue when using the USB serial port ttypUSB0. I always have to run MultiWiiConf as root. So it is not related to the bluetooth connection.
by asti
Tue Aug 02, 2016 10:17 am
Forum: Getting Started - MultiWii config and setup
Topic: MultiWiiConf: connect to serial port rfcomm0 as normal user?
Replies: 5
Views: 2914

MultiWiiConf: connect to serial port rfcomm0 as normal user?

Hi, I have a bluetooth adapter on my multicopter, which works great. Now I want to connect to this device with my Linux laptop. I have paired the bluetooth device using blueman and the serial port /dev/rfcomm0 opens. Furthermore I can use this serial port when I run MultiWiiConf as root. All works g...
by asti
Sat Jul 30, 2016 11:53 am
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 102
Views: 72737

Re: Sonar HC-SR04 Support now implemented in MW2.4

I have quick questions: 1. In which unit is the sonarAlt value? (cm,inch,something else) 2. Does the echo pin has to be an interrupt pin? Your code for reading the sonar value did not work for me (it was a constant), but with the code from http://www.instructables.com/id/Non-blocking-Ultrasonic-Sens...
by asti
Sat Jul 30, 2016 11:48 am
Forum: Software development
Topic: MultiWii EZ-GUI
Replies: 1434
Views: 623557

Display debug array?

Hello, EZ-GUI is awesome! However, I need to see the values of the debug array (debug[0], debug[1], debug[2], debug[3]). These are displayed in MultiWiiConf and WinGUI in the graph, but not in EZ-GUI. Would be awesome if I could see them in EZ-GUI as well, displayed as graph and the number. Maybe yo...
by asti
Fri Apr 22, 2016 10:08 pm
Forum: Software development
Topic: Set value of aux channel
Replies: 2
Views: 1878

Re: Set value of aux channel

I found a solution. To have the variable show up in the GUI as aux5, set the variable rcData[8]. But note that the value needs to be between 1000 and 2000. Because my distance sensor gives values between 10 and 80, I add 1000 to rcData[8] to have it displayed properly in the GUI. I put the code to u...
by asti
Thu Apr 21, 2016 9:11 pm
Forum: Software development
Topic: Set value of aux channel
Replies: 2
Views: 1878

Set value of aux channel

Hello, I have a distance sensor attached to the bottom of my copter. Furthermore I have the great EZ GUI for Android, which communicates via bluetooth and displays the sensor values and aux channel values etc. of the MultiWii. Now I want to read the distance value of the sensor and set it to one of ...