The original spawn_model script (uuv_descriptions/spawn_model) was designed to take lat/lon geodetic initial position as well as x/y position. However, it did not work correctly nor accurate.
It works correctly for our purposes but copy/modify the external script is not much desirable. The wrapper function glider_hybri_whoi_description/spawn_model_wrapper only calculate lat/lon with pyproj and calls uuv_descriptions/spawn_model to spawn will be a more generic way to serve the purpose.
The original spawn_model script (
uuv_descriptions/spawn_model
) was designed to take lat/lon geodetic initial position as well as x/y position. However, it did not work correctly nor accurate.PR https://github.com/Field-Robotics-Lab/glider_hybrid_whoi/pull/50 included a new
glider_hybri_whoi_description/spawn_model
script which is modified version ofuuv_descriptions/spawn_model
by replacing pymap3d to pyproj python package.It works correctly for our purposes but copy/modify the external script is not much desirable. The wrapper function
glider_hybri_whoi_description/spawn_model_wrapper
only calculate lat/lon with pyproj and callsuuv_descriptions/spawn_model
to spawn will be a more generic way to serve the purpose.