Jump to content


DUBwise for UAVTalk ( Android GCS )

android gcs dubwise uavtalk

  • Please log in to reply
62 replies to this topic

#1 ligi

ligi

    Core Developer

  • Members
  • PipPipPip
  • 200 posts
  • Country: flag of Germany Germany


Posted 09 April 2011 - 05:13 AM

this thread is started to speak about DUBwise for UAVTalk - the Android GCS for OpenPilot ( and possibly other projects implementing the open UAVTalk Protocol ;-)

here are some links to get started:
- https://market.andro...uavtalk.dubwise
- http://ligi-tec.blog...-over-time.html
- http://ligi-tec.blog...or-uavtalk.html

#2 FredericG

FredericG

    Developer

  • Members
  • PipPipPip
  • 462 posts
  • LocationBelgium
  • Country: flag of Belgium Belgium


Posted 09 April 2011 - 03:32 PM

This is great Ligi!

Frederic

#3 Gary Mortimer

Gary Mortimer

    Member

  • Banned
  • PipPipPip
  • 832 posts
  • LocationCold Brayfield UK, Rosetta RSA
  • Country: flag of South Africa South Africa


Posted 09 April 2011 - 09:28 PM

Mucho cool, I will have to buy an Android device now.

#4 ligi

ligi

    Core Developer

  • Members
  • PipPipPip
  • 200 posts
  • Country: flag of Germany Germany


Posted 10 April 2011 - 12:28 AM

Be carefull on what you buy - some vendors ruined the bluetooth implementation and one cannot rely on the api: http://code.google.c.../detail?id=5427 ( btw. Staring this issue would be good )

#5 FredericG

FredericG

    Developer

  • Members
  • PipPipPip
  • 462 posts
  • LocationBelgium
  • Country: flag of Belgium Belgium


Posted 10 April 2011 - 07:52 AM

Are there other options than BT? I used BT with MK and I found it very unreliable, limited and troublesome compared to the XBee connection I use now.

Frederic

#6 dankers

dankers

    Janitor

  • Administrators
  • 5115 posts
  • Country: flag of Australia Australia


Posted 10 April 2011 - 08:01 AM

View PostFredericG, on 10 April 2011 - 07:52 AM, said:

Are there other options than BT? I used BT with MK and I found it very unreliable, limited and troublesome compared to the XBee connection I use now.

Frederic

Sorry if I am saying this wrong but there is a BT to Serial adapter on sparkfun that James is using with his Nook. That is then connected to an Xbee or PipXtreme.

Also, if you get an Androind with USB host support (Rooted Nexus 1 can do this and people are trying to get it going on the Nook), then a USB HID device like the PipXtreme should plug in also. Andrew also uses a Wifi to serial adapter as well, so again, WiFi -> Serial -> PipX.

#7 ligi

ligi

    Core Developer

  • Members
  • PipPipPip
  • 200 posts
  • Country: flag of Germany Germany


Posted 10 April 2011 - 08:43 AM

Yea you should not use bluetooth for the long range part - that is not good at all- but as a gateway to the phone it works really good - have a look at this: http://ligi-tec.blog...e-extender.html
I switched from zigbee to wi.232 because of fpv flying and from free2move to rayson btm since 2009 but the concept is the same and woks pretty well

#8 ligi

ligi

    Core Developer

  • Members
  • PipPipPip
  • 200 posts
  • Country: flag of Germany Germany


Posted 02 May 2011 - 09:14 AM

I uploaded version 0.3 to the market and the code to github.
Now one can search into uavobjects and general handling of them improved ( longclick brings description and metadata now )

#9 ligi

ligi

    Core Developer

  • Members
  • PipPipPip
  • 200 posts
  • Country: flag of Germany Germany


Posted 02 May 2011 - 09:21 PM

Not much feedback here - where are the problems? Are there so few people with OP hardware and a Android Phone around? Or is the Bluetooth side the problem - the Rayson modules I use are <20$ and the wiring is very simple.

#10 Gary Mortimer

Gary Mortimer

    Member

  • Banned
  • PipPipPip
  • 832 posts
  • LocationCold Brayfield UK, Rosetta RSA
  • Country: flag of South Africa South Africa


Posted 02 May 2011 - 09:53 PM

I will certainly join in when I have an Android device!

#11 ligi

ligi

    Core Developer

  • Members
  • PipPipPip
  • 200 posts
  • Country: flag of Germany Germany


Posted 02 May 2011 - 11:37 PM

