FLOWDECKV2 serious issue

Discussions about all things Bitcraze
Post Reply
RyanMco
Member
Posts: 34
Joined: Tue Apr 09, 2019 6:15 am

FLOWDECKV2 serious issue

Post by RyanMco » Fri Apr 26, 2019 1:01 am

Hi guys; I will try to explain my problem step by step!
I have connected successfully my flowdeckv2 on my crazyflie, I updated my client and firmware , I succeeded to arrive that I have three options on the assist mode which they are HOVER/POSITION HOLD/HEIGHT HOLD. From my client I entered to logging configurations for seeing my parameters and
plotters and all showing my fine(as what showed on the forum here) ..my coordination X Y Z is working fine and I verified that by my plotter on my client! - here's also my log console : (it's failed because it's an initial case of flowdeck so as what I've read here on the forum it's normal to get that .. )
Image
https://imgur.com/TYbBnah
last step, I turned on my crazyflie, and I used assist mode as "height hold" which it means that my crazyflie should stand/stable at the height, the default value of target height is 0.4m , I used 360XBOX controller to control with my crazyflie ! , I took off with my crazyflie it looks all good but once I arrive to the height 0.4m and I hold off aside my controller, then my crazyflie drop down immediately .. I'm not getting the idea why although everything is working !!!!!!!!!!!!
my crazyflie is on assist mode is hovering and all fine, but it must stand on specific target height once I'm on assist mode "height mode" ... any help why?!!! and how can I fix that?! I tried to modify my client-python-input but it didn't help as far as if I change the lib of my python-input-lib , my crazyflie.exe wouldn't run anymore because I changed/modified python-input-lib.

So I guess I'm not getting the idea why ...any help please?!



RyanMco
Member
Posts: 34
Joined: Tue Apr 09, 2019 6:15 am

Re: FLOWDECKV2 serious issue

Post by RyanMco » Fri Apr 26, 2019 1:04 am

whenever I have height target and I'm on assist mode of height mode, then my crazyflie should stand/stable/hover on that height , but for me doesn't work, it's falling immediately once I hold off my button/xboxcontroller ..

arnaud
Bitcraze
Posts: 2028
Joined: Tue Feb 06, 2007 12:36 pm

Re: FLOWDECKV2 serious issue

Post by arnaud » Thu May 02, 2019 8:17 am

I assume that by "hold off" you mean "release" the button. The reason it is not working the way you want is because it is not implemented the way you want, the assisted control mode where implemented with manual control and safety in mind: the user would press the shoulder button and if anything went wrong with the Crazyflie, releasing the button directly cut the motors.

If you want to modify the python code you need to install the client from source as described in the client readme file, this way you will be able to work on the client and modify it. I described to you in another thread a way to modify the client to achieve the functionality you want. If you have any problem doing the modification feel free to ask questions about the precise problem you encounter here.

Post Reply