leica.tcl
Ulyxes - an open source project to drive total stations and publish observation results
GPL v2.0 license
Copyright (C) 2010-2012 Zoltan Siki
| Procedure Summary |
|---|
::Coords { {wait 1000} {incl 0} }Read coordinates from instrument calculated from last distance measurement |
::GetAngles { }Read angles from instrument |
::GetAtmCorr { }Get atmospheric correction settings |
::GetATR { }Get ATR status |
::GetEDMMode { }Get EDM (Electronic Distance Meter) mode |
::GetId { }Read instrument id |
::GetInstrument { }Read instrument name |
::GetIntTemp { }Get internal temperature |
::GetLock { }Get Lock status |
::GetPc { }Get prism constant |
::GetRefCorr { }Get refraction correction setting |
::GetStation { }Get station co-ordinates |
::Measure { {prg 1} {wait 12000} {incl 0} }Measure distance [NOTE: call "Measure 3" to clear previous distance measurement] |
::Measure1 { }Measure distance |
::Move { hz v {units RAD} {atr 0} }Rotate instrument to given direction |
::MoveAndMeasure { hz v {units RAD} {atr 0} }Rotate the instrument and measure distance |
::Search { hzArea vArea {units RAD} }Search prism in a given area (elliptical) |
::SetAtmCorr { lambda pres dry wet }Set atmospheric correction settings |
::SetATR { atr }Set ATR status on/off |
::SetEDMMode { mode }Set EDM mode |
::SetLock { lock }Set Lock status on/off |
::SetOri { ori {units RAD} }Set orientation angle |
::SetPc { pc }Set prism constant |
::SetRCS { rcs }Set RCS searching mode |
::SetRefCorr { on r s }Set refraction correction settings |
::SetStation { e n z }Set station coordinates |
| Procedure Detail |
|---|
proc ::Coords { {wait 1000} {incl 0} }
wait - wait time in ms, optional (default 1000)
incl - inclination calculation - 0/1/2 = measure always (slow)/calculate (fast)/automatic, optional (default 0)proc ::GetAngles { }
proc ::GetAtmCorr { }
proc ::GetATR { }
proc ::GetEDMMode { }
proc ::GetId { }
proc ::GetInstrument { }
proc ::GetIntTemp { }
proc ::GetLock { }
proc ::GetPc { }
proc ::GetRefCorr { }
proc ::GetStation { }
proc ::Measure { {prg 1} {wait 12000} {incl 0} }
[NOTE: call "Measure 3" to clear previous distance measurement]
prg - measure program 1/2/3/... = default/track/clear..., optional (default 1)
wait - time in ms, optional (default 12000)
incl - inclination calculation - 0/1/2 = measure always (slow)/calculate (fast)/automatic, optional (default 0)proc ::Measure1 { }
proc ::Move { hz v {units RAD} {atr 0} }
hz - horizontal direction
v - zenith angle
units - units for angles, optional (default RAD) see ChangeAngle
atr - 0/1 no atr/with atr, optional (default 0)proc ::MoveAndMeasure { hz v {units RAD} {atr 0} }
hz - horizontal direction
v - zenith angle
units - angle unit, optional (default RAD)
atr - 0/1 atr off/onproc ::Search { hzArea vArea {units RAD} }
hzArea - horizontal search region
vArea - vertical search region
units - units for hzArea and vAreaproc ::SetAtmCorr { lambda pres dry wet }
lambda - Constant for the instrument not changeable, use GetAtmCorr to get value
pres - pressure value
dry - dry temperature
wet - wet temperatureproc ::SetATR { atr }
atr - 0/1 = off/onproc ::SetEDMMode { mode }
mode - EDM mode to setproc ::SetLock { lock }
lock - 0/1 = off/onproc ::SetOri { ori {units RAD} }
ori - whole circle bearing for the actual direction
unit - unit for bearing, optional (default RAD)proc ::SetPc { pc }
pc - prism constant to set, mm unitproc ::SetRCS { rcs }
proc ::SetRefCorr { on r s }
on - 0/1 off/on
r - earth radius
s - refractice scaleproc ::SetStation { e n z }
e - easting
n - northing
z - elevation