Hi,

I hope someone will be able to help me here :-) i have postet this yesterday in the airframe design, maybe wrong categorie..

Since i'm not happy with the Stock frame setup (doesn't fit to my frame) i decided to start making my own Motor Layout.

here the frame3691016148?profile=original

The Box in the middle is the APM and the CG.

here the defaults for the V-Frame

}else if( _frame_orientation == AP_MOTORS_V_FRAME ) {
add_motor(AP_MOTORS_MOT_1, 45, 0.7981, 1);
add_motor(AP_MOTORS_MOT_2, -135, 1.0000, 3);
add_motor(AP_MOTORS_MOT_3, -45, -0.7981, 4);
add_motor(AP_MOTORS_MOT_4, 135, -1.0000, 2);

here my suggestion

}else if( _frame_orientation == AP_MOTORS_V_FRAME ) {
add_motor(AP_MOTORS_MOT_1, 61, 0.9272, 1);
add_motor(AP_MOTORS_MOT_2, -144, 1.0000, 3);
add_motor(AP_MOTORS_MOT_3, -61, -0.9272, 4);
add_motor(AP_MOTORS_MOT_4, 144, -1.0000, 2);

is this correct ?

Thanks in advance !

Thomas

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Developer

    }else if( _frame_orientation == AP_MOTORS_V_FRAME ) {
    add_motor(AP_MOTORS_MOT_1, 45, 0.72391, 1);
    add_motor(AP_MOTORS_MOT_2, -135, 1.0000, 3);
    add_motor(AP_MOTORS_MOT_3, -45, -0.72391, 4);
    add_motor(AP_MOTORS_MOT_4, 135, -1.0000, 2);

    or

    }else if( _frame_orientation == AP_MOTORS_V_FRAME ) {
    add_motor(AP_MOTORS_MOT_1, 61, 0.72391, 1);
    add_motor(AP_MOTORS_MOT_2, -144, 1.0000, 3);
    add_motor(AP_MOTORS_MOT_3, -61, -0.72391, 4);
    add_motor(AP_MOTORS_MOT_4, 144, -1.0000, 2);

    the motor angles has more to do with the inertial of the frame in each direction versus the toque of the roll and pitch axis.

    The most important thing you must do is make sure the CG is at the center of lift CL. Currently the code assumes this and it can't be adjusted. In this case it is 80mm further back than you have drawn your origin.

  • Developer

    Instead of changing the angles in the AP_Motors library you can just change the Roll and Pitch Rate PID values.  That will actually have the same effect.

    As for the yaw factors, I'm less sure.  If you get the number right then you won't notice any roll or pitch effect when you yaw.  I actually don't know exactly how that yaw factor was calculated for the V.  For that you'd need to ask Leonard Hall.

  • How did it fly?  It looks like you did all of the math correctly.  

  • nobody :-(

    just tested it 

    Video

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @Heavy02011: ⁦@diyrobocars⁩ : A Home-brew computer club* for Connected Autonomous Driving. talk at #piandmore ⁦@PiAndMore⁩ on Jan 23rd h…
yesterday
DIY Robocars via Twitter
RT @a1k0n: New blog post! Deep dive into my ceiling light based localization algorithm which runs in 1ms on a Raspberry Pi 3: https://t.co/…
yesterday
DIY Robocars via Twitter
Great new guide to using @donkey_car https://custom-build-robots.com/donkey-car-e-book-en
yesterday
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars virtual AI race is tomorrow morn at 9:00am PT. You can watch live on Twitch https://www.meetup.com/DIYRobocars/events/275268196/
Friday
DIY Robocars via Twitter
New version of Intel OpenBot! This resolves many of the issues with the first version, including a much smoother tr… https://twitter.com/i/web/status/1352395636369313798
Thursday
DIY Drones via Twitter
Using ArduRover with an RTK GPS https://ift.tt/2N9I3RO
Jan 18
DIY Drones via Twitter
Jan 18
DIY Robocars via Twitter
Jan 18
DIY Robocars via Twitter
Jan 15
DIY Robocars via Twitter
Jan 15
DIY Drones via Twitter
Jan 14
DIY Robocars via Twitter
RT @Heavy02011: @diyrobocars : A Home-brew computer club* for Connected Autonomous Driving on Jan 23rd, 2021 https://www.meetup.com/Connected-Autonomous-Driving/events/275728684/ #Meetu…
Jan 14
DIY Robocars via Twitter
Jan 14
David Hori liked Isabella Domi's profile
Jan 12
DIY Robocars via Twitter
RT @Heavy02011: ⁦@diyrobocars⁩ Autonomous Driving Assembly at #rC3. join us at https://rc3.world/rc3/assembly/diyrobocars-f1tenth/ ⁦@f1tenth⁩ ⁦@DAVGtech⁩ ⁦@DWalmroth⁩…
Jan 11
DIY Robocars via Twitter
RT @chr1sa: New car designs coming for our next @DIYRobocars @donkey_car virtual race on the 23rd. Choose any one you want at race time Le…
Jan 11
More…