JaiaBot 2.3.0
JaiaBot micro-AUV software
 
Loading...
Searching...
No Matches
jaiabot::utils Namespace Reference

Classes

struct  PolarCoordinate
 

Functions

jaiabot::protobuf::GeographicCoordinate calculate_position_from_offset (const goby::util::UTMGeodesy &geodesy, const jaiabot::protobuf::GeographicCoordinate &start_location, double distance_meters, double heading_degrees)
 
PolarCoordinate convert_cartesian_to_polar (double start_x, double start_y, double end_x, double end_y)
 
jaiabot::protobuf::GeographicCoordinate find_dive_end_location (const goby::util::UTMGeodesy &geodesy, double duration_to_acquire_gps, const jaiabot::protobuf::GeographicCoordinate &drift_start_location, double drift_speed, double drift_heading)
 
float haversine (float lat1, float lon1, float lat2, float lon2)
 
float calculateHeading (double sx, double sy, double ex, double ey)
 

Function Documentation

◆ calculate_position_from_offset()

jaiabot::protobuf::GeographicCoordinate jaiabot::utils::calculate_position_from_offset ( const goby::util::UTMGeodesy &  geodesy,
const jaiabot::protobuf::GeographicCoordinate start_location,
double  distance_meters,
double  heading_degrees 
)
inline

Definition at line 21 of file mission_manager_utils.h.

◆ calculateHeading()

float jaiabot::utils::calculateHeading ( double  sx,
double  sy,
double  ex,
double  ey 
)
inline

Definition at line 123 of file mission_manager_utils.h.

◆ convert_cartesian_to_polar()

PolarCoordinate jaiabot::utils::convert_cartesian_to_polar ( double  start_x,
double  start_y,
double  end_x,
double  end_y 
)
inline

Definition at line 57 of file mission_manager_utils.h.

◆ find_dive_end_location()

jaiabot::protobuf::GeographicCoordinate jaiabot::utils::find_dive_end_location ( const goby::util::UTMGeodesy &  geodesy,
double  duration_to_acquire_gps,
const jaiabot::protobuf::GeographicCoordinate drift_start_location,
double  drift_speed,
double  drift_heading 
)
inline

Definition at line 83 of file mission_manager_utils.h.

◆ haversine()

float jaiabot::utils::haversine ( float  lat1,
float  lon1,
float  lat2,
float  lon2 
)
inline

Definition at line 99 of file mission_manager_utils.h.