inav icon indicating copy to clipboard operation
inav copied to clipboard

Inav for Aerial Mapping

Open Cutbangrian opened this issue 6 years ago • 23 comments

Halo, I've been using inav for a quite long time. since 1.5 version and there is a lot of upgrades.

What I want to ask, Is there any chance to use INAV for aerial mapping? just like ardupilot?

I see a lot of community on my town are using APM to fly their autonomous plane and use it to mapping such a field, landmark, etc.

could inav do the same? I mean Ive been using inav waypoint and it works amazing. but one problem appeared, Inav doest have a feature to setting a shutter speed in a camera.

in ardupilot, they use mission planner to configure it. like take a picture every 50 meters, then log its coordinate.

after flying, all we need to do is match the coordinate with the picture that has been taken. and with Arcgis software, we can make a layout of a field only with those picture.

could inav do that?

Cutbangrian avatar Mar 04 '20 05:03 Cutbangrian

This would be a pretty cool feature to add to the mission planner (to plan the grid like Mission Planner or DroneDeploy can). The second step would be to add a way to trigger an event (something in the global functions/logic variables perhaps?) so that you could hook a wire up to a camera to snap a picture on command.

swissfreek avatar Mar 21 '20 17:03 swissfreek

There are a couple of extant (and long standing) options for area / grid planning:

http://www.iforce2d.net/surveyplanner/ mwp area planner https://github.com/stronnag/mwptools/wiki

stronnag avatar Mar 21 '20 18:03 stronnag

You are right, I had completely forgotten about iforce2d's site (man, he's been around forever). Yours I was not familiar with. I will look into it.

swissfreek avatar Mar 21 '20 18:03 swissfreek

I "borrowed" iforce2d's algorithm, they both give the same result.

stronnag avatar Mar 21 '20 18:03 stronnag

This would be a pretty cool feature to add to the mission planner (to plan the grid like Mission Planner or DroneDeploy can). The second step would be to add a way to trigger an event (something in the global functions/logic variables perhaps?) so that you could hook a wire up to a camera to snap a picture on command.

I knew about that, but this is about aerial mapping.

My friend used ardupilot, as a main job. To locate and take a picture of a field that google maps doesnt care so much.

So they need to 'mapping' that area using autonomous plane.

So, in ardupilot they have mission planner to act just like inav configurator.

But, in mission planner, they have something or feature that could setting the camera to take picture every 5 or 10 meters and log the coordinate.

After that, they only need to join and match the coordinate that has been logged with the picture that has been taken.

So the final result is a map in satellite display.

Actually I can learn ardupilot, but I was too comfortable with INaV.

I hope you get my point. In inav, we dont have that feature, and if I did just like you said, take a wire and switch to trigger the camera to take a picture,

How to set the camera that automatically take a picture in every 10 meters or every 10 seconds 😃

Cutbangrian avatar Mar 21 '20 22:03 Cutbangrian

There are a couple of extant (and long standing) options for area / grid planning:

http://www.iforce2d.net/surveyplanner/ mwp area planner https://github.com/stronnag/mwptools/wiki

Never heard about this but I will looking into that.

Is that possible to have aerial mapping with inav?

Cutbangrian avatar Mar 21 '20 22:03 Cutbangrian

Right, that's what I was saying. You can currently plan for a grid flight, but you cannot trigger the camera to take a picture at certain points because there are not waypoint functions yet. But it looks like it is coming as there have been recent pull requests to start working on having different waypoint functions the way Ardupilot does. Another nice thing Mission Planner does is all the math to figure out exactly where all the pictures need to be taken based on resolution and all that. I haven't had a chance to look into stronnag's program but if it does that, that's another step in the right direction. If not, it needs to be added somewhere, because it would be very tedious to create all the individual waypoints for all the pictures (and likely impossible to calculate the points by hand).

swissfreek avatar Mar 21 '20 22:03 swissfreek

Neither of the extant area / grid planning solutions do anything more than plan a WP mission. Anything else requires flight controller support.

stronnag avatar Mar 22 '20 08:03 stronnag

Right, that's what I was saying. You can currently plan for a grid flight, but you cannot trigger the camera to take a picture at certain points because there are not waypoint functions yet. But it looks like it is coming as there have been recent pull requests to start working on having different waypoint functions the way Ardupilot does. Another nice thing Mission Planner does is all the math to figure out exactly where all the pictures need to be taken based on resolution and all that. I haven't had a chance to look into stronnag's program but if it does that, that's another step in the right direction. If not, it needs to be added somewhere, because it would be very tedious to create all the individual waypoints for all the pictures (and likely impossible to calculate the points by hand).

seriously? is there any pull request about more functions of waypoint? thanks god. I really cant wait to see it. So I could use inav for aerial mapping sooner. basically this feature will work with simple principle right? just added more function on waypoint, like to trigger the camera and log the coordinate.

