Global

Members

(constant) ESP32

Constants used in the Horus ESP32 server.
Properties:
Name Type Description
STPS360 steppers number of steps for a 360ยบ rotation
STEP_AT_ZENITH steppers step values corresponding to the Zenith direction
HORIZON_MIN_ANG laser minimum angle from horizon for safety operation [degrees]
PATHBASE number of bits of the base used to represent the path segments, respectively for: laser state, step delay, phi step, theta step
COMMBASE number of bits of the base used to communicate the path segments
RESET_PATH_OPT option to start a new path reading
EXEC_PATH_OPT option to execute the path
CYCLIC_PATH_OPT option to execute the path cyclicaly
REVERSE_PATH_OPT option to execute the path cyclicaly in reverse order alternately
LASER_SWITCH_OPT option to turn on the laser
SET_ZENITH_OPT option to make actSteps equal to STEP_AT_ZENITH
READ_ACT_STEPS_OPT option to read the steppers actual steps
MAIN_S_UUID The single service for all device's characteristics
PATH_C_UUID characteristic for the path array
COMMAND_C_UUID characteristic for command execution on server
STEPPERS_C_UUID characteristic for measuring the steppers position
STATUS_C_UUID characteristic for indicating the hardware status
DEVICE_NAME device name that is broadcasted from Horus server
Source:

(constant) ga :number

General astronomical constants and configurations
Type:
  • number
Properties:
Name Type Description
sideralDay number Number of miliseconds in a sideral day.
sideralYear number Number of days in a sideral year.
eclipticDivisions number Number of divisions for ecliptic path construction.
Source: