paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] motor command error on hexa


From: Eric BAHIER
Subject: Re: [Paparazzi-devel] motor command error on hexa
Date: Fri, 15 Mar 2013 10:24:20 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4

hi felix,

It is fun, on protocole analyzer, I can see the six commande, the first motor still ZERO, the five are OK..

I have a big free time between two frame.

If I change the order of the motor the 1 still out (the trame is made in the order of the adress has been write in the airframe.xml)

In the hexa file I have test with this value.... nothing better...

    <define name="ACTUATORS_START_DELAY" value="10"/>
    <define name="I2C_TRANSACTION_QUEUE_LEN" value="10"/>

I will try to find 15minutes to try to workaround, I will create a 7th motor, fit in first.....with esc and motor....I  will do it today, or on monday....


thanks,

Eric




Le 14/03/2013 23:27, Felix Ruess a écrit :
Hi,

Eric, you might want (or need) to increase the I2C_TRANSACTION_QUEUE_LEN from 8 to some higher value.
Also the I2C speed might need to be increased if not all commands can be sent in one cycle.

Regardless of that, it makes sense to remember to which motor the last command was sent if i2c_submit fails to add it to the queue like Sergei did.
Just for to make sure...
Pull request/patches would be welcome ;-)

Cheers, Felix

On Thu, Mar 14, 2013 at 12:29 PM, Eric BAHIER <address@hidden> wrote:
Hi,

I look your link, the software see the 6 motors, but does not give correct data to the first on

the 6 motors are present on the I2C bus, and the data for the first still on zero...

My feeling it is not an I2C problem, a "motor mixing" bug , "motor mixing" forgot to "make" the data for the first motor on hexa machine.

Probably, the bug is in my airframe file.....  I am my first buggenerator....

regards,

ERic





Le 14/03/2013 11:46, Sergey Krukowski a écrit :

Hi Eric!

 

Check this out:

https://github.com/softsr/paparazzi/blob/krooz_port/sw/airborne/subsystems/actuators/actuators_mkk.c#L58

Will probably help you.

 

Regards,

Sergey



_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel

-- 
************************************
Lez Concept EURL

Eric BAHIER
15 chemin neuf
34 980 Montferrier sur LEZ
France

Tel : 33 4 67 59 92 53
Fax : 33 9 59 15 92 53
************************************

_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel




_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel

-- 
************************************
Lez Concept EURL

Eric BAHIER
15 chemin neuf
34 980 Montferrier sur LEZ
France

Tel : 33 4 67 59 92 53
Fax : 33 9 59 15 92 53
************************************

Attachment: quad_lisa_lez.xml
Description: Text Data

Attachment: hexa_lisa_lez.xml
Description: Text Data


reply via email to

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