Android client with basic support for PS3 controller
Re: Android client with basic support for PS3 controller
Good Morning!
I have a SGS2 (Samsung Galaxy S2) and I installed your app. No problem to change channel and connect to my my crazyflie over OTG USB and Crazyradio.
Then there is a bug which makes flying impossible: The pad (doesn't matter which mode is set) where the Yaw is changed, hangs after each change (hangs for 1-2s after each minimal move). Normally thrust is also on this pad so i can't control my crazyflie without damage. It also doesn't matter if I'm not connected to the crazyflie, the problem is static.
On the old android client i was able to change both pads without hang (lag).
Maybe you now something about this problem or you could check this. I'm used to fly with phone pads (Droidmote ) so i want to fly without delay over the android client app.
Greetings
I have a SGS2 (Samsung Galaxy S2) and I installed your app. No problem to change channel and connect to my my crazyflie over OTG USB and Crazyradio.
Then there is a bug which makes flying impossible: The pad (doesn't matter which mode is set) where the Yaw is changed, hangs after each change (hangs for 1-2s after each minimal move). Normally thrust is also on this pad so i can't control my crazyflie without damage. It also doesn't matter if I'm not connected to the crazyflie, the problem is static.
On the old android client i was able to change both pads without hang (lag).
Maybe you now something about this problem or you could check this. I'm used to fly with phone pads (Droidmote ) so i want to fly without delay over the android client app.
Greetings
Re: Android client with basic support for PS3 controller
Hi derf,
i rooted my S3 and with the sixaxis App (~2€) now i'm flying totally wireless with my PS3 Controller and your CF App
It's so cool just to have the phone with OTG and CF dongle in the pocket and walk around during the flight
I have some suggestions for improvement:
1. Block the on screen Pads if any controller is detected or as preferences setup item
2. Screen off feature. Pocket mode.
3. Flight modes. Advanced Flight Control like PC Client (max angle, max thrust, x-mode)
4. Battery status. Visual bar graph, vibration alarm and sound/voice alarm.
5. Radio Link quality. Visual bar graph, vibration alarm and sound/voice alarm.
6. Console
7. Parameters tab
8. Flight timer
I hope to find some time to look in your code this WE and maybe start to work on some of the suggested points.
But until now really good job derf!
i rooted my S3 and with the sixaxis App (~2€) now i'm flying totally wireless with my PS3 Controller and your CF App
It's so cool just to have the phone with OTG and CF dongle in the pocket and walk around during the flight
I have some suggestions for improvement:
1. Block the on screen Pads if any controller is detected or as preferences setup item
2. Screen off feature. Pocket mode.
3. Flight modes. Advanced Flight Control like PC Client (max angle, max thrust, x-mode)
4. Battery status. Visual bar graph, vibration alarm and sound/voice alarm.
5. Radio Link quality. Visual bar graph, vibration alarm and sound/voice alarm.
6. Console
7. Parameters tab
8. Flight timer
I hope to find some time to look in your code this WE and maybe start to work on some of the suggested points.
But until now really good job derf!
Re: Android client with basic support for PS3 controller
@Surrender
I'll try to look into the lag problem, but so far I can't reproduce it.
@DesTinY
Yeah, there is still a lot to do.
Maybe you can add your suggestions as issues in the BitBucket repository, so they can be tracked better.
Looking forward to your contributions.
I'll try to look into the lag problem, but so far I can't reproduce it.
@DesTinY
Yeah, there is still a lot to do.
Maybe you can add your suggestions as issues in the BitBucket repository, so they can be tracked better.
Looking forward to your contributions.
Re: Android client with basic support for PS3 controller
I added the suggestions in your BitBucket repository. Sorry for the many messages you have certainly received.
Re: Android client with basic support for PS3 controller
Hi derf,
you are great. You solve faster bugs as I can find new ones.
I hope you are not annoyed by my reports.
I'm just started to look in the app code and changed just a small thing but i hope i can contribute more in the near future!
You have greatly improved the CF android app in recent days. *thumbs up*
BTW: Don't forget to sleep and eat! (like me )
you are great. You solve faster bugs as I can find new ones.
I hope you are not annoyed by my reports.
I'm just started to look in the app code and changed just a small thing but i hope i can contribute more in the near future!
You have greatly improved the CF android app in recent days. *thumbs up*
BTW: Don't forget to sleep and eat! (like me )
Re: Android client with basic support for PS3 controller
Moin derf,
I can reproduce it with a SGS3 mini. With this phone it hangs on both virtual joysticks. Maybe it needs to much CPU resources.
Anyway, good work - but i couldn't test it really
Sent from my GT-I9100 using Tapatalk 4 Beta
I can reproduce it with a SGS3 mini. With this phone it hangs on both virtual joysticks. Maybe it needs to much CPU resources.
Anyway, good work - but i couldn't test it really
Sent from my GT-I9100 using Tapatalk 4 Beta
Re: Android client with basic support for PS3 controller
@DesTinY
Thanks for doing the QA for the Android app! I'll definitely have to add tests to catch
"late night coding"-bugs.
About the invisible controllers: I'll probably add a new activity for external controllers.
Before that I need to get two-way communication working to actually have something
useful to show on the screen.
@Surrender
I reproduced the bug on a Samsung S2 phone of a colleague. So you're not alone.
CPU speed should not really be an issue, because the S2 has the same CPU
(Dual-core 1.2 GHz Cortex-A9) as the Galaxy Nexus I'm testing on.
There is also not much calculation involved, as far as I know. Need to investigate more.
Thanks for doing the QA for the Android app! I'll definitely have to add tests to catch
"late night coding"-bugs.
About the invisible controllers: I'll probably add a new activity for external controllers.
Before that I need to get two-way communication working to actually have something
useful to show on the screen.
@Surrender
I reproduced the bug on a Samsung S2 phone of a colleague. So you're not alone.
CPU speed should not really be an issue, because the S2 has the same CPU
(Dual-core 1.2 GHz Cortex-A9) as the Galaxy Nexus I'm testing on.
There is also not much calculation involved, as far as I know. Need to investigate more.
Re: Android client with basic support for PS3 controller
Thanks for investigating.
I did not looked @the code, but maybe there is a problem when setting the value to send over usb.
Sent from my GT-I9100 using Tapatalk 4 Beta
I did not looked @the code, but maybe there is a problem when setting the value to send over usb.
Sent from my GT-I9100 using Tapatalk 4 Beta
Re: Android client with basic support for PS3 controller
@Surrender
I finally fixed this nasty little layout bug...hopefully.
=> https://bitbucket.org/fredg02/crazyflie ... -06-25.apk
Please test and report back.
I finally fixed this nasty little layout bug...hopefully.
=> https://bitbucket.org/fredg02/crazyflie ... -06-25.apk
Please test and report back.
Re: Android client with basic support for PS3 controller
I tried to test it but I'm now not able to connect to the crazyflie. I've set the channel to 40 (same as in my pc client setting and crazyflie firmware setting) but it seems to be not working properly.
I'll test it tomorrow evening if it is a problem with your changes or not.
But now there is no lag anymore and that is great!!
Thanks dude
Good night.
I'll test it tomorrow evening if it is a problem with your changes or not.
But now there is no lag anymore and that is great!!
Thanks dude
Good night.