Oulala69

  • *
  • 30
  • DIY 450 mini revo AIRGEAR 350 NEO-8N GCS 16.09-RC2
What about LibrePilot2Go ?
« on: June 20, 2016, 04:23:27 pm »
Hi there,

I am curious, but there is nothing about the android version "LibrePilot2Go" , this is not the right place ?

Is it dead ?

Have a good flight

@marc

  • *****
  • 150
  • Ask me about LibrePilot2Go on Android.
Re: What about LibrePilot2Go ?
« Reply #1 on: June 20, 2016, 05:26:28 pm »
Hi,

It's pretty much alive, but yet in a preview alpha stage.
If you want to test it, just drop me a PM.

-- Marc

Re: What about LibrePilot2Go ?
« Reply #2 on: June 22, 2016, 10:03:04 pm »
An iOS version is work in progress too, but due to limitation to bt4.0 accessories only bt4 ble enabled modules are compatible. (not more expensive than the simple bt modules)

Mateusz

  • *
  • 749
Re: What about LibrePilot2Go ?
« Reply #3 on: June 24, 2016, 10:27:19 pm »
It's now officially out https://play.google.com/store/apps/details?id=org.librepilot.lp2go.beta
UAV browser gives access to all objects, so even things that don't have GUI yet can be changed.

jdl

  • **
  • 60
Re: What about LibrePilot2Go ?
« Reply #4 on: July 07, 2016, 11:19:33 am »
Admirations for the application! Very poweful and useful tool, and with a lot of potential for improvement!

Not sure if here is the right place to give a suggestion?!

While testing alpha & beta releases I found a problem with logging. It works OK while phone is alive and the application stays on the Logs page. But when the user changes to other page, Map or Health, or whatsoever, the logging stops. The same happens if the phone goes to sleep.

The telemetry logs are valuable and using the smartphone as an alternative to the laptop for a reliable logging is very convenient.

I think the correct behaviour shoud be: once started, logging must work till stopped manually by user or data link or application being interrupted/terminated.

Regards,
Julian Lilov

@marc

  • *****
  • 150
  • Ask me about LibrePilot2Go on Android.
Re: What about LibrePilot2Go ?
« Reply #5 on: July 07, 2016, 11:51:30 am »
Hi Julian,

thanks for the nice feedback!

Yes, you are correct, logging is at the moment only running while you are on the Logs page.
In one of the next versions, this will be extended, so the logs just run while the app is running.

A background service will be added later.

This is a little more complex, but will address the Logging issue while the app is closed (or "not active",
which is basically the same in android). The connection is lost in general now when you close the app,
because Android just suspends normal apps once they are not visible.

Thanks again,
best wishes,

Marc

absd

  • *
  • 2
Re: What about LibrePilot2Go ?
« Reply #6 on: July 16, 2016, 05:05:56 pm »
I'm trying to get this working, I have a confirmed bluetooth link (I can type back and forwards to my phone when I set main & vcp to commbridge, so everythings wired up properly)... when I set main to telemetry I get nothing but errors "uavo problem...  fc uavo version 00000000  lp2go uavo version 84efdd63"

I'd appreciate a clue.

@marc

  • *****
  • 150
  • Ask me about LibrePilot2Go on Android.
Re: What about LibrePilot2Go ?
« Reply #7 on: July 16, 2016, 05:13:30 pm »
Can you post your Hardware config in gcs? What speed is your BT module?

absd

  • *
  • 2
Re: What about LibrePilot2Go ?
« Reply #8 on: July 16, 2016, 05:16:31 pm »
I've a hc-05 and running at 57600 (which works, I can dump text back and forward via combridge all day with no errors or pauses).

I'm running a cc3d atom (hobbyking 'official' not clone).   Screenshot of HW page:-  https://i.imgur.com/xm5kgk2.png

@marc

  • *****
  • 150
  • Ask me about LibrePilot2Go on Android.
Re: What about LibrePilot2Go ?
« Reply #9 on: July 16, 2016, 09:04:02 pm »
Difficult to say, I can do this here with a CC3D with the following config:

H05 @ 57.6k

CC3D:


LibrePilot2Go:


You can try to reduce the telemetry speed to 38400, I sometimes that helps.
Please also make sure that you do not connect USB at the same time when you want to receive bluetooth data.

Re: What about LibrePilot2Go ?
« Reply #10 on: July 19, 2016, 10:07:55 pm »
Is there a way to do mag calibration with lp2go? would be really nice if i could calibrate in the open without having to take my win laptop..

Sent from my Nexus 7 using Tapatalk

Mateusz

  • *
  • 749
Re: What about LibrePilot2Go ?
« Reply #11 on: July 20, 2016, 05:28:29 pm »
Marcus is working on it AFAIK, there is compass calibration branch in his repo. Only visualization so far for real-time Mag calibration which I think he is aiming for. It would be slightly better than what GCS currently has.

Re: What about LibrePilot2Go ?
« Reply #12 on: July 20, 2016, 05:32:19 pm »
Can compass calibration not be performed through "objects"?

Sent from my GT-I9505 using Tapatalk


Mateusz

  • *
  • 749
Re: What about LibrePilot2Go ?
« Reply #13 on: July 20, 2016, 06:06:27 pm »
No, it is implemented in GCS (offline). Ellipsoid fitting and then coefficients are calculated and saved. UAV objects just allow to view/edit those coefficients afaik, but they must be calculated based on samples. Also samples must cover whole sphere without outliers... I don't know more details.

@marc

  • *****
  • 150
  • Ask me about LibrePilot2Go on Android.
Re: What about LibrePilot2Go ?
« Reply #14 on: July 20, 2016, 07:24:33 pm »
Well, If you want to jot down 500+ magnetometer samples and perform an ellipsoid fit on those samples, you can enter the offsets resulting via the object browser.

jk ;-)

No, you need some computer to do the above. But I am indeed working on it at the moment. The app already receives  the samples and performs the fit. It has to write the offsets yet, and then I have to make it pretty.

If you want "early access", consider applying for the alpha test (see the wiki for details).
https://librepilot.atlassian.net/wiki/display/LPDOC/LibrePilot2Go+Android+App