Skip to content

Questions on Usage #98

@anaam-wingxpand

Description

@anaam-wingxpand

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions