Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
moron izzard
Nov 17, 2006

Grimey Drawer

helno posted:

There is a battery technology designed just for you. They are called NIMH.

:kiddo:

Adbot
ADBOT LOVES YOU

helno
Jun 19, 2003

hmm now were did I leave that plane
In other news I finally got started on the aerodynamic Krieger knock off.

Solidworks is a pain in the dick when your left mouse button doesn't work reliably. Got tired of waiting for the replacement micro switches so I just swapped the left and center switches for now.

DreadLlama
Jul 15, 2005
Not just for breakfast anymore
I just stumbled across a youtube video for some useful-looking software.

https://www.youtube.com/watch?v=6R8WhMPl-54


I don't know how it works without a rangefinder mounted co-axially with the camera, but the idea is you send it up and it takes pictures of poo poo and turns it into a 3D model you can examine at leisure after your flight drone lands. This beats the pants off pausing/restarting 1 frame at a time to eke all the information possible out of each video taken. If this program can remember where it's been and allow you to stitch together data from multiple flights, it should be possible to map out an arbitrarily large area.

In personal practical terms this means that I personally can not only map out where exactly all my trees are, but determine the optimal path through the woods to lay pex tube in the forest, and calculate exactly how much I need to buy. This is huge.

But it's DJI only. It seems like something APM should be able to do though. Is there a menu dropdown I might have overlooked?

Elendil004
Mar 22, 2003

The prognosis
is not good.


Good use for my dust-gathering P2V+, awesome I'll check it out.

ImplicitAssembler
Jan 24, 2013

DreadLlama posted:

I just stumbled across a youtube video for some useful-looking software.

https://www.youtube.com/watch?v=6R8WhMPl-54


But it's DJI only. It seems like something APM should be able to do though. Is there a menu dropdown I might have overlooked?

It's not DJI only, the name should be a giveaway.
Google 'orthomosaic mapping'.

helno
Jun 19, 2003

hmm now were did I leave that plane
After an afternoons work.

Slash
Apr 7, 2011

So I'm wiring up my quad, the ESC's are the DYS SN20A Opto.
Do i need to wire up the ground signal lead, or is it safe to ignore it? I would imagine it could use the Power Ground connection as a reference?

Nerobro
Nov 4, 2005

Rider now with 100% more titanium!

Slash posted:

So I'm wiring up my quad, the ESC's are the DYS SN20A Opto.
Do i need to wire up the ground signal lead, or is it safe to ignore it? I would imagine it could use the Power Ground connection as a reference?

Signal integrity is deeply related to path to ground. Also, the twisted wires shield the signal wire. It "might" work if you don't hook up the ground wire. But it also might not. Most likely, it'll work "most of the time" but you'll get random motor shutdowns in flight and be wondering why the hell your quad keeps doing wacked rear end poo poo in the air.

Don't do that to yourself.

Slash
Apr 7, 2011

Nerobro posted:

Signal integrity is deeply related to path to ground. Also, the twisted wires shield the signal wire. It "might" work if you don't hook up the ground wire. But it also might not. Most likely, it'll work "most of the time" but you'll get random motor shutdowns in flight and be wondering why the hell your quad keeps doing wacked rear end poo poo in the air.

Don't do that to yourself.

Ok will do. The PDB i'm using does not have pads connecting the Signal Ground to the flight controller, can i just solder it directly to the Ground connection on the PDB?

moron izzard
Nov 17, 2006

Grimey Drawer

Nerobro posted:

Signal integrity is deeply related to path to ground. Also, the twisted wires shield the signal wire. It "might" work if you don't hook up the ground wire. But it also might not. Most likely, it'll work "most of the time" but you'll get random motor shutdowns in flight and be wondering why the hell your quad keeps doing wacked rear end poo poo in the air.

Don't do that to yourself.

While plenty have wired up their opto ESCs (including the sn20a) without the second ground fine, I'd leave it on just so that you can reprogram your ESCs whenever you want

i own every Bionicle
Oct 23, 2005

cstm ttle? kthxbye

PirateDentist posted:

I dusted off my Nano QX since I really want to get into 250 racing quads next year, but I feel I need to get some solid hours in with this little guy before moving that direction.

I put it in agility mode so my practice is more useful toward how bigger quads fly, but it's so goddamn twitchy I can't keep it hovering. I move the stick as fine as I can and there's nothing, nothing, nothing, flipupsidedown.

I'm wondering how much is inexperience and how much is the lovely transmitter it comes with. I don't really get past 25 feet with it before it cuts out. Is this a case where getting a real transmitter where I can adjust expo and such be worth it? It'd undoubtedly increase the range also so I could actually take it to the local field and do more than hover within arms reach.

A good transmitter is a decent idea (look for a used dx7 or something) but the nano sucks in agility mode. It's too small and quick. Use self level. Also, I've found that some upgraded motors makes a big difference on it.

Nerobro
Nov 4, 2005

Rider now with 100% more titanium!

Slash posted:

Ok will do. The PDB i'm using does not have pads connecting the Signal Ground to the flight controller, can i just solder it directly to the Ground connection on the PDB?



Don't get me started on PDBs. :-) IF they want you to ignore the ground on the ESC, ignore the ground.

Wojcigitty posted:

It's too small and quick. Use self level.

Mass makes such a difference in control ability. This is why bigger helicopters are easier to fly.

Combat Pretzel
Jun 23, 2004

No, seriously... what kurds?!
Eh, it's slowly coming together. Tuning the printer, printing the parts, fixing tolerances and reprinting, and the drat printer throwing curve balls, all at the same time, drags things out a little. :|





helno posted:

After an afternoons work.


Oooh nice.

BastionPete
Nov 4, 2015

Combat Pretzel posted:

Eh, it's slowly coming together. Tuning the printer, printing the parts, fixing tolerances and reprinting, and the drat printer throwing curve balls, all at the same time, drags things out a little. :|


This is real nice. How heavy are the 3D printed parts compared to, say, an aluminum set?

Elendil004
Mar 22, 2003

The prognosis
is not good.


Pix4d is really neat, the app is a little clunky but that might be because my p2v+ has a lot of hours on it (and at least one crash).

Of course my GIS experience is lacking so what to do with these cool 3d models and maps is my next step.

Combat Pretzel
Jun 23, 2004

No, seriously... what kurds?!

BastionPete posted:

This is real nice. How heavy are the 3D printed parts compared to, say, an aluminum set?
Density wise, aluminium is 2.7g/cm3 where as PETG (which I print in) is 1.4g/cm3. Plus, the insides are usually printed with sparse infill, making it a little lighter, like so:



How stable it'll all be, I'll see on the first crashes. Those laser sintered Nylon sheets from Shapeways in my previous custom drone felt like Pringles chips, and were easy enough to break if you wanted to, yet it survived all crashes well enough considering. The test pieces I've printed in PETG feel way more durable.

Combat Pretzel
Jun 23, 2004

No, seriously... what kurds?!
So yeah, I had first contact with Arduinos and it went well. Now I have the stupid idea of a(nother) winter project of programming my own flight controller. I know of the APM 2.6, but it's the old 8-bit Arduino with a built-in IMU. Does anyone know of 32bit platforms like this, or am I out of luck and need to get a stock one and use a separate IMU?

BastionPete
Nov 4, 2015

Combat Pretzel posted:

So yeah, I had first contact with Arduinos and it went well. Now I have the stupid idea of a(nother) winter project of programming my own flight controller. I know of the APM 2.6, but it's the old 8-bit Arduino with a built-in IMU. Does anyone know of 32bit platforms like this, or am I out of luck and need to get a stock one and use a separate IMU?
I have actually done this. I interfaced a separate IMU with an arduino DUE. It actually worked really well. Coding it took quite a while though. I hope you love quaternions, control theory, and vector maths. I think the programming side of an arduino is a lot easier than programming an existing and prebuilt control board like APM, simply because the arduino makes interfacing with everything so easy. Interfacing the IMU is really easy, most of them use an I2C interface and come with libraries that plug and play with an arduino. I used an Altimu 10 - v4. I'm currently working on a custom flight controller based on an AVR32 MCU. It's a lot harder.

Combat Pretzel posted:

Density wise, aluminium is 2.7g/cm3 where as PETG (which I print in) is 1.4g/cm3. Plus, the insides are usually printed with sparse infill, making it a little lighter, like so:
How stable it'll all be, I'll see on the first crashes. Those laser sintered Nylon sheets from Shapeways in my previous custom drone felt like Pringles chips, and were easy enough to break if you wanted to, yet it survived all crashes well enough considering. The test pieces I've printed in PETG feel way more durable.
That's pretty light, though I guess aluminium parts would be smaller? Definitely make sure it's all still structurally secure after any crashes. 3D printed plastic will never be as impact resistant as say ABS.

BastionPete fucked around with this message at 01:28 on Nov 5, 2015

Combat Pretzel
Jun 23, 2004

No, seriously... what kurds?!
As said, my Shapeways parts survived way more than I ever expected from them, and replacement parts I've printed myself are stronger. I have ABS filament here, but it's a pain in the rear end to print with. PET is what plastic bottles are made of, and you know how strong they are. Well, we'll see.

A friend of mine had a custom design made from aluminium for a while. The arms were water jet cut from 5mm aluminium plates. They bent rather quickly on even lighter crashes. Not sure what alloy it was, tho.

As far as a custom FC goes, quaternions is the only issue, never done these yet. A personal code base is always easier to work with. I want eventually things like smooth mode switchover (to mitigate jerking e.g. when switching from altitude hold to autolevel while throttle isn't in proper position) and, depending on how reliable I can measure it from the accelerometers and the barometer, throw-up-in-the-air arming (there's plenty of shrubbery around here for soft crashing while testing :v: ).

I think I'll be going for the Arduino Zero instead, tho. It's smaller and I don't think that 8-bit PWM will pose a problem.

Combat Pretzel fucked around with this message at 01:58 on Nov 5, 2015

BastionPete
Nov 4, 2015
Maybe it's just my ignorance, but surely a 3d printed part won't be the same strength as an identical part made using the same material, just with a more conventional manufacturing process?

It looks like a nice little board. The DUE is faster, but I never got close to using it's full processing speed so that shouldn't be too much of a problem. For the PWM, remember the pulse needs to vary between 1 and 2 ms for the full range of motion/throttle. If you have a 10ms total pulse (100Hz), you will always be losing a lot of resolution on signal that doesn't matter. You have 256 different possible duty cycles on an 8bit pwm, but you're only interested in about 25 of them. This means only 25 unique throttle settings. Might not be a problem, I don't really know. Check it before you buy it.

Quaternions are a bit of a bitch to get your head around. You'll also need to get to grips with axis-angle representations and euler angles. Find some libraries to convert between them. There are some pretty lovely resources out there on quaternions, some acceptable ones too. I looked at this well over a year ago now and can't remember any of it lol. To be honest, you don't have to fully understand what they are to use them effectively. So long as you understand their properties and can mindlessly use some stolen function to convert between quaternions, axis-angle and euler, you should be okay. The main thing to remember is that whenever you are calculating any kind of rotation, you want to be using quaternions so as not to get gimbal lock. When wanting to figure out thrust outputs it's useful to convert the calculated quaternion into a euler representation to apply it to the quadcopter. This probably won't make sense now.
I'd recommend using madgwicks filter to get your orientation as a quaternion. Life is too short to write that poo poo yourself. Not as good as a kalman filter apparently, but acceptable for a multirotor.

EDIT: poo poo. for the PWM you should be okay for the inputs as you can read it easily using interrupts and get full resolution on the pulse width. For the outputs I actually used adafruits I2C pwm driver because it was easier.

EDIT2: Holy poo poo, my current MPU I'm working on only uses 8bit PWM outputs too... maaaaaybe need to think about this a bit more.

EDIT3:well gently caress. I've been banging my head against a brick wall for ages trying to get the PWM working on my chip. The interrupts were just not playing ball and it was really slow for some reason. Still couldn't get it working last night. Now I get to throw it all away and go back to this. Well I mean the chip from the device and I'm planning on a custom PCB...

EDIT4: gently caress everything. One of the reasons I chose my MCU in the first place is that it had a shitload of PWM outputs. Now I can't even use them. I even passed on a better chip (with an FPU) because it didn't have many PWM outputs.

BastionPete fucked around with this message at 03:04 on Nov 5, 2015

Combat Pretzel
Jun 23, 2004

No, seriously... what kurds?!
All those edits aren't exactly making me hopeful. :q:

helno
Jun 19, 2003

hmm now were did I leave that plane


Update.



Those PET parts look good. Might have to try some different filament.

Sagebrush
Feb 26, 2012

https://www.youtube.com/watch?v=HC89KRV7l9M

BastionPete
Nov 4, 2015

Combat Pretzel posted:

All those edits aren't exactly making me hopeful. :q:
if you stay with the arduino you'll be fine.

Erwin
Feb 17, 2006


Seems fake. As soon as the pumpkin hits, the camera is immediately on the ground and spinning, and then you can see a guy in the video at 30 seconds, but then apparently it took them 4 hours to find the camera. Not sure why though, because the actual shot of the pumpkin seems real, as if it barely missed the drone but they decided to make it look like it hit instead? I think a shot of a pumpkin from a cannon whizzing by would be just as impressive.

dr cum patrol esq
Sep 3, 2003

A C A B

:350:

Erwin posted:

Seems fake. As soon as the pumpkin hits, the camera is immediately on the ground and spinning, and then you can see a guy in the video at 30 seconds, but then apparently it took them 4 hours to find the camera. Not sure why though, because the actual shot of the pumpkin seems real, as if it barely missed the drone but they decided to make it look like it hit instead? I think a shot of a pumpkin from a cannon whizzing by would be just as impressive.

