osrf / mbari_wec_gz

Simulation of wave energy harvesting buoy
Apache License 2.0
18 stars 2 forks source link

Init latlon for world #148

Closed andermi closed 1 year ago

andermi commented 1 year ago

This warning was being spammed:

[Wrn] [Magnetometer.cc:433] Failed to update NavSat sensor enity [84]. Spherical coordinates not set.

This PR adds a spherical_coordinates to the main world file to init world origin and the warning goes away.

andermi commented 1 year ago

@hamilton8415 @quarkytale if one of you could push this one through quickly, I'd appreciate it.

hamilton8415 commented 1 year ago

OK, I did run this and it runs fine, although with this version of _gz since the PR is against main, the .csv files aren't being created, so we will have to wait to see if lat/lon values appear. No problem...