Questions tagged [px4]

PX4 is an open source autopilot project

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

Failed to run PX4 SITL simulation with Gazebo Classic: Segmentation fault (core dumped) occurred

I tried to run PX4 SITL simulation with gazebo-classic but get a core dumped error: I started with gdb and got further information: It seems that something wrong occurred with Boost.Asio and ...
Wen Li's user avatar
  • 1
1 vote
1 answer
25 views

Micro XRCE-DDS agent installation error in PX4 tutorial

I am trying to run the following code from the PX4 ROS2 User Guide: ...
Michael's user avatar
  • 11
0 votes
0 answers
3 views

LOCALAPPDATA not found in mavproxy.py

I have the following file /home/pi/mavproxy.sh which forwards the flight controller telemetry data using mavproxy to GCS(Ground Control Station) ...
Mubashir's user avatar
0 votes
1 answer
53 views

What should GZ_SIM_RESOURCE_PATH be pointing to?

Hi I am having trouble what my GZ_SIM_RESOURCE_PATH should be pointing to. Should it be pointing to a folder of models? worlds? both? Anyone have any recommendations of what I should do to resolve ...
robot_student's user avatar
0 votes
0 answers
10 views

Subscribing custom topic in ros-mobile

I am using px4-sitl and mavros for UAV simulation in ros noetic and try to teleopt the drone using ros-mobile. what I noted mavros has its own message type defined like ...
Mubashir's user avatar
0 votes
0 answers
15 views

How to takeoff multiple drone using mavros

I am using ros noetic with px4, mavros and gazebo 11. the following c++ script is working on single uav for takeoff ...
Mubashir's user avatar
0 votes
0 answers
17 views

Ros PX4 Gazebo - some ready-made models do not start and give an error

I created the new model according to the instructions. Error on startup. I also get the same error if I run some of the list of available models. For example:models iris, plane, plane_catapult, boat - ...
Andrey Kulachenko's user avatar
0 votes
1 answer
48 views

FCU: DeviceError:serial:open: No such file or directory

I am try to simulate UAV in gazebo using px4 and mavros roslaunch mavros px4.launch got the ...
Mubashir's user avatar
0 votes
0 answers
22 views

px4 command doesn't open gazebo GUI robustly and with model as specified

In my setup I start the gazebo simulation with my custom world. In a second step I start up px4 with the args ./build/px4_sitl_default/bin/px4 command. In these ...
kilianf's user avatar
0 votes
1 answer
52 views

Adding joint plugins cause ODE internal error

I designed a model in Fusion and exported it to to SDF using SDFusion script. Till now everything seems to work fine, the 2 of the 4 joints did not cause any problems and worked ok, but when I add ...
Vacoff's user avatar
  • 11
0 votes
0 answers
28 views

Which version of the PX4 software stack is compatible with ROS Noetic

I cloned the source code of PX4-Autopilot into my ros_noetic_ws and attempted to compile it using the catkin_make command, but ...
Mubashir's user avatar
0 votes
0 answers
51 views

Gazebo SDF file, Defining Motor & Prop parameters like MaxRotVel, RotorDragCoefficient etc

I am new to Gazebo SDF file generation and I am facing problems in defining motor parameters. Can anyone give an understanding (also where to get it). Iris is an example which is already there as a ...
Aditya Vardhan's user avatar
0 votes
0 answers
44 views

How to get Airsim in Windows to send data to Px4 with Gazebo backend in WSL2?

Not able to connect px4 to GazeboDrone, it shows "Waiting for connection - XXXXXXXXXXXXXXXXXXX" The objective is: Using GazeboDrone and Airsm, I would like render the visualization of a ...
Sam Gomari 's user avatar
0 votes
1 answer
42 views

Do electromagnets affect magnetometer calibration?

I am designing a landing pad for a drone that will have electromagnets built into the pad. My drone has a pixhawk 2 with PX4. I'm worried that the electromagnets in the pad will throw off the drone's ...
Sam Chamberlin's user avatar
0 votes
1 answer
16 views

mavros rotation over z axis

Dear community. Since I did not get an answer to my last post due to the lack of info I have posted. The goal I want to achieve is to rotate the drone over the z-axis slow. The node ...
user avatar
0 votes
0 answers
433 views

Takeoff service not working as expected

I'm simulating Iris quad sing px4+mavros+gazebo. I'm trying to get my drone to takeoff using python code. When I publish height using mavros/setpoint_position/pose, ...
Sankeerth's user avatar
0 votes
1 answer
595 views

Can someone explain this yaw angle calculation equation?

Nowdays, I am trying to understand PX4 Autopilot(Drone Flight Control Open Source) attitude control code. But I can’t understand formula below which is in attitude control code description. Can anyone ...
PX4Traveler's user avatar
0 votes
1 answer
30 views

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 on jetson TX2, it terminates and shows this error ...
user avatar
0 votes
1 answer
12 views

How to split a launch file for two different nodes?

I am new to ROS, please bear with me. I am trying to run a PX4 drone avoidance module, with a PX4 drone simulator, on two different computers. (intel x86, and jetson tx2). Both have ROS melodic ...
user avatar
0 votes
1 answer
19 views

Failing to build PX4 with catkin build

I want to use PX4 launch files (mavros_posix_sitl.launch) with GAZEBO simulator, but I can't build PX4 as a ROS package. I am using ROS melodic on Ubuntu 18.04.5 LTS. I installed PX4 inside ~/...
user avatar
2 votes
1 answer
131 views

What flight firmware stack is most common in aerial robotics research environments?

