CRREL / Mammoth-A-TLS

Automated Terrestrial Laser Scan used to detect and scan snow events.
MIT License
7 stars 0 forks source link

Logs #2

Closed AaronKehl closed 4 years ago

AaronKehl commented 4 years ago

The RiVLIB seems required to view/transfer files stored on the VZ400. Viewing the status log, the warning log, and the error log is vital to solving dropped scan conditions.

Through telnet, file transfer is not possible. The best one can see is a current error/warning printout using the Err() command. This queue is quite limited.

RiVLIB is a library so I am initially unsure on how to implement the library remotely. I wanted to run the rft portion of the library from within the command prompt, however, I am not sure this is possible.

I was able to clone the linux box hard drive and view its contents, but have yet to gain access to stored information files on the scanner.

I am investigating how to use this RiVLIB executable (rft) within the command prompt, and will continue to investigate it until I can obtain access.

AaronKehl commented 4 years ago

I am able to view a locally logged mail file from when lidarcollect functions. A status report (sort of) is stored within the /usr/var/mammoth file, however whenever there is a dropped scan, no mail is generated and thus, no status is logged to this particular file.

My attempt is to use RiVLIB to see if the status/warning/error logs on the scanner itself match or correspond with this functionality.

AaronKehl commented 4 years ago

Solution:

  1. Navigate to the RiVLIB/bin directory within a terminal in connection with the linux/scanner.
  2. Make sure the scanner is on (test telnet, or issue poweron cmd then telnet and exit)
  3. input chmod +x rft to make the rft binary file exectutable
  4. call rft via ./rft with the ip address and command.

The following is an example of how to transfer logs from the scanner to the current working directory on the linux machine connected to the scanner. This is on the current file structure (5/7/2020).

from within cygwin64 (make sure scanner is on first): ssh mammoth@172.17.0.251 cd Mammoth/RiVLIB/rivlib-2_5_7-x86_64-linux-gcc55/bin chmod +x rft ./rft cp -r rft://192.168.0.128/logs logs/