@tom
Swapped the modem from a good and the bad M500 and the vehicle issue stayed persistent. In other words, the modems both function correctly.
Posts made by spitkowsky
-
RE: M500 VOXL connectivity issues
-
RE: M500 VOXL connectivity issues
@tom You likely know what this should look like but here are the logs for a "good" one
-- Logs begin at Thu 1970-01-01 00:00:04 UTC, end at Thu 1970-01-01 00:00:42 UTC. --
Jan 01 00:00:07 apq8096 systemd[1]: Starting Modem Initialization...
Jan 01 00:00:09 apq8096 systemd[1]: Started Modem Initialization.
Jan 01 00:00:09 apq8096 voxl-modem-start[2985]: apq8096 detected...
Jan 01 00:00:09 apq8096 voxl-modem-start[2985]: Initializing Microhard modem...
Jan 01 00:00:14 apq8096 voxl-modem-start[2985]: ifdown: interface eth0 not configured
Jan 01 00:00:15 apq8096 voxl-modem-start[2985]: run-parts: /etc/network/if-pre-up.d: No such file or directory
Jan 01 00:00:15 apq8096 voxl-modem-start[2985]: RTNETLINK answers: Network is unreachable
Jan 01 00:00:15 apq8096 voxl-modem-start[2985]: Setting up GPIO pins for the Microhard Modem
Jan 01 00:00:15 apq8096 voxl-modem-start[2985]: Using eth0 workflow
Jan 01 00:00:15 apq8096 voxl-modem-start[2985]: [INFO] Using eth0 for Microhard -
RE: M500 VOXL connectivity issues
-- Logs begin at Thu 1970-01-01 00:00:04 UTC, end at Thu 1970-01-01 00:00:26 UTC. --
Jan 01 00:00:06 apq8096 systemd[1]: Starting Modem Initialization...
Jan 01 00:00:08 apq8096 systemd[1]: Started Modem Initialization.
Jan 01 00:00:09 apq8096 voxl-modem-start[2881]: apq8096 detected...
Jan 01 00:00:09 apq8096 voxl-modem-start[2881]: Initializing Microhard modem...~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
standard input -
RE: M500 Magnetometer Issues
@Eric-Katzfey Understood. Thanks for the info on the mag. The SDKs are as follows:
Newer M500s:
system-image: 4.0.0
kernel: #1 SMP PREEMPT Thu Oct 13 17:57:05 UTC 2022 3.18.71-perfhw platform: VOXL
mach.var: 1.0voxl-suite: 1.2.0
Packages:
Repo: http://voxl-packages.modalai.com/dists/apq8096/sdk-1.2/binary-arm64/Older M500s:
system-image: 4.0.0
kernel: #1 SMP PREEMPT Thu Oct 13 17:57:05 UTC 2022 3.18.71-perfhw version: VOXL
voxl-suite: 0.9.5
Packages:
Repo: http://voxl-packages.modalai.com/dists/apq8096/sdk-0.9/binary-arm64/ -
RE: M500 Magnetometer Issues
@Eric-Katzfey Noted about the heading. I did notice the datasheet for the taoglas gps unit does not mention a magnetometer. Is it possible that this unit does not have a magnetometer?
Additionally, I noticed that qvio is enabled and running. In the past, we have had very poor results with M500s running qvio outdoors. I am not sure that the EKF is using VIO, but could this be an/the issue?
Yes, the older M500s all work fine in the same location. When putting the Holybro unit from the older M500 onto the newer one, the same issue is present.The vehicle starts on the ground with incorrect heading. I take off in stabilized and fly/yaw around until the heading corrects itself. I can then fly in a reliable position hold. When I land, heading may stay correct, but I receive a PX4 message "Stopping compass use" and the vehicle cannot arm again.
I only have newer M500s with me until next week so I can get back to you about SDK versions once I have an older one in hand. How do I check the SDK version?
-
RE: M500 VOXL connectivity issues
@tom Yes this is what I did. I also did this on 9 other M500s without issues. The steps are:
adb shell into the voxl
voxl-configure-modem
Select 4 for microhard
Select 2 for custom IP
Input IP Address -
RE: M500 VOXL connectivity issues
@tom the microhard network is not showing up when I ifconfig on the problematic m500
-
M500 VOXL connectivity issues
We received 10 new M500s. One of the ten is having an issue connecting to the VOXL. It has a microhard modem which was configured with a custom IP. The microhards are connected to each other, but I cannot connect to the vehicle over UDP from QGC. I am able to adb into the VOXL. This vehicle was set up exactly as the other 9 were. I was looking for some additional troubleshooting steps or ideas as to what could be wrong. Thank you.
-
M500 Magnetometer Issues
Hi everyone,
I'm having trouble getting some new M500s' magnetometers configured/calibrated correctly. There are 10 brand new M500s. The GPS is a Taoglas CGGBP.18.4.A.02.
In summary, heading is consistently incorrect when on the ground, even after compass calibration. The GPS itself is housed in a 3D printed GPS antenna boom. This 3D print has an arrow indicating front of the vehicle. However, the GPS itself is mounted 270 degrees (90 degrees CCW) within this print. Initially, I thought I just needed to configure the compass's orientation in QGC to solve the issue. I then realized that when I spun the GPS module independently of the vehicle, the indicated heading did not change, indicating that the vehicle is using the internal mag instead. I was unable to get the vehicle to recognize and use the external mag.
I then took a HolyBro M8N GPS module from our older M500s and mounted that on the new vehicle to see if it improved its performance, with little to no success. However, when spinning this module independently of the vehicle, indicated heading on QGC did change, indicating that the external compass is being used only with the HolyBro module.
The only way I've been able to achieve steady flight in position hold is to arm and takeoff in stabilized, fly around to shake out the compass, wait for the heading to correct itself, and then switch to pos hold. However, on landing, the heading would reorient back to the incorrect heading and often throw messages like "Stopping compass use", "strong magnetic interference", etc.
I am not sure if this is an interference issue that some shielding may help, but I do not see a clear reason for this as our old M500s do not have this issue, with the only clear differences being a different GPS module, older PX4 firmware, and soft mounted flight stacks (The new vehicles' flight stacks are hard mounted to the frame.)