I'm considering Aero-Astro grad school and am looking into acquiring a drone hardware platform to implement GNC/ PNT/ autonomy papers like those I might see from, e.g., the Navigation and Autonomous ...
Dragonsheep's user avatar
0 votes
1 answer
159 views

ROS2 Image subscriber

Hello i'm pretty new to ROS2, i would like to make a simple Image subscriber of a ROS2 topic which come from a camera (which is on a drone) in a Gazebo simulation. I'm using ROS2 foxy and Gazebo11. ...
user avatar
0 votes
1 answer
5 views

Qt - Cannot run PX4 .launch file

Recently adopted the ROS plugin for Qt Creator for its use in profiling ROS nodes. However, it seems like the build/run settings cannot be set up to launch anything related to PX4. Is it possible? An ...
user avatar
0 votes
1 answer
10 views

MAVROS PX4 Error Failed to Import Packaging

I'm following this tutorial: https://dev.px4.io/v1.9.0/en/ros/ I've run the build scripts: https://raw.githubusercontent.com/PX4/Devguide/v1.9.0/build_scripts/ubuntu_sim_ros_melodic.sh I've built my ...
user avatar
0 votes
2 answers
34 views

How to Subscribe to Imu data and broadcast transform

I have a UAV application and I am using Hector-SLAM for the navigation. I have got Hector-SLAM working with just the map, base link and laser frames but I would like to add a base_stabilised frame to ...
user avatar
0 votes
1 answer
26 views

Permission denied when trying to run PX4 roslaunch file

When I'm trying to run PX4 multi_uav_mavros_sitl.launch file it throws permission denial errors and kills the processes like this: ...
user avatar
0 votes
1 answer
19 views

Understanding PX4/ROS Gazebo sim

I'm interested in developing some autonomous drone software for a fun personal project and I thought it would be good to do some simulations using Gazebo. After doing some research it seems like the ...
user avatar
0 votes
1 answer
585 views

Error during mavros Multi-Vehicle Simulation with px4 in Gazebo | Invalid <param> tag

I followed the instruction as mentioned here. Everything worked fine but at last stage when I try to run:- roslaunch px4 multi_uav_mavros_sitl.launch I get ...
Yograj Singh Mandloi's user avatar
0 votes
1 answer
3 views

Error during mavros Multi-Vehicle Simulation with px4 in Gazebo

I followed the instruction as mentioned here. Everything worked fine but at last stage when I try to run:- roslaunch px4 multi_uav_mavros_sitl.launch I get ...
user avatar
0 votes
2 answers
3k views

roslaunch mavros px4.launch not working properly

when I run roslaunch mavros px4.launch command process start and shut down. ...
Yograj Singh Mandloi's user avatar
0 votes
1 answer
40 views

<SOLVED> How to subscribe to IMU data? Offboard control, PX4, MAVROS

Sorry I couldn't find out how to paste code properly. I'm trying to get IMU data from px4 through MAVROS. I am doing offboard control. I referred from this website to make an IMU listener. (Writing a ...
user avatar
0 votes
1 answer
77 views

mavros set offboard mode

Hi, I'm trying to control a pixhawk via mavros. I have written a test node which set the mode to offboard, arm the drone and send some ...
user avatar
0 votes
2 answers
187 views

Cmake Error While Buliding Pixhawk simulator

I am trying to run "px4 SITL simulation" using gazebo7 on my machine with "UBUNTU-14.04 LTS" using these commands: ...
Arpit Sangotra's user avatar
0 votes
1 answer
83 views

mavros offboard no GPS

Hi, have recently been trying to control a rover equipped with a Pixhawk2 in an indoor environment. For this purpose, I have followed the steps outlined in the mavros_offboard tutorial. I also had to ...
user avatar
0 votes
1 answer
21 views

How does MAV_FRAME_LOCAL_NED work?

Background I am trying to use OFFBOARD control mode using px4 firmware and haven't decided if I want to publish my command to /setpoint_velocity/cmd_vel topic or <...
user avatar
0 votes
1 answer
15 views

Pixhawk not publishing the local position of my Quadrotor

I am on Ubuntu 14.04 (ROS Indigo). I run "roslaunch mavros px4.launch" and am able to successfully connect to my quadrotor. I have a working GPS signal and also could see the data being ...
user avatar
0 votes
1 answer
4 views

Integration of px4, px4flow with AMCL localization for quadrotor

Hi everybody, Following previous questions (1, 2), I would like to ask you if this architecture looks smart and efficient. My goal is to perform autonomous indoor navigation for quadrotor based on ...
user avatar
0 votes
1 answer
6 views

Interface Pixhawk with hector_slam / AMCL

Hi everybody, I am developing an autonomous indoor quadrotor. For the moment everything was simulated on Gazebo and worked well. Now I want to push everything on a real drone and make use of both a ...
user avatar
0 votes
1 answer
2 views

How to arm or set quadcopter (Iris+) mode while running ArduCopter SITL with ROS/Gazebo?

I am referring to http://dev.ardupilot.com/wiki/using-rosgazebo-simulator-with-sitl/ Based on the code, the following is my understanding of what's happening - You receive input to ROS (mavros) via ...
user avatar
0 votes
2 answers
1 view

configs/nuttx_px4fmu-v2_default

I followed the tutorials from https://pixhawk.org/dev/ros/sitl and in the end when I did catkin_make, i got the following error. I did not change any files, all I did was follwed that tutorial. Please ...
user avatar
0 votes
1 answer
8 views

Mavros actautor topic conflict

I am following this tutorial here: https://pixhawk.org/dev/ros/ground_rover I have sussessfully got this to work using the mavros in the past but I have since built mavros from source and now I am ...
user avatar