Answered
Unable to run example PX4 in Hardware-in-the-Loop (HITL) Simulation with jMAVSim Simulator
MAVLink is enabled by default over TELEM1 (I am assuming /dev/tty/S1 is TELEM1 in your case) for QGC connectivity. This can caus...

1 year ago | 0

| accepted

Answered
Implement simple HITL simulation PX4
Specifying simple setpoints from Simulink is implemented in HITL with Simulink plant example. In the model 'Quadcopter_Control...

1 year ago | 1

Answered
Pixhawk 6X / 5X / 6C support by Simulink
Even though some of the Pixhawk standard boards are not among the officially supported boards from PX4 support package, There ar...

1 year ago | 0

Answered
A HITL example of UAVtoolbox support package for PX4 autopilots has problem
Ensure that you are running the Simulink plant and visualization model on separate MATLAB instances. Simulink plant running clos...

1 year ago | 0

| accepted

Answered
UAV Toolbox support package for PX4: Can't connect Pixhawk 1 on simulink, problem with serial port (this board has two)
Ensure that you followed the documentation to set upload and bootloader COM port step by step. If you unchecked 'Automatically d...

1 year ago | 0

Answered
Unable to find the location of PX4 Firmware in host computer. Please perform Hardware setup screens and provide a location for the PX4 Firmware in the setup screens.
After the support package installation, ther Hardware setup step need to be completed before starting to use the Support package...

1 year ago | 0

Answered
my Pixhawk4 can not connect QGC after flashing the frameware v1.10.2
Makesure that MAVLink is enabled over the USB of Pixhawk 4. This doc will be helpful.

1 year ago | 0

| accepted

Answered
when use pixhawk4 mini
To use Pixhawk4 Mini board, select "My board is not listed here" in hardware setup screen (instead of selecting one of the suppo...

1 year ago | 0

Answered
I want to send commands from Simulink to a ready to fly drone to actuate servos
PX4 PWM Output bloks enable you to configure PWM outputs for servo motors and this block is not specific to HITL. You should be ...

1 year ago | 0

Answered
Get Telemetry data on simulink from PX4
Setup and configure a telemetry tranmsitter and receiver as per the PX4 documentation. Once The telemetry is setup, you should b...

1 year ago | 0

Answered
UAV toolbox support package for PX4 : can I use CAN protocol GPS with custom flight algorithm?
I agree with your observations, The warning with GNSS is the right place to investigate further. Why is the different behaviour ...

1 year ago | 0

| accepted

Answered
Calibration of Holybro's Pixhawk 4 board in Simulink
Sensor caliberation can be done using QGroundControl itself. After caliberating, you can start with the Simulink blocks for depl...

1 year ago | 0

Answered
UAV Toolbox Support Package for PX4 - PX4 Firmware version
The PX4 v1.10.2 is the supported PX4 version as of R2022a. The PX4 support package team will be considering the support for a mo...

2 years ago | 0

| accepted

Answered
UAV toolbox PX4 cube orange Compatability
Cube Orange board is not yet supported. We will consider supporting the Cube orange board in the coming releases.

2 years ago | 0

Answered
Modify coefficients for better output of AHRS in "UAV Toolbox Supportage Package for PX4 Autopilots", in Simulink
As you mentioned correctly, the block just reads the attitude values from the uorb topic 'vehicle_odomtery'. The block doesnot i...

2 years ago | 0

Answered
Hardware in Loop Simulation with Pixhawk
PX4 Autopilot in Hardware-in-the-Loop (HITL) Simulation with UAV Dynamics in Simulink is supported from R2022a. Please refer thi...

2 years ago | 0

Answered
Enable MAVLINK on a port other than /dev/ttyACM0 in px4 support package
PX4 HITL support is available from R2021b (Example Link), and I would highly recommend using R2021b for trying HITL. If you are ...

2 years ago | 0

Answered
Termination error when using Mavlink blocks for PX4
Based on my understanding, using MAVlink blocks in Pixhawk is not a logical usecase. PX4 already have 'mavlink' module which can...

2 years ago | 0

| accepted

Answered
Is there any other drone like the Parrot mini drone to try and test using MATLAB?
You can have a look at the MATLAB support for Ryze Tello drones. With this support package you can send commands to the drone co...

2 years ago | 0

Answered
Is the Flight Controller Pixhawk 3 Pro is supported in "Embedded Coder Support Package for PX4 Autopilots" ?
Although, Pixhawk 3 Pro is not supported officially, you can always use 'Pixhawk Series' as the target hardware to deploy code i...

2 years ago | 0

Answered
read mavlink from Pixhawk in simulink UAV toolbox
I assume you are using the Serial recieve block from ICT toolbox. Probably the trick is in choosing the right baudrate, sameplet...

2 years ago | 0

Answered
I can't solve errors from output error status of creating PWM signal(example of Embedded coder support package for PX4 autopilot)
As per your discription the issue is resolved after caliberating the RC transmitter. I am just reposting it as an answer so that...

2 years ago | 0

Answered
PX4 PIL error: configured for external mode which is not supported
I think this might be due to a wrong active configuration set in the model. Navigate to the 'Model Explorer' and see what is the...

2 years ago | 0

| accepted

Answered
Adding header and terminator to PX4 serial receive block
PX4 Serial read and write blocks enables basic data write and read through Pixhwak serial interface. Although, the header and te...

2 years ago | 0

Answered
UAV toolbox support package for PX4: Calibration slow due to custom flight algorithm
To confirm whether the custom app from Simulink (px4_simulink_app) is causing the slowness in calibration, you can try stopping ...

2 years ago | 0

| accepted

Answered
My pixhawk hardware(pixhawk1) does not connect when rc.txt is in SD card.
Enabling MAVLink over Pixhawk USB will ensure the connectivity with QGC. Refer to this documentation.

2 years ago | 0

Answered
Can we decode MAVlink protocol on matlab?
You can consider using mavlinkio.

2 years ago | 0

Answered
Hardware board PX4 Pixhawk 4
Make sure that you chosse Pixhawk 4 in Simulink model configuration settings as well ( Model Settings -> Hardware Implementation...

2 years ago | 0

Answered
Connecting jetson nano with Pixhawk
As per the error message it look like there is problem with UDP socket creation itself. Makesure that the IP Address entered are...

2 years ago | 0

Answered
PX4 Toolbox "how to start" - Log in SD Card.
I found this video very helpful in setting up and getting started with the supportpackage.

2 years ago | 0

Load more