Questions tagged [px4]
PX4 is an open source autopilot project
31
questions
0
votes
0
answers
7
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 ...
0
votes
0
answers
23
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 ...
0
votes
0
answers
29
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 ...
0
votes
1
answer
34
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 ...
0
votes
1
answer
10
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 ...
0
votes
0
answers
402
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, ...
0
votes
1
answer
524
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 ...
0
votes
1
answer
11
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
...
0
votes
1
answer
8
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 ...
0
votes
1
answer
5
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 ~/...
2
votes
1
answer
123
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 ...
0
votes
1
answer
28
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.
...
0
votes
1
answer
1
view
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 ...
0
votes
1
answer
3
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 ...
0
votes
2
answers
8
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 ...
0
votes
1
answer
9
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:
...
0
votes
1
answer
5
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 ...
0
votes
1
answer
574
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 ...
0
votes
1
answer
2
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 ...
0
votes
2
answers
2k
views
roslaunch mavros px4.launch not working properly
when I run roslaunch mavros px4.launch command process start and shut down.
...
0
votes
1
answer
17
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 ...
0
votes
1
answer
35
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 ...
0
votes
2
answers
183
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:
...
0
votes
1
answer
43
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 ...
0
votes
1
answer
5
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 <...
0
votes
1
answer
8
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 ...
0
votes
1
answer
3
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 ...
0
votes
1
answer
4
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 ...
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 ...
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 ...
0
votes
1
answer
3
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 ...