Great.
Do you already know what Device you get? As i said earlier there are some Devices not working - some information about working/not working devices can be found here:
http://www.mikrokopt...seTestedDevices ( please ignore the J2ME ones there - DUBwise for UAVTalk is Android only at the moment )

But the list is way from complete. I am thinking about making an automated approach to make a way better one - DUBwise knows when it is connected and on which device it is running - just have to send that to ask the user if I can gather the Information and send it to a server backend.

#12 manux88

manux88

    New Member

  • Members
  • Pip
  • 1 posts
  • Country: flag of Belgium Belgium

Posted 17 September 2011 - 10:11 PM

Hi ligi,

I have wi32 wifi module instead of the Bluetooth one. Any chance to get dubwise working with wifi?
Thanks for your answer.

#13 ligi

ligi

    Core Developer

  • Members
  • PipPipPip
  • 200 posts
  • Country: flag of Germany Germany


Posted 18 September 2011 - 10:42 AM

what module is that? Would entering IP+Port be OK? TCP or UDP?

#14 Malx

Malx

    Key Member

  • Members
  • PipPipPip
  • 313 posts
  • Country: flag of Sweden Sweden


Posted 18 September 2011 - 02:08 PM

Same problem as I brought up in the general forum. Today I was going to the airfield to setup my quad again. I wanted to take the bike so instead of the computer the phone was choosen. However, the version on the phone probably differs from the firmware since the tuning features doesn't work (just shows the default values, not the values on the quad). How do I know which version of the firmware to use? (I was using the newest one on the download page)

#15 ligi

ligi

    Core Developer

  • Members
  • PipPipPip
  • 200 posts
  • Country: flag of Germany Germany


Posted 18 September 2011 - 02:16 PM

you should see which firmware you have in the firmware tab of the GCS.
Please tell me what you see in the window called "Handshake status" which you get when you press the red or green square in the top

#16 Malx

Malx

    Key Member

  • Members
  • PipPipPip
  • 313 posts
  • Country: flag of Sweden Sweden


Posted 18 September 2011 - 02:25 PM

View Postligi, on 18 September 2011 - 02:16 PM, said:

you should see which firmware you have in the firmware tab of the GCS.
Please tell me what you see in the window called "Handshake status" which you get when you press the red or green square in the top
I know which firmware I have :) (20110819). I just don't know which firmware that works with your Android version.
The connection is green (when I succesfully connects, I have several problems with the program forcing me to shut it down)
with rx packages coming in and no rx failures.
The PFD for example works great. But when I go to tuning I just get default values and not the values I know is omboard the quad.

#17 ligi

ligi

    Core Developer

  • Members
  • PipPipPip
  • 200 posts
  • Country: flag of Germany Germany


Posted 18 September 2011 - 02:37 PM

Ah now we are talking - when you get rx packets and no rx failures and the square is green you use the right firmware. Can you go into the UAVObjects browser - are you seeing indicators of change there?

#18 Malx

Malx

    Key Member

  • Members
  • PipPipPip
  • 313 posts
  • Country: flag of Sweden Sweden


Posted 18 September 2011 - 03:05 PM

View Postligi, on 18 September 2011 - 02:37 PM, said:

Ah now we are talking - when you get rx packets and no rx failures and the square is green you use the right firmware. Can you go into the UAVObjects browser - are you seeing indicators of change there?
Are we talking menu->Edit UAV Objects here?
The font is unreadable BIG... (having the same problem on the alarms page):
Attached File  SC20110918-165830.png   47.25K   17 downloads

I can see updates on some objects (like AttitudeActual), but not on the guidance ones.
I still think its a version mismatch on those objects. (You will not be able to ask for them since you got the wrong ID, so no "wrong" objects are sent back)

#19 ligi

ligi

    Core Developer

  • Members
  • PipPipPip
  • 200 posts
  • Country: flag of Germany Germany


Posted 18 September 2011 - 04:35 PM

Do you see "your values" in StabilisationSettings in the UAVObjects browser after you have entered PI-Tuning?

#20 Malx

Malx

    Key Member

  • Members
  • PipPipPip
  • 313 posts
  • Country: flag of Sweden Sweden


Posted 18 September 2011 - 08:53 PM

View Postligi, on 18 September 2011 - 04:35 PM, said:

Do you see "your values" in StabilisationSettings in the UAVObjects browser after you have entered PI-Tuning?
Nope, they are not present. only the default values are visible.

(I updated to latest version with same result)
Please do something about the font. I get it all over the place. In the connection settings, in the alarms and on the UAVObject browser (However not when going in an looking at an object)