Camera Logger Install and Access - IF800

How to install the camera logger debian package and access the log files on the IF800 drone.

Part 1: Download and Install Software

Connecting to the VOXL2 on IF800

  1. Plug ethernet into your computer from drone (can use ethernet to USB converter)

  2. Ensure static IP for ethernet is set within 192.168.144 subnet (ie 192.168.144.69 with netmask 255.255.255.0). See this tutorial for windows.

  3. ssh into VOXL2 – ssh root@192.168.144.59 (password is oelinux123)

Transferring the .deb package to the VOXL2

First, download the .deb package from this link. Make sure to unzip the file to get the debian package.

Option A: Using WinSCP to Transfer the .deb Package

Installing WinSCP

  1. Download and Install WinSCP:

  2. On your separate Windows computer, open a web browser and go to the official WinSCP website: https://winscp.net/

  3. Download the latest stable version of the installer (usually an .exe file).

  4. Run the installer and follow the on-screen instructions to install WinSCP.

Using WinSCP to transfer the package

  1. Launch WinSCP and Connect to the VOXL2:

  2. Open WinSCP on your Windows machine.

  3. In the "Login" dialog box:

  4. File protocol: Select SFTP.

  5. Host name: Enter 192.168.144.59

  6. Port number: 22 (default for SFTP/SSH)

  7. User name: root

  8. Password: oelinux123

  9. Click "Login".

  10. If you encounter a "Host Key" warning, click "Yes" to accept the key and proceed.

  11. Transfer the .deb Package:

  12. Once connected, WinSCP will display two panes. The left pane will show the file system of your Windows computer, and the right pane will show the file system of the VOXL2.

  13. In the left pane, navigate to the directory where your .deb package is located (e.g., your Downloads folder).

  14. In the right pane, navigate to a desired destination directory on the VOXL2 (e.g., /home/root/).

  15. Select the ift-camera-logger_0.0.1_arm64.deb file in the left pane and either drag it to the right pane or right-click and choose "Upload".

  16. Confirm the transfer.

Option B: Using scp in CLI (Command Line Interface)

This method can be used from your local Linux/macOS/Windows machine to copy the .deb package to the VOXL2.

  1. Open a Terminal:

  • You can usually find the terminal application in your applications menu or by pressing Ctrl + Alt + T.

  1. Navigate to the Download Directory (Optional):

  • If the .deb file is in your Downloads folder, you can navigate there for convenience:

  • cd ~/Downloads

  • If it's in a different directory, replace ~/Downloads with the correct path (e.g., cd /path/to/your/deb/file).

  1. Use the scp command to copy the .deb file:

  • scp ift-camera-logger_0.0.1_arm64.deb root@192.168.144.59:/home/root/

  • Replace ift-camera-logger_0.0.1_arm64.deb with the actual filename of your Debian package if it's different.

  • /home/root/ is the destination directory on the VOXL2 where the package will be copied. You can change this to any other writable directory on the VOXL2.

  • You will be prompted for the password for root@192.168.144.59 , password is oelinux123

After the transfer is complete, you can then SSH into the VOXL2 and proceed with installing the .deb package.

Install the package

  1. Connect to the VOXL2 (see Connecting to the VOXL2 on the IF800)

    • ssh root@192.168.144.59 pw is oelinux123

  2. Navigate to the correct directory:

  • If the .deb file is in your Downloads folder, use the following command:

    • cd ~/Downloads

  • If it's in a different directory, replace ~/Downloads with the correct path (e.g., cd /path/to/your/deb/file ).

  1. Install the .deb package using dpkg:

  • Use sudo dpkg -i followed by the full filename:

    • ie sudo dpkg -i ift-camera-logger_0.0.1_arm64.deb

Part 2: Accessing Camera Logs

You have two primary methods to check the log files: using WinSCP on your windows computer or using the scp command-line tool with any machine

Option A: WinSCP

  1. Open WinSCP on your Windows machine.

  2. In the "Login" dialog box:

  3. File protocol: Select SFTP.

  4. Host name: Enter 192.168.144.59

  5. Port number: 22 (default for SFTP/SSH)

  6. User name: root

  7. Password: oelinux123

  8. Click "Login".

  9. If you encounter a "Host Key" warning, click "Yes" to accept the key and proceed.

  10. Navigate to the Log Directory:

  11. Once connected, WinSCP will display two panes. The right pane will show the file system of your Linux computer.

  12. In the right pane, navigate to /var/log/ift-camera-logs. You can do this by double-clicking on folders: var -> log -> ift-camera-logs.

  1. Download the .csv files. You will see the .csv files listed in the ift-camera-logs directory.

  2. To download a file, select it in the right pane (Linux side) and either drag it to the left pane (your Windows computer's file system) or right-click and choose "Download".

  3. Choose a destination folder on your Windows computer for the downloaded files.

Option B: Using scp in CLI (Command Line Interface)

This method can be used on any machine as long as it is connected to the VOXL2 (see Connecting to the VOXL2 on the IF800)

  1. To copy all the log files from the drone, open a terminal on your machine and run the following line:

scp -r root@192.168.144.59:/var/log/ift-camera-logs/ ~/Documents/Logs/

  • Replace ~/Documents/Logs/ with the desired local directory where you want to save the file.

  • You will be prompted for the password for root@192.168.144.59: oelinux123

  1. To copy a specific file, use the following command:

scp root@192.168.144.59:/var/log/ift-camera-logs/your_log_file.csv ~/Documents/Logs/

  • Replace your_log_file.csv with the actual name of the log file you want to copy.

  • You will be prompted for the password for root@192.168.144.59 , password is oelinux123

  1. To list files on the drone first (optional):

  • If you're unsure of the exact filenames, you can first SSH into the IF800 to list them:

    • ssh root@192.168.144.59

    • ls /var/log/ift-camera-logs

Remember to replace placeholders like your_log_file.csv and ~/Documents/Logs/ with your actual filenames and desired local paths.

Last updated