You need to be a member of diydrones to add comments!
This reply was deleted.
Activity
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩
#jetracer https://t.co/GKcEjImQ3t
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10.
Thrills, spills and a Brazilian BBQ. Fun…
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Replies
I have added the Rotor Layout for the quad to the workbook I have been modifying.
I made a change to the torque factors as the pitch and roll were inverted in sign and for the calculation I needed them to reflect normalized motor coordinates.
The matrix calculation has been added and this sheet will generate the motor factors automatically once Matrix add-in is opened.
Changing the input parameters in line A flows all the way to generated APM motor matrix code..
I put one of your Octo designs into the motor location coordinates on the Oct tab. It has a solution that gives no coupling effects. Any motor layout can be inputted and it will generate the solution but some may have coupling depending on the design. So one sheet for each design type Quad, Hex, Octo would be sufficient to generate motor factors and generate code. Coaxial designs can be input as well - the octo sheet will calculate matrix for a Octo. quad
I tend to just input motor coordinates since other design work I do on a CAD program
The dynamic labels have been added to the graph
matrix.zip
I should probably show you these. Can't wait to see your improvements.
Custom Octa CAD.xlsm
Custom Quad CAD.xlsm
Here are a couple of pics of the copter. The Excel file has the coordinates in the U tab.
I may not have been clear in what I meant by equal length arms in opposite rotation. Each set of arms front, middle and rear arms are equidistant from the COG and therefore the counter toque forces for each set would balance out for equal changes in motor RPM. I think this would mean no lift coupling with yaw or yaw on lift.
In this design roll would also have no impact on other axis or lift due to right to left symmetry. But pitch has some minor coupling on lift due to the center arms being lightly behind COG. For this configuration this is what your sheet shows as well. The sum rotational effect of the front and rear motors would be rotation around COG and the impact of the middle motors would be a rotational center slightly behind COG. This was a design trade off due to layout and component interferences.
Since actuation on roll pitch and lift use the torque factor in the matrix if there are not pairs of equal and opposite there will most likely be more severe couplings between axis. I am sure there are solutions in design with unequal arm length pairs where this could be accounted for but KISS.
Looking at the results motor rotation options you have seems to agree with this. All other combinations ended withsevere couplings.
HFCCustomHexaCAD.xlsm
IMG_20150825_142702_854.jpg
great. this gives me the motor locations.
so if i read correctly in an e-mail, you have changed the center motors to the pitch axis to eliminate coupling, so their x/y coordinates are:
-418.17, 0
418.17, 0
i'll try to look at your motor factors tonight.
First, define a U hexa. Is it like the U in the attached Excel file?
Custom Hexa CAD.xlsm
Forrest,
Great job on the spreadsheet. The auto generation of the code for the motor matrix is very helpful and time saving.
The incoporation of the drawing tied tot he design input and the analysis of coupling factors make this great for initial design work. Thanks for posting the updated sheet.
My layout is in the PDF attached. It is close to the configuration in your file.
Measurements are from center of gravity of the copter.
The middle motors are just behind COG.
I have done calculations on the factors but when I look at the code I am seeing degrees rather that the matrix used as I have seen noted in the past.
File attached
Custom Hex Layout2.pdf
Forrest,
I was wondering what the status is on custom motor mixing for copters. I see you were lobbying for this but I don't think this has made it into the mainstream code. I need to set up custom mix but I think this means I will need to modify and compile code. Is this correct?
did you ever figure out how to change the motor mixing for pitch, roll, and yaw?
i'm in the final setup of a custom octa-H and need to figure this out also.