Rover Steering Setup for Big Craft / Vehicles

Thank you Randy, that is a very valuable lesson regarding the copying of the full parameter tree, and has possibly been the cause of many of my woes over the past 6 years.

I will be giving these changes a try when I get back from my mapping trip week after next, thank you once again.

An autotune feature will be a big winner for sure, especially for larger craft like mine.

2 Likes

Recently got back from mapping and found some oddities so we decided to do a water test on one of our Gauteng reservoirs - Bronkhortspruit Dam

Files:
Log - Dropbox - 00000051.BIN - Simplify your life
KML - Dropbox - R00221.kml - Simplify your life

This what was done according to the Mission Planner Log Browser

In particular seen here wpts 30-50, all looks great …

Unfortunately, this is what ACTUALLY happened and is up to 30 FEET off the desired/planned route.
How does this happen?

And the result - not pretty

This was the other AIMy (Skinny)* an hour earlier with the identical setup and hardware. She uses our old parameters that we treasure like gold. Fat is on the latest firmware and is using the parameters we came to in this thread. See image below.

Skinny Files:

*These two AIMy’s are named Fat and Skinny as the only difference is the thickness of the hull where one is heavy and the other light.

Need a log to fully explore it. Looks like you may have lost GPS for a while and the EKF position estimate drifted, but can’t say for sure without the data.

2 Likes

Yes, as @Yuri_Rage says a log file would be good.

It’s also possible that AP is correct and that the external GPS (perhaps attached to the sonar?) is incorrect. We should be able to look at the GPS and GPA messages in the onboard logs to see how accurate the GPS thinks it is.

… I think it will come down to which of the two GPSs is correct. It’s less likely to be an AP software issue.

2 Likes

For that matter, a CSV, KML, or similar of the sonar GPS data might help for comparison’s sake, assuming that’s a separate module.

1 Like

If I can go off on a tangent for a moment, we are thinking about starting a project to create “drone management” software to make it easier to keep track of vehicles, handle their log files, update firmware etc. I was thinking of using this on my boat to allow combining the autopilot’s position and attitude estimates with the sonar data. it would require a companion computer and that might mean we need to write some sonar drivers on the companion computer because routing a side scan sonar data through the autopilot is a bit much for it to handle (I think).

2 Likes

My apologies, I forgot to attach the log (see above in my edited post). I have also included the KML from the sonar GPS which is separate yes.

1 Like

That sounds interesting Randy. Keep in mind that I am currently sending the NMEA0183 data from the sonar to the autopilot for my rangefinder data.

I have also included the sidescan mosaic and files from the other AIMy to show the comparison in the post above. (edited)

1 Like

I’m going to venture a guess that your sonar GPS accuracy suffered on this mission.

The log doesn’t show anything too glaring from what I can see, though the position accuracy and satellite count steadily declined throughout, so maybe the sonar GPS started to lose its way as GPS “conditions” worsened.

The log still shows reasonable horizontal accuracy and EKF innovations even as the satellite count dropped to 6 from 10-12 initially. If the sonar antenna was seeing 6 or fewer satellites at the same time, it’s entirely possible that its accuracy suffered worse than the autopilot.

If you mentally “stitch” this part of the image together, it kind of makes sense that the image is offset from reality rather than the boat’s path having wandered off course. Does that make sense?

image

Sudden jumps in position like this are also somewhat telling that the GPS positional accuracy was suffering:

image

If the sonar GPS will accept RTCM3 from the autopilot GPS (assuming it’s capable as well), the two would likely align better throughout.

2 Likes

Yep that makes complete sense. Is there any way to get the actual trail of the autopilot as a kml for example?

Yep. It’s right there in MP where you review the log.

The output is a little funky, with a 3D path and altitude displayed in a way that doesn’t make sense. But there’s an option in Google Earth somewhere to flatten the trace (I can’t remember what it’s called).

Nope, I can’t find it

Left column, second from the top.

image

1 Like

Oh ok, I was trying to export from the log browser map, thank you.
The GPS on the sonar definitely suffered, I wish I could work out how to get the GPS from the autopilot into the Humminbird through the NMEA0183.

1 Like

@John_Easton,

Yes, it’s this part that is slightly challenging… blending the NMEA output from the autopilot into the sonar’s output file. You said above that you pass the side scan sonar NMEA data into the autopilot so that you can see it in real-time on the ground station? … and I guess on the sonar itself it also records a NMEA file and this is what you’re later using as the input to the mapping software?

1 Like