Showing posts with label Quad Simulator. Show all posts
Showing posts with label Quad Simulator. Show all posts

Thursday, September 17, 2015

Wasp's Maiden Flight

Maiden Flight



On the first flight I accidentally got up to around 200 feet, and that was almost the end of Wasp. Thankfully I was able to get it back down and not crash into a tree. Pretty lucky. The only thing that broke was one prop. After my first crash the dampers were pulled out of the top and bottom plates (basically the dampers got ripped out of the plates), so it is really important to zip tie through all of the dampers.


Quads and a helicopter gathered before we fly



Lessons Learned

  1. Motors are mounted in wrong arrangement rotate them CW by one position 
  2. Move battery to bottom, print cage 
  3. Move discharge wire out of the way 
  4. Tighten arm bolts 
  5. Focus camera properly 
  6. Adjust PID gains? 
  7. Wire in JST connectors 
  8. Print spare parts 
  9. Buy more props 
  10. Use antenna on headset with correct polarity SMA connector 
  11. Zip tie through all of the dampers
#1 
As I mentioned in The Build Part 1 the motors are labeled in a non-intuitive way (labeled CW wrt to the threads, not the rotation of the motor), so I mounted them in the wrong positions, oops. In this orientation the locking nuts on the props will loosen during your flight, eventually the props will come off and you will be flying a rock.

#2
Moving the battery to the bottom of the quad will help make the flight characteristics more stable, and keep it away from the blades (in case you crash and the arms fold in)

#3
I want to reroute the discharge wire to come out the back of the quad. I had a few crashes where the arms folded back in and the still spinning props actually cut the discharge wire, not good.

#4
The arms felt like they folded in too easily, so I want to tighten the bolts.

#5
The camera was out of focus for objects far away. If I want to fly FPV I need to fix that.

#6
All settings were default, so I want to adjust those to improve stability during flight.

#7
I had to solder all the wires directly to each other. I want to replace those connections that can be with JST connectors.

#8
With all the crashing I'm going to need some spare parts.

#9
Definitely will be needing more props.

#10
The antenna on the headset had the wrong polarity, so there was no pin between the antenna SMA and the SMA on the headset.

#11
As I mentioned zip ties through the dampers are really important so that when you crash the plates don't pop off the dampers.

Monday, September 7, 2015

Simulators, or How I Learned to Stop Worrying and Love to Crash

Simulators

After realizing that I've spent ~$350 on just my Quadcopter parts I was starting to get really nervous about actually flying this thing. When we started talking about racing we all were very nonchalant about the prospect of crashing. There was a lot of "dude we are going to be having some sweet crashes during the race!". At the time it sounded fine, but once I spent the money I was not as excited to "have a sweet crash".

So I started researching simulators. I used to fly RC airplanes and back then I had the Real Flight simulator. It was certainly not what I would consider "real", but hey this was 8 or 9 years ago. I hoped that the current simulators would have a bit more realism than the simulator I used way back then.

Since I have found so many helpful posts on http://blog.oscarliang.net/ I started there. Sure enough there was a great post reviewing a bunch of the top quadcopter simulators. I suggest you read it if you want to get a complete picture of what the simulators today are capable of, and how they compare to one another.

After reading through the post I decided to go with FPV FreeRider.


Why? Well, first off there is a demo ($5 for the full program). This is great because I bought the Hobby King Orange T-six transmitter, and while this does have a trainer/simulator port it need a PPM to USB converter in order to work with a simulator. I didn't want to buy a $100 simulator program just to find out I couldn't use my transmitter with it. 

I bought this Universal USB Flight Simulator FMS Cable Set to use with my transmitter. I tried it out and and of course it didn't work out of the box. The Orange T-six needs to have two of the pins be wired together in order for the transmitter to be put into simulator mode, see picture below. 


So I cut the cable that came with the USB converter and found to my surprise that only two of the pins were wired up. Crap... So in order to get it to work I soldered a small piece of metal as far down in the s-video connector between the two pins as I could. Not optimal, but hey it works for now until I can get a proper s-video cable and solder it to the usb converter cable.

Back to the simulator. FPV FreeRider has been great so far. Obviously it is not ultra realistic, but for $5 for the full program, I didn't expect it to be. It work on windows XP through 10, Mac OSX, and Linux! It is very light weight with respect to system requirements (I can run it on my 10 inch Winbook TW100 from microcenter). You can even switch the camera view to FPV, which is great since that is how I will be flying my quad. All in all I really like flying in it and I think it is an invaluable tool for someone that has never flown quads before.

How to set up the Orange T-Six for Simulator Use

So in order to get the transmitter to work with the simulator there are some settings that need adjusted. Basically if you try and use the transmitter out of the box the controls are inverted, and offset really bad i.e. the quad is always at full thrust, rolled to one side, and spinning like crazy. The settings I have will stabilize all of that, but one side of the yaw and roll will be a bit faster than the other, oh well close enough.

First lets turn off that annoying beeping every time you do something.
First hit the List Button
Scroll to TX Settings
Turn Sound Mode to OFF

Next create a simulator model on your transmitter.

Hit the List Button
Then Scroll to and select FUNC. LIST
Choose Model Sel
Select 10 Model and wait for it to download
Rename 10 Model to "SIM" by hitting LIST Button
Select MODEL NAME and change name to SIM
Next set the type to ACRO by hitting the LIST Button and then going into MODEL TYPE and selecting ACRO

Next invert all the channels that are used for controlling the quad. (LIST-REVERSE-change N to R)
Next set the travel adjustment to the following values. (LIST-SETUP LIST-FUNCTION LIST-TRAVEL ADJ.)

Next use the following values in SUB TRIM. (LIST-SETUP LIST-FUNCTION LIST-SUB TRIM)

Next change the D/R&EXPO to the following values.

Finally use the black switches next to the control sticks to move the cursors on the main screen next to the plane to the locations shown in the picture.

What did all that do? Well the manual explains it kind of well, but here is the gist. Reverse obviously inverts the controls. Travel adjustment basically moves the neutral point of the control to the left or right (up or down) of where it currently is, in other words it is an offset. Same with Sub Trim and the little black switches next to the control sticks. The D/R&Expo is a little different. Dual Rate affects the overall travel which the control is allowed to use. For example you start at 100% thrust available, if you reduce the dual rate to 80% you now get 80% of thrust when you move the stick all the way up, not 100%. Exponential on the other hand is more like padding. It can increase or decrease the sensitivity around the center of the control stick. I reduced the sensitivity so that it is a little easier to control the quad.