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
0
votes
1 answer

Colcon build error in px4_ros_com package for ros2 humble on ubuntu 22.04

As specified in the title I am trying to build px4_ros_com for ros2 humble. I went through the px4 tutorial and followed it pretty closely, however when I colcon build px4_ros_com I get the following error CMake Error at…
DeCarabas
  • 23
  • 4
0
votes
0 answers

Custom made ros package in a running docker image/container [UAV control]

I'm a novice in ROS and especially docker as I discovered it during this job assignment that I'm working on. They sent me a docker image with everything that I need on it (PX4-Autopilot,MAVROS, Gazebo for simulation and QGroundControl) I have to…
0
votes
1 answer

How do I communicate ground control computer to Flight Controller Unit?

I am curious on how to communicate QGroundControl on my laptop to the FCU, pixhawk4, which is connected to my raspberrypi 4, running ubuntu 18.04. I am using the PX4 toolchain as my flight controller unit and MAVROS as my companion computer.
0
votes
2 answers

could not find a version that satisfies the requirement symforce>=0.5.0

currently I am trying to get my Flight Controller Unit(FCU) software to run and i am stuck in a situation. I am trying to bash ubuntu.sh in my cloned git folder "PX4-Autopilot" and i ran into an issue where it could not find a version that satisfies…
0
votes
1 answer

Pixhawk controller won't pick up every message

I have been trying to inject raw UBX data which I gather from UBXReader library into my Pixhawk. For this, I use a GPS module to extract UBX data and a serial to USB converter to stream data into my Pixhawk. Here is what my setup looks like: Using…
0
votes
1 answer

Gazebo how can i change model weigth during runtime?

I want to decrease model weigth in runtime. I am currently working on a plugin but it doesn't seem to work. I am using iris model with pixhawk 4 sitl. My purpose is to simulate a liquid spraying drone like firefighter. To do that I have to decrease…
Ege Alşan
  • 21
  • 3
0
votes
1 answer

Error " invalid -j parameter" while running "make px4_sitl_default gazebo"

I am running command "make px4_sitl_default gazebo" on Ubuntu18.04(VM) to work with px4 and gazebo, I install all dependencies as shown in http://docs.px4.io/master/en/simulation/gazebo.html however, I am getting the below error every time. I…
0
votes
0 answers

Understanding and Using aruco.estimatePoseSingleMarkers Rvecs and Tvecs

I'm having some trouble understanding how to make use of aruco.estimatePoseSingleMarkers. Currently I have an image or an aruco tag modeled and my camera that is mounted on a drone in Gazebo sim that is flying to the tag. The tag is identified and I…
0
votes
1 answer

How can I control and receive video stream from SITL drone using px4,gazebo and C++ without using ROS?

I want to program a drone to fly with a C++ project using image processing analysis in real-time (using OpenCV). I want to do it with PX4, Gazebo simulator. The final goal is to run the project on a real drone using Jetson-Nano and Pixhawk drone. I…
Roy Amoyal
  • 717
  • 4
  • 14
0
votes
1 answer

PX4 Multi-Vehicle Simulation with Gazebo : What is No ROS?

https://docs.px4.io/master/en/simulation/multi_vehicle_simulation_gazebo.html What is the meaning of No ROS in that link and what is the difference between No ROS and simulation with ROS?
eungbin
  • 23
  • 4
0
votes
1 answer

How can I import system packages (i.e. rospy, std_msgs, geoemtry_msgs) into my virtual environment that's using python2?

Previously, I had installed PX4 Firmware, ROS, and Gazebo using: wget https://raw.githubusercontent.com/PX4/Devguide/master/build_scripts/ubuntu_sim_ros_melodic.sh bash ubuntu_sim_ros_melodic.sh I believe these two lines install all the packages…
NotALolicon
  • 31
  • 1
  • 7
0
votes
0 answers

What could make a ROS package terminate called after throwing an instance of 'std::logic_error'?

this question might be better suited for px4 forums, but no one replies there. When I try to launch a particular node/module for ROS using a launch file on jetson TX2, it terminates and shows this error, terminate called after throwing an instance…
aamir
  • 21
  • 4
0
votes
0 answers

Cannot call member function without object - PX4 I2C

I inherited I2C API to PX4 for reading data from magnetometer, but when I compile the project, an error occurs. Here is my code and error message: class BNO055 : public device::I2C, public I2CSPIDriver { public: …
0
votes
0 answers

Error: Cannot convert class pointer to signed char *

I'm getting an error below; error: cannot convert 's8 (BNO055::*)(uint8_t, uint8_t, uint8_t*, uint8_t)' {aka 'signed char (BNO055::*)(unsigned char, unsigned char, unsigned char*, unsigned char)'} to 's8 (*) (u8, u8, u8*, u8)' {aka 'signed char…
0
votes
0 answers

How to install python3 in local drive?

I am trying to install PX4 firmware on Windows 10 & built it using Cygwin toolchain. However, when I use the make command to build the program, it says python3 not available. I already installed Python 3.8 & it shows in Git bash so why is it not…
Sultan Morbiwala
  • 171
  • 1
  • 3
  • 15