mirror of
https://github.com/k3ng/k3ng_rotator_controller.git
synced 2024-12-18 20:57:56 +00:00
2021.02.16.01
Fixed potential for latest coordinates from GPS not being used for satellite tracking
This commit is contained in:
parent
43d7a3ce4b
commit
7efacefc46
@ -897,6 +897,9 @@
|
|||||||
2021.01.26.01
|
2021.01.26.01
|
||||||
(Hopefully) Fixed heading decimal place issues (float vs. int) in FEATURE_AZ_POSITION_HH12_AS5045_SSI, FEATURE_EL_POSITION_HH12_AS5045_SSI, and FEATURE_EASYCOM_EMULATION
|
(Hopefully) Fixed heading decimal place issues (float vs. int) in FEATURE_AZ_POSITION_HH12_AS5045_SSI, FEATURE_EL_POSITION_HH12_AS5045_SSI, and FEATURE_EASYCOM_EMULATION
|
||||||
|
|
||||||
|
2021.02.16.01
|
||||||
|
Fixed potential for latest coordinates from GPS not being used for satellite tracking
|
||||||
|
|
||||||
All library files should be placed in directories likes \sketchbook\libraries\library1\ , \sketchbook\libraries\library2\ , etc.
|
All library files should be placed in directories likes \sketchbook\libraries\library1\ , \sketchbook\libraries\library2\ , etc.
|
||||||
Anything rotator_*.* should be in the ino directory!
|
Anything rotator_*.* should be in the ino directory!
|
||||||
|
|
||||||
@ -910,7 +913,7 @@
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define CODE_VERSION "2021.01.26.01"
|
#define CODE_VERSION "2021.02.16.01"
|
||||||
|
|
||||||
|
|
||||||
#include <avr/pgmspace.h>
|
#include <avr/pgmspace.h>
|
||||||
@ -19056,6 +19059,10 @@ void convert_polar_to_cartesian(byte coordinate_conversion,double azimuth_in,dou
|
|||||||
|
|
||||||
byte pull_result = 0;
|
byte pull_result = 0;
|
||||||
|
|
||||||
|
obs.LA = latitude;
|
||||||
|
obs.LO = longitude;
|
||||||
|
obs.HT = altitude_m;
|
||||||
|
|
||||||
if (service_action == SERVICE_CALC_REPORT_STATE){return service_calc_satellite_data_service_state;}
|
if (service_action == SERVICE_CALC_REPORT_STATE){return service_calc_satellite_data_service_state;}
|
||||||
|
|
||||||
if (service_action == SERVICE_CALC_INITIALIZE){ // initialize calculation
|
if (service_action == SERVICE_CALC_INITIALIZE){ // initialize calculation
|
||||||
@ -19136,9 +19143,9 @@ void convert_polar_to_cartesian(byte coordinate_conversion,double azimuth_in,dou
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
sat_datetime.settime(calc_years, calc_months, calc_days, calc_hours, calc_minutes, calc_seconds);
|
sat_datetime.settime(calc_years, calc_months, calc_days, calc_hours, calc_minutes, calc_seconds);
|
||||||
obs.LA = latitude;
|
// obs.LA = latitude;
|
||||||
obs.LO = longitude;
|
// obs.LO = longitude;
|
||||||
obs.HT = altitude_m;
|
// obs.HT = altitude_m;
|
||||||
pull_result = pull_satellite_tle_and_activate(satellite[service_calc_current_sat].name,NOT_VERBOSE,DO_NOT_MAKE_IT_THE_CURRENT_SATELLITE);
|
pull_result = pull_satellite_tle_and_activate(satellite[service_calc_current_sat].name,NOT_VERBOSE,DO_NOT_MAKE_IT_THE_CURRENT_SATELLITE);
|
||||||
if (pull_result == 1){
|
if (pull_result == 1){
|
||||||
sat.predict(sat_datetime);
|
sat.predict(sat_datetime);
|
||||||
|
Loading…
Reference in New Issue
Block a user