so far, inav is really good for me.

Cutbangrian avatar Mar 22 '20 14:03 Cutbangrian

Right, that's what I was saying. You can currently plan for a grid flight, but you cannot trigger the camera to take a picture at certain points because there are not waypoint functions yet. But it looks like it is coming as there have been recent pull requests to start working on having different waypoint functions the way Ardupilot does. Another nice thing Mission Planner does is all the math to figure out exactly where all the pictures need to be taken based on resolution and all that. I haven't had a chance to look into stronnag's program but if it does that, that's another step in the right direction. If not, it needs to be added somewhere, because it would be very tedious to create all the individual waypoints for all the pictures (and likely impossible to calculate the points by hand).

seriously? is there any pull request about more functions of waypoint? thanks god. I really cant wait to see it.

So I could use inav for aerial mapping sooner.

basically this feature will work with simple principle right? just added more function on waypoint, like to trigger the camera and log the coordinate.

so far, inav is really good for me.

I’m assuming that’s the eventual intent, but it looks like it’s fairly early in the process. I’m not sure there’s a ton of demand in the greater iNav user base for this sort of thing, so it might not be a priority.

swissfreek avatar Mar 22 '20 15:03 swissfreek

I use inav for mapping. But the output is only orthomosaic picture. We can set survey planner with inav mission planner for android. Then fly with camera facing down and record as video. From video file we can convert it into images (5 seconds oer frame as example). Then process it on agiSoft. Done.... 😁😁😁. But no gps data

a-425 avatar Apr 22 '20 06:04 a-425

I use inav for mapping. But the output is only orthomosaic picture. We can set survey planner with inav mission planner for android. Then fly with camera facing down and record as video. From video file we can convert it into images (5 seconds oer frame as example). Then process it on agiSoft. Done.... . But no gps data

Seriously? This is interesting. What type of plane? How do you setup camera to triggered? Do you used CHDK script?

5 second interval I thougt were too long. You should try 2 second interval.

Can I see the images?

To be straight, left me a contact so we can chat in private. Thanks mate!

Cutbangrian avatar Apr 22 '20 07:04 Cutbangrian

You can even make it 5 images per second. I press record before my quads take off. Here is my screenshot Uploading ShowOff01.jpg…

a-425 avatar Apr 22 '20 07:04 a-425

I mean you can set as you want. 1 image per 2 second or 1 image per second or evem 3 images per second you are able to do that

a-425 avatar Apr 22 '20 07:04 a-425

I use inav for mapping. But the output is only orthomosaic picture. We can set survey planner with inav mission planner for android. Then fly with camera facing down and record as video. From video file we can convert it into images (5 seconds oer frame as example). Then process it on agiSoft. Done.... . But no gps data

Seriously? This is interesting. What type of plane? How do you setup camera to triggered? Do you used CHDK script?

5 second interval I thougt were too long. You should try 2 second interval.

Can I see the images?

To be straight, left me a contact so we can chat in private. Thanks mate!

Mine is 5 inch multicopter

a-425 avatar Apr 22 '20 07:04 a-425

I use inav for mapping. But the output is only orthomosaic picture. We can set survey planner with inav mission planner for android. Then fly with camera facing down and record as video. From video file we can convert it into images (5 seconds oer frame as example). Then process it on agiSoft. Done.... . But no gps data

Seriously? This is interesting. What type of plane? How do you setup camera to triggered? Do you used CHDK script?

5 second interval I thougt were too long. You should try 2 second interval.

Can I see the images?

To be straight, left me a contact so we can chat in private. Thanks mate!

[email protected]

a-425 avatar Apr 22 '20 07:04 a-425

In INAV 2.5 it will be possible to program a servo output to for trigger with defined frequency. Trigger based on traveled distance is not confirmed

DzikuVx avatar Apr 22 '20 08:04 DzikuVx

In INAV 2.5 it will be possible to program a servo output to for trigger with defined frequency. Trigger based on traveled distance is not confirmed

Really? I cant wait to see it! Step by step we will race ardupilot. There are Inav rover and boat.

Now triggering camera via Inav 2.5.

No problem with triggered by distance, at the first time, trigger by timer interval will do.

I hope in inav 2.5 we can hook up a camera and trigger it automatically, so I can use inav in a professional job of surveying and could contribute on the patreon. Cheers!

Cutbangrian avatar Apr 22 '20 11:04 Cutbangrian

This issue / pull request has been automatically marked as stale because it has not had any activity in 60 days. The resources of the INAV team are limited, and so we are asking for your help. This issue / pull request will be closed if no further activity occurs within two weeks.

stale[bot] avatar Jun 21 '20 12:06 stale[bot]

Automatically closing as inactive.

stale[bot] avatar Jul 05 '20 12:07 stale[bot]