Methods
(async, static) NWgoObjectStyle(style, eqCoord)
Sends a command to the Horus server to trace the laser according to a chosen pointer style at a given equatorial coordinate.
Parameters:
Name | Type | Description |
---|---|---|
style |
string | laser tracing style: 'point', 'bpoint', 'alternate' or 'circle'. |
eqCoord |
Basic.Equatorial | equatorial coordinate to be pointed to. |
(static) window.NWgoEquatorial()
Sends a command to the Horus server to point the laser at the equatorial coordinate informed in the Coordinate Tab of the Navigation window.
(static) window.NWgoStar(timeOpt)
Sends a command to Horus server to point the laser to the celestial object selected in the el.navObjectsCombo at a specific date and time.
Parameters:
Name | Type | Description |
---|---|---|
timeOpt |
string | 'now' to point to star now or 'date' to point to the star at a date and time specified at the el.objDate and el.objTimeHTML elements. |
(static) window.NWgoSteps()
Sends a command to the Horus server to point the laser at the step coordinate informed in the Coordinate Tab of the Navigation window.
(static) window.NWgoTrack(opt)
Sends a command to Horus server to execute the laser path along the selected track.
Parameters:
Name | Type | Description |
---|---|---|
opt |
string | 'fullTrack' to execute the full track recorded in trackCoords global variable. Otherwise, each track step is executed at a time. |
(static) window.NWgoZenith()
Sends a command to the Horus server to point the laser at Zenith direction.
(static) window.NWreadCoords()
Sends a command to the Horus server to read the actual laser coordinates which are informed in the Coordinate Tab of the Navigation window.
(static) window.NWresetTrack()
Function called when a new track is selected at the el.navTracksComboHTML element. It actualizes the global variable trackCoords with the data of the selected track.
(static) window.NWsetZenith()
Sends a command to the Horus server to set the Zenith coordinates to the actual laser direction.
(static) window.NWshowCoords()
Show the coordinates, in the Coordinate Tab of the Navigation window, of the celestial object selected in the Navigation Objects Combo.
(static) window.NWtimeStepCheck($elem)
Restricts a time step to the boundary values.
Parameters:
Name | Type | Description |
---|---|---|
$elem |
object | a time step doom element. |
(static) window.NWupdateCoordSys($elem)
Converts the equatorial coordinates from decimal representation to minutes and seconds and actualizes the values in the equatorial coordinate fields of the Coordinate tab at the Navigation window.
Parameters:
Name | Type | Description |
---|---|---|
$elem |
object | a coordinate doom element. |