In case anyone else has this issue, in my server under Tunnel settings, the Redirect Ipv4 Gateway selected. Dont do that. I am getting the routes pushed to the device, and the the device is communicating with QGroundControl with 6% packet loss.
Posts made by Chuck Bokath
-
RE: ADB Device Not Attached/Offline
-
RE: ADB Device Not Attached/Offline
I have been trying different profiles, etc to trying to get more detail on this issue. I have used the drone profile on windows machines, and I am able to connect and ping; so I dont think its a firewall issue. I am using oepnvpn client 2.4.6; the openvpn server is 2.4.9
Is anyone else using the 2.4.6 client with success? Before the system bricked, I was successfully connecting and using the drone... I am unsure which penclient version I was using ... I am scratching my head as to why the udp packets are not gettting to the QGroundControl PC box. I did a tcpdump and the drone is sending packets to the QGroundcontrol, but I see no blocks on the firewall, nor do i see any passed packets. I am reaching...
-
RE: ADB Device Not Attached/Offline
I switched to a NUC, and I have everything up and running now. Appreciate the patience, I was a bit confused on the voxl platform version; bc I have v2 LTE modem. I found that ATT sim cards are not the best choice for the platform - customer service at ATT couldnt explain why the Sierra Wireless modem was getting rejected from there HLR during registration. I switched to a GoogleFi sim card (data only) and no problem registering. I am planning on taking the drone out of the country, and switching the modem to EMEA with the same sim card, fingers crossed.
I have openvpn setup on the drone, the corp server, and my laptop establishing 2 vpn clients. Drone has 10.0.0.10 ip; windows laptop has 10.0.0.5 with QGroundcontrol, the Openvpn server has interclient communication ticked, though I am not able to see each device through the vpn and I obviously fly the device. in voxl-vision-px4 configure the qgcip is set to null, the secondary is also set null. In QGcountrol I have the communication links setup to accept 10.0.0.10.
Any suggestions on getting the devices connected?
-
RE: ADB Device Not Attached/Offline
Thanks. I have setup a pi, installed all the android-* packages, and have successfully got the system to the point where fastboot device shows the device id. The install.sh -f downloads and looks to install the system image. The system states it will be reboot in 2 seconds, it reboots and it cant get find the adb server to connect and finish the reboot. I have a tail on the syslog; it looks like it needs to wait several seconds a bit more, when it reboots the voxl device does not register as a usb device until some time later. I traced and went into the shell scripts flash_ build*sh and increased the time to sleep. It still seems to fail after the isntall.sh -f reboot. Is there any other procedure I can use to get this back to a state where I can use the system in the way intended?
Thanks!
-
RE: ADB Device Not Attached/Offline
Hi, I received the debug board today, I removed the LTE board and added the debug board on per the video. I am reading the Flash system Image document, It seems like I need to perform this flash off a linux box. The Flash ssystem doc says to download the latest image from the asset directory. I am in the asset directory; though I am unclear as to which image to download. The directions say to run voxl-version to find my version, though unfortunately my system is bricked; and I dont know which version I have. Note: I purchased this drone from a vendor who built the software, and the drone as a turn key system. Is there a way I can determine this by looking at the board?
-
RE: ADB Device Not Attached/Offline
@Chad-Sweet Thanks. It looks like I need a usb and serial dev board to complete this process? It looks from the video, they connect to a linux box, and operate from the linux command line w/o docker?
-
ADB Device Not Attached/Offline
Hi, First off I apologize for yet, again a question on the ADB connection issue. I have read through the various posts referencing the ADB offline issue. I see that the issue could be because of power supply, or corruption of the system. I am a relative noob to VOXL and docker. I generally work on systems that are closer to the silicon. I have successfully added openvpn to connect to GC via LTE; and I modified voxl-vision-px4 configuration parm qgc_ip to null, allowing the aircraft to connect to any QGC in my vpn. After I made that change I lost the connection over ADB and have never got it back. It looks like nothing is "booting". Its just stuck. I was using windows. I am more proficient in linux. Though, my noob"ness" makes me a bit nervous reflashing the system in windows. Is there a step by step process for windows? Or will I have to set it up in a linux (pi-ubuntu 20) environment?
Any advice,help is greatly appreciated! Thank You in advance!
-
RE: 98% Packet Loss between QGC & Vehicle
@tom Tom, Thanks for the help. The connection issue was definitively the VPN key. I used the same keys with different login credentials. I created a new user cert, and new profile, associated those 2 together downloaded the ovpn and create a separate instance of the vpn session. No problem connecting with the vehicle, though it says thats its at 60% loss. I have a goo connection with ATT at -90 RSRP, low SNR.
The flickering lights appear to be from a bad battery. I change batteries when I went into the office, and all was better.
Also, the ability to push the signals from the modem to a server via wget works well. I believe that was symptom of the vpn key issue.
Now, I just need to figure out how to compile a c program to use the voxl-inspect-gps program to pull real time off the gps pipe. Is there a concise document you can point me to? Will I need to compile on a ubuntu system then push it over to the vehicle? Thats fine, I am use to that..
-
RE: 98% Packet Loss between QGC & Vehicle
@tom It may have done the trick. I had QGC running in the background with the vehicle on, connected to the vpn. When I changed the keys; the vehicle's led 1 changed from solid green to flashing green, then to flashing red. I googled around for the led flash pattern, bc it never seems good when a system flashes red - I haven't found what flash red mean yet, though i ran across a mention where flashing green means firmware upgrade? I suspect the red means the flash of the firmware failed. I can't get back into the system via adb or any method so far. If, in fact the flashing red light mean error with the firmware can you point me to the correct docs to reload the firmware and get my system back to the previous state? I feel that the key issue was the culprit.
thank you!
-
RE: 98% Packet Loss between QGC & Vehicle
@tom Thanks for the tips. I'll verify the key issue with openvpn. That didnt occur to me. They are both using the same key. I do have several machines with Ubuntu on them. I'll try that next. Thanks!
w/r/t voxl-vision-px4 running and attempting to run a shell script after openvpn connects much less pinging a server on the vpn; -- should the voxl system experience such a large load making those operations fail?
-
RE: 98% Packet Loss between QGC & Vehicle
@tom The vehicle connects. I am just dropping a ton of packets. I followed the instructions, Ground Control is allowed.
-
RE: 98% Packet Loss between QGC & Vehicle
I dont think so. QGC is connected on the VPN. I only have VPN comm link definitions. Are there any parms that can be adjusted for message rates on the vehicle?
-
98% Packet Loss between QGC & Vehicle
I have worked through several setup issues since recv this system from a vendor. I setup the voxl-vision-px4 I am not 100% confident that it is correct, hence why I may be experiencing the current huge packet loss.
What my end goal looks like:
- Establish LTE connection. (working)
- Create VPN with OpenVPN (working)
- Create/Execute a Script that polls the LTE connection for signal strength/cellid and push the results (wget) to a server on the VPN executes every 5 secs. (works)
- 1,2,3 works well when voxl-vision-px4 is not running
When voxl-vision-px4 is running, I can barely get a ping to the server within the vpn. Is there a better way to poll and submit to a server within the vpn via wget? Is this just a system loading issue? Is the request attempting to go through voxl-vision-px4 and creating issues? Can i send this request around voxl-vision-px4?
- Establish QGC to Vehicle via LTE vpn. (working)
- QGC Unable to get the parms, vehicle setup etc due to over a 98% mavlink packet loss. My LTE connection is solid, RSRP -80. My connection status flickers between Connected and Disconnected
I am not sure what I can do to decrease the packet loss?
Can I set up the vehicle via USB?
Thanks in advance
Chuck -
RE: LTE not Registered
@tom The crazy continues. The ATT sim card works at my home, though not in the office. I have an ATT phone, and it works at the office, though the data sim card does not. arrgh.
-
RE: LTE not Registered
@tom I do have a EMEA board, though I am unsure of the band overlaps. I guess i need to work this out with the carriers (or not?) I brought the drone back home to work on it, and the ATT sim card connected no problem. I have rebooted several times, and all is good. I havent tried the FI card today, well.. because its working right now and I dont want to jinx anything... I am going to take it to the office and try it again there. I cant fathom the idea of different responses on different cell sites with the same carrier....that makes no sense whatsoever. I am going to try tomorrow, and if I cant connect another discussion with ATT will take place....
-
RE: GPS Polling?
@Eric-Katzfey Ok. I am new to modalai dev environment. What I have currently is a px4 LTE enabled drone with no camera. The drone is simply to be used to test BLOS capabilities. I have not set the dev environment up, a vendor did so, but now its mine to deal with. As mentioned, its a LTE enabled drone with a VPN back to the lab. The VPN fails at times after the LTE connects, because the time is not set, therefore the certificate is not valid. I used voxl-test-time it seemed to set the time correctly. Though I need the time to set on startup is that as simple as adding a service? Once I get that going, I realized that I dont have the voxl-vision-px4 module to extract the GPS off. It seems logical to need a camera for the vision to work? I do have opkg setup and i pulled the most stable repository. Can I pull some packages off the repository that can provide me the pipe you are talking about? I am just not sure which ones. I can always write a quick script to extract the info I need from the pipe.
-
RE: LTE not Registered
@Chuck-Bokath The sim card worked in the current county I am in, I took the drone and the sim card 2 hours away and it wouldnt connect. It saw all the networks, and tried to register but it wasnt allowed.... sigh.
-
RE: GPS Polling?
@Eric-Katzfey I will take a look and try this.
-
RE: LTE not Registered
@tom Are you using the data only sim card? Do you remember how you provisioned the device? I am wondering if ATT is no longer supporting the sierra wireless modem i have, therefore rejecting it....?