Questions on Usage
Hi, I'm trying to run HITL on a CubePilot Cube Orange+ and I'm confused on how to use this repo.
I'm using a computer with Ubuntu 22.04.
The Cube is connected via USB to the computer on /dev/serial/by-id/usb-CubePilot_CubeOrange+_0-if00.
A Zubax Babel is connected via USB to the computer, and via the CAN2 port to the Cube.
The Cube is running PX4 1.15 with a HIL Standard VTOL Quadplane airframe, and I've added "/dev/serial/by-id/usb-CubePilot_CubeOrange+_0-if00" : "cubepilot_cubeorangeplus", to the KNOWN_AUTOPILOTS in model.py.
- How do I connect to the autopilot and simulation in QGroundControl, after running
./scripts/sim.py dv # cq = dronecan_vtol? https://docs.px4.io/main/en/simulation/hitl.html says to turn off all autoconnects in QGC except for UDP, but as shown below, it doesn't connect.
- How do I run the 3D simulator? https://github.com/ZilantRobotics/Simulator3d does not exist.
- What do I need to change to get this working with the CAN2 port? There is no CAN1 port on my Cube Orange+, only CAN2, and you say that "All default parameters expect that you use CAN1 on the autopilot side."
Thanks so much for your help.
How do I run the 3D simulator? https://github.com/ZilantRobotics/Simulator3d does not exist.
as an update, I figured out 1 and 3. Basically I just added the SYS_BOARD_ENABLE parameter to my firmware and set the parameters listed in this repo's configs/px4 folder.
I think this repo could use some better documentation.
Still stuck on 2 though.