Questions tagged [px4]

PX4 autopilot is an open-source autopilot system. The project started in 2009 at ETH Zurich and now it has a global adoption by many commercial drone vendors.

56 questions
1
vote
0 answers

How to flash a pixhawk from docker container?

I do my first step in developing on the PX4 using Docker. Therefore I extend the px4io/px4-dev-nuttx image to px4dev with some extra installations. Dockerfile FROM px4io/px4-dev-nuttx RUN apt-get update && \ apt-get install -y \ …
Alex44
  • 3,597
  • 7
  • 39
  • 56
1
vote
1 answer

Taking off using dronekit and PX4

I'm using an Intel Aero RTF drone with PX4 and I want to test a simple take off of this drone but the script I followed didn't give me results it just arms the dron and disarms but never takes off This is the script: #! /usr/bin/python from…
1
vote
0 answers

running px4 on rpi3 caused standard_init_linux.go:195: exec user process caused exec format error

Description I tried to run the px4 autopilot in a container on raspberry pi 3. However, every time I tried to build it shows standard_init_linux.go:195: exec user process caused "exec format error" I installed docker on raspbian using the…
jedichen
  • 91
  • 1
  • 7
1
vote
1 answer

Facing the following error: E: Unable to locate package python-empy

I am trying to install the toolchain for building Px4 on Linux. I am facing the following error when I am giving the below command: sudo apt-get install python-argparse git-core wget zip \ python-empy qtcreator cmake build-essential E: Unable to…
Neelesh I
  • 415
  • 1
  • 5
  • 14
1
vote
0 answers

I am unable to pusblish rostopics using MAVLINK with gazebo and px4..getting errors

I am newbie to PX4 , I have installed gazebo , and Cloned the Firmware. I am trying to publish ros topics. But I am getting the Errors . Steps I followed : Terminal1 : roslaunch mavros px4.launch fcu_url:="udp://:14540@127.0.0.1:14557" Terminal2…
Neelesh I
  • 415
  • 1
  • 5
  • 14
1
vote
0 answers

How to get current GPS location from Pixhawk?

I'm trying to write a program for the pixhawk that compares the drone's current location (GPS coordinates) to already pre-established locations in my program. When the current location of the drone matches one of the pre-established location I want…
zapper9595
  • 41
  • 3
1
vote
1 answer

PX4 software download error

I have windows 7 32-bit OS. I have downloaded Eclipse, Java, minGW, GIT Bash but am unable to download the firmware. In the steps for toolchain installation, it says to go to px4 toolchain->px4 software download and 3 directories firmware,…
0
votes
0 answers

pyulog library Script 'ulog2csv' is not recognized as an internal or external command, operable program or batch file

The pyulog Library states in its documentation the following: All scripts are installed as system-wide applications (i.e. they be called on the command line without specifying Python or a system path), and support the -h flag for getting usage…
0
votes
0 answers

Why is my Pixhawk 4 refusing to communicate over USB serial?

I'm developing a camera interface for my drone running PX4 on a Pixhawk 4. I have connected my development machine to the Pixhawk via the USB port on the side. Currently my code is this: import time from pymavlink import mavutil def ping(device): …
MerseyViking
  • 389
  • 3
  • 19
0
votes
0 answers

Some bug problem from using Gazebo to simulate PX4 models

I am trying to use gazebo to simulate the PX4 model. I have followed the steps on the official website from PX4. But I keep encountering this issue. When i try to run the instruction " make px4_sitl gz_x500" the system will tell me that { error:…
0
votes
0 answers

PX4 ROS Docker on 22.04

So I used to have 20.04 and created some packages for ROS Noetic. I upgraded to 22.04 (PC hardware wouldn't work very well on 20.04) Now I want to use docker for PX4 and ROS and use the Gazebo simulation as well as develop my packages for…
0
votes
0 answers

QGC crashes every time when the AVD runs

I am trying to build the android version of QGC using Qt creator via an emulator. The AVD that I have created runs with the QGC app installed successfully in it. The app opens for 1 minute and then keeps on crashing. Build details: QT 5.15.2 ABI…
0
votes
0 answers

Python script for reading autopilot binary and write csv only writes data from last argument to csv

I am using the sdlog2_dump.py script from here: https://github.com/dronecrew/px4tools/blob/master/test/sdlog2_dump.py to read a .px4log-file. This works well in general, but I don't need all variables from the autopilot. Ideally I want to chose…
Kj Ell
  • 23
  • 4
0
votes
0 answers

Px4:Issue with adding new airframe in fmu_v2

I tried adding a new airframe, following the steps indicated in the px4 documentation. Unfortunately, the airframe I created doesn’t appear among the airframes of QGroundControl. I’m suspecting the issue is due to constraints on the hardware I’m…
0
votes
0 answers

mavsdk. Can't get telemetry

I'm actually 2 days in drones, trying to get started :) My friend lent me a pixhawk and gps module "Cirocomm T0010". Now i'm trying to get coordinates - latitude and longitude, but getting nothing. I took the takeoff_and_land code from examples and…
Eugene
  • 1