innopolis_vtol_dynamics icon indicating copy to clipboard operation
innopolis_vtol_dynamics copied to clipboard

Questions on Usage

Open anaam-wingxpand opened this issue 9 months ago • 2 comments

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.

  1. 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.

Image

  1. How do I run the 3D simulator? https://github.com/ZilantRobotics/Simulator3d does not exist.

Image

  1. 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.

anaam-wingxpand avatar Mar 18 '25 17:03 anaam-wingxpand

How do I run the 3D simulator? https://github.com/ZilantRobotics/Simulator3d does not exist.

devandress avatar Apr 06 '25 16:04 devandress

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.

anaam-wingxpand avatar Apr 07 '25 13:04 anaam-wingxpand