Multiwii 2.3 - Trim values

This forum is dedicated to software development related to MultiWii.
It is not the right place to submit a setup problem.
Software download
Post Reply
timecop
Posts: 1880
Joined: Fri Sep 02, 2011 4:48 pm

Re: Multiwii 2.3 - Trim values

Post by timecop »

If you wanna get real technical, ACC_TRIM was added to baseflight before multiwii allocated same ID for MSP_BIND.

User avatar
ezio
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris
Contact:

Re: Multiwii 2.3 - Trim values

Post by ezio »

timecop wrote:OK, what about renaming MSP_BIND to MSP_ACC_TRIM (keeping the ID) and then fixing BIND later.
This way current GUIs that support ACC_TRIM will continue working as if nothing happened.


+1

User avatar
ezio
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris
Contact:

Re: Multiwii 2.3 - Trim values

Post by ezio »

So yeah
MSP_ACC_TRIM has been added, great !
but how I can implement it in my app when:
in MultiWii:
MSP_ACC_TRIM = 121;
MSP_SET_ACC_TRIM = 215;

in EosBandi Nav:
MSP_SET_NAV_CONFIG = 215; // in message Sets nav config parameters
MSP_NAV_STATUS = 121; // out message Returns navigation status

in Baseflight:
MSP_ACC_TRIM = 240;
MSP_SET_ACC_TRIM = 239;

And where is the logic here?

User avatar
ezio
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris
Contact:

Re: Multiwii 2.3 - Trim values

Post by ezio »

ezio wrote:So yeah
MSP_ACC_TRIM has been added, great !
but how I can implement it in my app when:
in MultiWii:
MSP_ACC_TRIM = 121;
MSP_SET_ACC_TRIM = 215;

in EosBandi Nav:
MSP_SET_NAV_CONFIG = 215; // in message Sets nav config parameters
MSP_NAV_STATUS = 121; // out message Returns navigation status

in Baseflight:
MSP_ACC_TRIM = 240;
MSP_SET_ACC_TRIM = 239;

And where is the logic here?

Not important?

Alexinparis
Posts: 1630
Joined: Wed Jan 19, 2011 9:07 pm

Re: Multiwii 2.3 - Trim values

Post by Alexinparis »

timecop wrote:If you wanna get real technical, ACC_TRIM was added to baseflight before multiwii allocated same ID for MSP_BIND.


are you sure ?
acc_trim: baseflight: r231 18 oct 2012
spek_bind: multiwii_shared: r1135 23 sept 2012

Alexinparis
Posts: 1630
Joined: Wed Jan 19, 2011 9:07 pm

Re: Multiwii 2.3 - Trim values

Post by Alexinparis »

ezio wrote:
ezio wrote:So yeah
MSP_ACC_TRIM has been added, great !
but how I can implement it in my app when:
in MultiWii:
MSP_ACC_TRIM = 121;
MSP_SET_ACC_TRIM = 215;

in EosBandi Nav:
MSP_SET_NAV_CONFIG = 215; // in message Sets nav config parameters
MSP_NAV_STATUS = 121; // out message Returns navigation status

in Baseflight:
MSP_ACC_TRIM = 240;
MSP_SET_ACC_TRIM = 239;

And where is the logic here?

Not important?


ok, just modified to please everyone ;)

User avatar
ezio
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris
Contact:

Re: Multiwii 2.3 - Trim values

Post by ezio »

thank you

User avatar
Benik3
Posts: 25
Joined: Mon Aug 26, 2013 1:06 pm
Contact:

Re: Multiwii 2.3 - Trim values

Post by Benik3 »

What exactly the MSP_ACC_TRIM and MSP_SET_ACC_TRIM should do?

Thanks :)

Post Reply