As far as I know no one has ever tried this. I don't think HITL is supported by ardupilot (was in the past) but there may be some sort of Simulation on Hardware (SoH) that you could try to get running on VOXL2. I'm guessing it wouldn't be easy.
Eric Katzfey
Posts
-
HITL for Ardupilot? -
Re-configure VOXL2 1.4 for GHOST Receiver/Transmitter?I think ImmersionRC was bought by Orqa.
-
Re-configure VOXL2 1.4 for GHOST Receiver/Transmitter?Yes, there is ground, power, and the transmit line from the receiver. The receive line to the receiver is not connected. But this is a 4 wire UART.
-
Re-configure VOXL2 1.4 for GHOST Receiver/Transmitter?It shows that no bytes have been received over the UART. So you need to see why there are no bytes coming across. Is the receiver generating any? You can attach a oscilloscope to the transmit line from the receiver and see if it is trying to send anything. Are you sure that the receiver and transmitter are properly bound?
-
Re-configure VOXL2 1.4 for GHOST Receiver/Transmitter?Looks like the
px4-version of the command isn't printing anything. You'll need to stop px4 running as a service withsystemctl stop voxl-px4. Then wait a few seconds. Then start voxl-px4 from the command line in non-daemon mode withvoxl-px4 -d. Once the startup script completes and you get a px4 prompt enterqshell ghst_rc status. -
VOXL ESC FPV 4-in-1 with Built-in Power Module (MDK-M0138) IssuesCould you post a log of the drone flip?
-
VOXL ESC FPV 4-in-1 with Built-in Power Module (MDK-M0138) IssuesA drone immediately flipping over is usually caused by some combination of incorrect motor mapping, incorrect motor spin direction, and / or improper prop direction.
-
Battery Data CollectionYes, you can monitor the battery data. What did you want to do with it?
-
Battery Data CollectionYes, you can create custom code. Have you looked at our documentation? https://docs.modalai.com/voxl-sdk/
-
voxl-ardupilot crashing on mission planner reconnectI was finally able to get to a Windows PC and try this. I still cannot recreate the issue. I can restart voxl-ardupilot with systemctl restart or via Mission Planner reboot pixhawk and in both cases I can disconnect and then reconnect Mission Planner to ardupilot. I am connected on VOXL2 to my local WiFi network via station mode. I have disabled all other services other than, essentially, voxl-ardupilot and voxl-mavlink-server. I am using recent VOXL2 SDK, recent ArduPilot build, and Mission Planner 1.3.83
-
Using VOXL IO Expander with VOXL 2 Mini?Yes, you can connect to one of the UARTs on J19. However, there are only 3 UARTs so you'll have to choose which one to use. The PWM outputs on the IO expander are mainly intended to be used when you have PWM ESCs instead of a ModalAI UART based ESC. In that case you would connect to the ESC UART. If you want to use the IO expander in addition to a ModalAI UART based ESC then you will have to choose between the RC UART or the GNSS UART.
-
Re-configure VOXL2 1.4 for GHOST Receiver/Transmitter?First of all I would update the SDK to something newer. That's probably not going to solve this issue but it makes it easier for us to support you when you are on the current SDK. To help troubleshoot can you show the output of
px4-qshell ghst_rc status. Run that status command a few times. -
Debugging steps for: "Pre-arm Check Failure: Compass Sensor 0 Missing"Can you plug the cable from the working drone into the other one? That could tell you if it's the cable.
-
voxl-ardupilot crashing on mission planner reconnectMy only guess at this point is that it may be timing related. I would try each step, wait a long time, then try the next step. Maybe something is taking too long and the system is not yet ready for the next step. But that's just a guess.
-
voxl-ardupilot crashing on mission planner reconnectI'll probably have to recreate this and then debug it. I won't be able to do that until I get back from travel the week after next. Here's something from Codex that you could try:
With Mission Planner closed, add this to its config.xml: <UseMavFtpParams>False</UseMavFtpParams> Then restart Mission Planner and repeat the exact sequence. This forces the legacy MAVLink parameter protocol instead of the packed MAVFTP download. Interpretation: - Failure disappears: strongly implicates MAVFTP burst traffic and the QURT/SLPI backpressure path. - Failure remains: investigate the broader reconnect/SLPI lifecycle rather than MAVFTP specifically. - QGroundControl works consistently: also supports the Mission Planner MAVFTP-trigger theory, though it would not prove MP is defective. -
Inexpensive option for practicing before using Starling 2 MaxAlso, there are many good simulators out there.
-
VOXL ESC FPV 4-in-1 with Built-in Power Module (MDK-M0138) IssuesWhat software versions are you using? Can you please create a PX4 log and share that via https://logs.px4.io/? Since logging normally doesn't start until you arm the drone you can force the logger to start and stop. For example, from the adb shell you can use px4-logger on to start a log and then px4-logger off to stop the log. Can you also paste the outputs from the detect / scan? Also review this other post: https://forum.modalai.com/topic/4833/throttle-doesnt-work/7
-
Radar Compatibility and connections clarification.You can use a UART on J18 / J19 to connect to the external flight controller. This is an option with the voxl-mavlink-server application. It will use the qrb5165-io library to connect to the external flight controller via one of the DSP mapped UARTs. That would then free up the UART on the board connected to J3.
-
Radar Compatibility and connections clarification.We don't have any experience with those radars so it's hard to make any kind of recommendation. PX4 has no native driver support for those so it's likely you would need to create your own SW to interface with the radars and process the incoming data. You could then generate Mavlink OBSTACLE_DISTANCE or DISTANCE_SENSOR messages to send to PX4. Codex recommends using only USB for these radars.
-
iFlight Commando 8 issueThe Commando 8 user manual is available online