23 #ifndef LIAISONGEODESY20131115H 24 #define LIAISONGEODESY20131115H 26 #include <Wt/WBoxLayout> 29 #include <Wt/WVBoxLayout> 31 #include "goby/common/liaison_container.h" 32 #include "goby/moos/moos_geodesy.h" 33 #include "goby/moos/protobuf/liaison_config.pb.h" 49 DEGREES_MINUTES_SECONDS = 2
53 void convert_local_to_geo();
54 void convert_geo_to_local();
64 std::wstring format(
double angle, LatLonMode mode, LatLon type);
71 Wt::WText* datum_lat_;
72 Wt::WText* datum_lon_;
74 Wt::WPushButton* local_to_geo_button_;
75 Wt::WLineEdit* local_to_geo_x_;
76 Wt::WLineEdit* local_to_geo_y_;
77 Wt::WText* local_to_geo_lat_;
78 Wt::WText* local_to_geo_lon_;
80 Wt::WPushButton* geo_to_local_button_;
81 Wt::WText* geo_to_local_x_;
82 Wt::WText* geo_to_local_y_;
84 Wt::WLineEdit* geo_to_local_lat_deg_;
85 Wt::WLineEdit* geo_to_local_lon_deg_;
87 Wt::WContainerWidget* lat_min_box_;
88 Wt::WLineEdit* geo_to_local_lat_min_;
89 Wt::WContainerWidget* lon_min_box_;
90 Wt::WLineEdit* geo_to_local_lon_min_;
91 Wt::WContainerWidget* lat_hemi_box_;
92 Wt::WComboBox* geo_to_local_lat_hemi_;
93 Wt::WContainerWidget* lon_hemi_box_;
94 Wt::WComboBox* geo_to_local_lon_hemi_;
96 Wt::WContainerWidget* lat_sec_box_;
97 Wt::WLineEdit* geo_to_local_lat_sec_;
98 Wt::WContainerWidget* lon_sec_box_;
99 Wt::WLineEdit* geo_to_local_lon_sec_;
101 Wt::WComboBox* latlon_format_;
107 double last_lat_, last_lon_, last_x_, last_y_;
The global namespace for the Goby project.