That's a lot of words man. Looks real to me.

bring back old gbs
Feb 28, 2007

by LITERALLY AN ADMIN

dev null posted:

That's a lot of words man. Looks real to me.

Same, except it took 4 hours to find the thing? That was what I found weird I saw the person in the video too, even managed to find a still frame:



It's some slenderman type poo poo. Like the last frame captured on a camera recovered from a dead body. :tinfoil:

The Eyes Have It
Feb 10, 2008

Third Eye Sees All
...snookums
A photo of the person who threw the gopro with a wicked topspin maybe :tinfoil:

The Eyes Have It
Feb 10, 2008

Third Eye Sees All
...snookums
HOW CREEPY IS THAT

Sagebrush
Feb 26, 2012

Erwin posted:

Seems fake. As soon as the pumpkin hits, the camera is immediately on the ground and spinning, and then you can see a guy in the video at 30 seconds, but then apparently it took them 4 hours to find the camera. Not sure why though, because the actual shot of the pumpkin seems real, as if it barely missed the drone but they decided to make it look like it hit instead? I think a shot of a pumpkin from a cannon whizzing by would be just as impressive.

Pumpkin cannons exist. Camera drones exist. Is it really that hard to believe that a 200mph+ flying pumpkin could veer slightly off course and hit the drone? Go to the youtube link, the guy's posted pictures of the damage.

The camera spins while it's falling, not when it's on the ground, and I can tell you from experience that finding something lost in the woods is way more difficult than it seems, even if "I swear I just saw it land right here."

bring back old gbs
Feb 28, 2007

by LITERALLY AN ADMIN

Sagebrush posted:

Pumpkin cannons exist. Camera drones exist. Is it really that hard to believe that a 200mph+ flying pumpkin could veer slightly off course and hit the drone? Go to the youtube link, the guy's posted pictures of the damage.

The camera spins while it's falling, not when it's on the ground, and I can tell you from experience that finding something lost in the woods is way more difficult than it seems, even if "I swear I just saw it land right here."

Address the blurred X-Files-intro-esque abomination!

VV EDIT: The guy is pictured WHILE it's spinning. Just before it finally stops. It spun for 4 hours, cut for time as you said. The appearance of the man disrupted whatever wormhole the gopro got caught in. Probably(obviously) playful Greys.

bring back old gbs fucked around with this message at 20:04 on Nov 5, 2015

The Eyes Have It
Feb 10, 2008

Third Eye Sees All
...snookums
yeah well uh how come there isnt 4 hours of sitting in the grass footage since they said it took 4 hours to find so uh are they lying now or were they lying then

i own every Bionicle
Oct 23, 2005

cstm ttle? kthxbye
PUMPKINS CANT MELT STEEL BEAMS

mashed
Jul 27, 2004

What I find interesting isn't that it recorded nothing. Its that it recorded 4 hours of nothing :v:

Contact still haunts me.

mobby_6kl
Aug 9, 2009

by Fluffdaddy
https://www.youtube.com/watch?v=mL0iC0HPbhg

DJI's first combat loss? :v:

I also almost had one of my own, during more... vigorous banking, the balancing cable slipped out from wherever I tucked it in, and got hit by a prop, cutting one wire clean off and loving up the connector. Thankfully it didn't short out while in the air so hopefully cannibalizing a connector off a different battery would be enough to get up in the air again.



I cut the yellow one myself before finding the cork in my glovebox, thankfully I keep all sort of junk in the car.

Elendil004
Mar 22, 2003

The prognosis
is not good.


Anyone have any idea what it would take to haul a LIDAR unit into the air and do surveys?

porksmash
Sep 30, 2008

Elendil004 posted:

Anyone have any idea what it would take to haul a LIDAR unit into the air and do surveys?

That's a pretty vague question. It would take a big airplane and an onboard computer and some way to fly it on a specified path.

ImplicitAssembler
Jan 24, 2013

porksmash posted:

That's a pretty vague question. It would take a big airplane and an onboard computer and some way to fly it on a specified path.

You can get pretty small LIDAR units now.

Elendil004
Mar 22, 2003

The prognosis
is not good.


porksmash posted:

That's a pretty vague question. It would take a big airplane and an onboard computer and some way to fly it on a specified path.

Obviously on an RC aerial vehicle.

Adbot
ADBOT LOVES YOU

moron izzard
Nov 17, 2006

Grimey Drawer

Elendil004 posted:

Anyone have any idea what it would take to haul a LIDAR unit into the air and do surveys?

http://pulsedlight3d.com/blogs/cool-stuff/25137473-pixhawk-lidar-lite-setup-demo

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply