# Totally confused from the beginning

Source: https://forum.modalai.com/topic/1218/totally-confused-from-the-beginning
Category: Flight Core and Legacy VOXL (https://forum.modalai.com/category/9/flight-core-and-legacy-voxl)
Tags: voxl-cam
Posted: 2022-08-19 00:40:12 UTC by local ad
Replies: 9 · Views: 1777

## local ad · 2022-08-19 00:40:12 UTC

Hello fellow Voxl developers. 
I am in the beginning stages of this adventure and just can't figure out why docker is being a problem. I have been able to run the container  getting the proper response 
My ability to grasp the multitude of  complex components has been tried. Trying to get a basic understanding of a concept is just lost because the instructions just continue into un-necessary directions. This is how you set this up but you dont need to do this type stuff. 
Some simple directions and a basic road map that achieves stepped goals that are measured would make this a much better learning process. 
my current issue and question is how do i approach this docker issue. Do I need to become a docker expert and have docker desktop working also. I have flashed the latest firmware, can ssh to voxl and seem to have it working, without rushing ahead I need some direction on this docker bash issue
One other major confusing thing, my prompt when logged into the voxl is VOXL not Yocto   does this matter?

root@apq8096:~# voxl-inspect-services
 Service Name         |  Enabled  |   Running   |  CPU Usage
---------------------------------------------------------------
 docker-autorun       | Disabled  | Not Running |  
 docker-daemon        | Disabled  | Not Running |  
 modallink-relink     | Disabled  | Not Running |  
 voxl-camera-server   |  Enabled  |   Running   |     6.0
 voxl-cpu-monitor     |  Enabled  |   Running   |     0.0
 voxl-dfs-server      |  Enabled  |   Running   |     0.0
 voxl-imu-server      |  Enabled  |   Running   |     0.0
 voxl-mavlink-server  |  Enabled  |   Running   |     0.0
 voxl-modem           |  Enabled  | Not Running |  
 voxl-portal          |  Enabled  |   Running   |     0.0
 voxl-qvio-server     |  Enabled  |   Running   |     6.0
 voxl-streamer        | Disabled  | Not Running |  
 voxl-tag-detector    |  Enabled  | Not Running |  
 voxl-tflite-server   |  Enabled  |   Running   |     0.0
 voxl-time-sync       | Disabled  | Not Running |  
 voxl-vision-px4      |  Enabled  |   Running   |     0.0
 voxl-wait-for-fs     |  Enabled  |  Completed  |  
root@apq8096:~#

## Reply by tom (ModalAI staff) · 2022-08-19 00:52:34 UTC

@local-ad What are you trying to do?

## Reply by local ad · 2022-08-20 23:53:46 UTC

I am trying to setup a quad drone using the seeker as a model.  I am hoping to acquire the knowledge to operate in a GPS denied environment using qground control and operating with the 4g cellular connection. I'm doing ok with the modalai instructions but there's alot of different components. I'm sure I am probably doing some processes that are not needed but that would require a better road map     The Yocto prompt is confusing, am I not running the right firmware or program on the VOXL.   I posted the services listed hoping to get a response on docker and docker-daemon becase I have gotten errors saying is docker daemon running?  
I fully understand this is a complex system, I put off working with the VOXL Cam system because I knew of the commitment, so I have started. I have a working Linux system and am working out the PX4 stuff. I have experience with Ardupilot but PX4 is different so learning continues

## Reply by tom (ModalAI staff) · 2022-08-22 16:58:18 UTC

@local-ad A couple bits of info for you:

I'm sure you've been looking at docs.modalai.com, but it has pages describing about anything you can do with VOXL. I can help point you in the right direction if you're confused.

As for the yocto / voxl prompt, that part doesn't matter at all, if you're running the `bash` shell on VOXL you will see the `voxl` prompt. All that gives you is some color output in the shell as well as autocomplete for some of the `voxl-*` commands.

For some about using docker on VOXL, checkout this doc here:
-  https://docs.modalai.com/docker-on-voxl/#configuration

For flying / communicating with a ground control station over 4G, see the following docs:
- https://docs.modalai.com/voxl-lte/#getting-connected
- https://docs.modalai.com/lte-v2-modem-user-guide/
- https://docs.modalai.com/voxl-vpn/

Connecting to QGC in general:
- https://docs.modalai.com/seeker-user-guide-network/

## Reply by local ad · 2022-08-25 17:27:21 UTC

Thank you, that's a great start, I was really stuck about yoctu prompt and that save a couple hours of WTF
I have mad progress with docker, getting the docker desktop working and now looking at the images. I am stuck with the build process and running on the voxl but still reading

today I took on trying to understand the v2 modem. I am setting up at openvpn, have a sim installed and wound up looking for how to connect the v2 modem to the flight core. 

I realize there is alot going one here but I am trying to get the full picture before I start to fly my build.  

I expect at least a few days to figure out this qground control and the 4g modem

I have radio control, esc and motors installed and alot of voxl time spent setting up.  Things are slowly working themselves out

if I had a question it would be hooking the v2 modem to flight core, I dont see any images of this  it says 
Attach LTE modem to VOXL using VOXL’s J13 connector
I would have thought this was connected internally underneath the modem , am I missing a cable ?

## Reply by tom (ModalAI staff) · 2022-08-25 17:36:33 UTC

@local-ad If you post a picture of what hardware you have I can get a better idea of how to guide you, but in general:

The LTE v2 add-on board (https://docs.modalai.com/lte-v2-modem-user-guide/) attaches to one of the VOXL products, i.e. (VOXL1, VOXL-Flight, or VOXL2) using the board to board connector (J13 on VOXL).

If you're using a VOXL1 and a flight core, the VOXL can be connected to the flight via. an `MCBL-0007`, see instructions here: https://docs.modalai.com/how-to-connect-voxl-to-flight-core/#how-to-connect-flight-core-to-voxl

Or if you're using a VOXL-Flight (VOXL1 + Flight Core on same PCB) then there is internal routing to connect the two.

## Reply by local ad · 2022-08-29 16:53:58 UTC (in reply to tom)

@tom Hello and thank you Tom for the reply
I'm making progress I always hate to ask questions that are obvious but sometimes I slio up because I just get overwhelmed
My VOXL is the complete voxlcam perception module  build with the 4g modem and TOF
I wanted to get fully immersed in modaLai's tech and I am. Part of my issue is I'm also trying to setup ab arduino nano with a datalogger and vib sensor  that I can put at each motor strut of my drone and on my motor blade test stands and arduino IDE never compiles the scripts, always some library issue but I'm sure it's because my electronics are sourced from amazon, of course this is not an issue here but an excuse for my poor learning performance.  I figure another week with terminal and I should be making some progress
My priority is to tackle the 4g setup and qground control,  maybe two weeks

## Reply by local ad · 2022-09-02 19:51:59 UTC (in reply to tom)

@tom Hello sir, 
am I up on the cellular connection. can you determine this from here 

registration: searching
   Attempt: 2
{
        "registration": "registered",
        "plmn_mcc": 310,
        "plmn_mnc": 410,
        "plmn_description": "Pure Talk",
        "roaming": false
}

response: [{
        "registration": "registered",
        "plmn_mcc": 310,
        "plmn_mnc": 410,
        "plmn_description": "Pure Talk",
        "roaming": false
}
]
    Successfully registered with the network
Starting network
-2046259488
    Checking connection status
        Connection is up
Using the DHCP client to get an IP address
udhcpc (v1.23.2) started
Sending discover...
Sending select for 10.1.253.210...
Lease of 10.1.253.210 obtained, lease time 7200

## Reply by local ad · 2022-09-02 20:40:39 UTC (in reply to local ad)

@local-ad ocker-autorun       | Disabled  | Not Running |  
 docker-daemon        | Disabled  | Not Running |  
 modallink-relink     | Disabled  | Not Running |  
 voxl-camera-server   |  Enabled  |   Running   |     7.1
 voxl-cpu-monitor     |  Enabled  |   Running   |     0.0
 voxl-dfs-server      |  Enabled  |   Running   |     4.7
 voxl-imu-server      |  Enabled  |   Running   |     0.0
 voxl-mavlink-server  |  Enabled  |   Running   |     0.0
 voxl-modem           |  Enabled  | Not Running |  
 voxl-portal          |  Enabled  |   Running   |     0.0
 voxl-qvio-server     |  Enabled  |   Running   |     4.7
 voxl-streamer        | Disabled  | Not Running |  
 voxl-tag-detector    |  Enabled  |   Running   |     4.7
 voxl-tflite-server   |  Enabled  |   Running   |     0.0
 voxl-time-sync       | Disabled  | Not Running |  
 voxl-vision-px4      |  Enabled  |   Running   |     2.3
 voxl-wait-for-fs     |  Enabled  |  Completed  |

## Reply by local ad · 2022-09-05 04:15:09 UTC

I've made great progress. I have finally started getting my brain rapped around this VOXL. 
Funny it's so complicated. I was able to cut the cord. Remove the usb cable that is. I focused on understanding the VOXL wifi and understanding softap and logging into via wifi, This  allowed me to get some imagery to the browser utility. I went down the list of utilities then inspect tools in technical docs on the website. This allowed me to get a bigger picture of the components. I have logged my experience and will post a work flow I follow to get up and running. I'm still working on the 4g connection but reading the VPN stuff and working with the instructions makes more sense now I have gotten the wifi configured . I have it configured but qgc is still not connecting   
I understand it's hard to ask for technical support with such complexity. I just believe it's worth the investment in time because this is a real solution and the voxl2 will be eaiser to work with now I have a grasp of the voxl. I hope to be flying my custom designed 3d printed drone soon.
