junxiangTan / ardupirates

Automatically exported from code.google.com/p/ardupirates
0 stars 0 forks source link

Stop YAW movement if stick is released #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. engaging the yaw stick forces quad to turn around z axix
2. releasing the stick does not stop quad from turning further on

We want to program a harder stop after releasing rc stick

Original issue reported on code.google.com by philippmaloney@gmail.com on 26 Nov 2010 at 10:18

GoogleCodeExporter commented 9 years ago
Hello,
It seems that the persistence of yaw movement depends on the code : 
command_rx_yaw += aux_float; // wrong summation ?
I have changed to :
command_rx_yaw = aux_float; // => my arducopter is stable on yaw axis
REgards,
Alain

Original comment by alain.bl...@free.fr on 28 Nov 2010 at 12:09

GoogleCodeExporter commented 9 years ago
Thank you Alain,

I will test and implement it into the next release.
Phil

Original comment by philippmaloney@gmail.com on 28 Nov 2010 at 3:48

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Fix does not work at all. A closer inspection showed some more "strange" things 
in code. Investigation currently going on. Will be fixed with final release of 
1.6.

Original comment by philippmaloney@gmail.com on 30 Nov 2010 at 2:25

GoogleCodeExporter commented 9 years ago
Finally fixed and in the final testing phase.
Cleaned all old code fragments. 

Original comment by philippmaloney@gmail.com on 30 Nov 2010 at 11:07