Quadcopter with wing

Quadcopter with wing

Postby Knox » Tue Mar 31, 2015 1:37 pm

Hi!

Me and four other students are building a quadcopter with a wing (picture: http://tinyurl.com/nrynp8b) and we are pretty new to C++ so we need some help.

The following things are stuff we havent figured out how to implement in the code:
  • A hover-mode and a flying-mode that you can toggle between with one of the switches on the RC (eg. AUX2). The FC needs needs to have vertical orientation in hover-mode and horizontal orientation in flying-mode.
  • A 90 degree transition-phase between hover-mode and flying-mode.
  • We also want to change so that PITCH is the rotation around the X-axis and ROLL around the Y-axis.

Any suggestions on how to implement this? What changes do we need to do in the code?

We are doing this project as our bachelor, but unfortunately neither one of us are skilled in C/C++. Here is a draft of the report on how far we've come (http://tinyurl.com/paoxpq8). It's in swedish but some of the pictures in the report may be of some interest.

Thankful for any kind of help/suggestions!
Last edited by Knox on Tue Mar 31, 2015 7:31 pm, edited 2 times in total.
Knox
 
Posts: 7
Joined: Fri Mar 27, 2015 3:38 pm

Re: Quadcopter with wing

Postby waltr » Tue Mar 31, 2015 4:32 pm

I am doing this project as my bachelor

Then you should know how to do searches on the web and within these forums.
Board ornamentation changes have been discussed so search to find them.
waltr
 
Posts: 733
Joined: Wed Jan 22, 2014 3:21 pm
Location: Near Philadelphia, Pennsyvania, USA

Re: Quadcopter with wing

Postby Knox » Tue Mar 31, 2015 6:51 pm

Then you should know how to do searches on the web and within these forums.
Board ornamentation changes have been discussed so search to find them.


Okey, sorry, I should have been more clear about it. I've figured out how I change the orientation, what I don't have figured out is how I should do if I want two different standard orientations (horizontally for fly-mode and vertically for hover-mode). And sorry if I might bring up a topic that has been discussed somwhere else. I just wanted to present my concept and see if anyone could give me some nice suggestions on how I could do.
Knox
 
Posts: 7
Joined: Fri Mar 27, 2015 3:38 pm

Re: Quadcopter with wing

Postby PatrikE » Tue Mar 31, 2015 9:22 pm

You need to create a mixer that combine motors and control surfaces.
The transformation can be done in several ways.
Either you can switch from transmitter or you can use the sensors to handle the switching.
I have done about same on SingleCopter once.
I think i still have the code somewhere.
PatrikE
 
Posts: 1948
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden

Re: Quadcopter with wing

Postby Knox » Thu Apr 02, 2015 2:18 pm

PatrikE wrote:Either you can switch from transmitter or you can use the sensors to handle the switching.
I have done about same on SingleCopter once.
I think i still have the code somewhere.


That would be interesting if I could take a look at it. Do you think I somehow could use QUADX for hover-mode and FLYING_WING for fly-mode and toggle between them from one of the switches on the transmitter?
Knox
 
Posts: 7
Joined: Fri Mar 27, 2015 3:38 pm

Re: Quadcopter with wing

Postby PatrikE » Sun Apr 05, 2015 10:22 am

Knox wrote:That would be interesting if I could take a look at it. Do you think I somehow could use QUADX for hover-mode and FLYING_WING for fly-mode and toggle between them from one of the switches on the transmitter?


Mwii cant handle multiple models like that.
You need to create a new model and add both servo/motor mixes and make it possible to switch modes with switch.
Maybe even make it more advanced and scale the value to a float ranging 0.0 to 1.0 (using cos() F.ex)

I have made a model but want to bench test it so it works first.
Is a little buzzy eating eggs and candy during ester.

I can PM you hen i have something to share.
I saw in he report you're at Chalmers, is swedish ok in PM?
PatrikE
 
Posts: 1948
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden


Return to General discussions

Who is online

Users browsing this forum: No registered users and 1 guest

cron