[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] HOVER with USE_SPEED_REF

From: Felix Ruess
Subject: Re: [Paparazzi-devel] HOVER with USE_SPEED_REF
Date: Mon, 12 May 2014 17:42:15 +0200

Hi guys,

thanks a lot for the feedback, seems I only quickly tested it with zero heading....

Cheers, Felix

On Wed, Apr 30, 2014 at 11:58 AM, Waly Achod <address@hidden> wrote:
Hi Eduardo,
I tested this feature and I had the bug.

I fixed the bug by making the below modifications:
 - change the signe of psi angle
 - add psi normalization

Here is the code in airborne/firmwares/rotorcraft/guidance/guidance_h.c
     /* Rotate from body to NED frame by negative psi angle */
-    int32_t psi = -stateGetNedToBodyEulers_i()->psi;
+    int32_t psi = stateGetNedToBodyEulers_i()->psi;

Good Flight!!!


2014-04-29 21:35 GMT+02:00 Eduardo lavratti <address@hidden>:
Hello folks,

some days ago i finished my new quad using krooz_sd_BRE.

When in HOVER i test the stick to change the position
dynamically (USE_SPEED_REF) but i get wrong behavior.

When i put the stick to front, the copter not move to front.

I not have GCS in the field so i not know the psi angles when i do the testes.

For example,
if the yaw=0 and stick= front the copter go to front
if yaw=180 and and stick = front the copter go to left.

Anyone tested this feature ?

I am using ppz version v5.1.0_testing-0-gd07cb6f-dirty (new installation without any modification)

Paparazzi-devel mailing list

Paparazzi-devel mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]