Questions tagged [mavros]
The mavros tag has no usage guidance.
84 questions
0
votes
0
answers
5
views
mavros ./install_geographiclib_datasets.sh is not working
I am using px4 and mavros for drone simulation. I have the following mavros launch file px4.launch
...
0
votes
0
answers
25
views
The IMU data interval is unstable with high update frequency
I used Gazebo 9.19.0, ros noetic, mavros, mavlink and px4 in Ubuntu20.04 environment for co-simulation. Run the rosservice call /mavros/set_message_interval 31 100 ...
0
votes
0
answers
9
views
Mavros command line utilities - how to install them?
Mavros documentation says something about command line utilities (section 5: http://wiki.ros.org/mavros), but I don't see my bash completes these commands after mavros and mavros-extras installation. ...
0
votes
0
answers
9
views
QGC and ROS brigde
I want know is there any brigde between ROS node and QGC application.
For example
The communication like above pic. As you can see, there is no PX4 or others hardware. if it is possible, I don't even ...
0
votes
0
answers
31
views
error in line roslaunch mavros px4.launch fcu_url:="udp://:[email protected]:14557" Unknown substitution command [find-pkg-share mavros]
This is the error message I'm getting
...
2
votes
1
answer
35
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)
...
1
vote
1
answer
51
views
mavros ros2: how to run on two differents robots
I'm working with 2 robots and I need to run mavros on them.
But I'm wondering what happen with the topics. I'm not seeing any namespace parameter on apm.launch.
0
votes
0
answers
38
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
...
0
votes
0
answers
47
views
issue rqt with ros2 qos custom proflie
when topic is subscribed in ros2 rqt it shows unknown when topic has default qos profile it works but when qos profile is changed it shows unknown again is there any way to set custom qos profile in ...
0
votes
1
answer
151
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 ...
0
votes
1
answer
100
views
MAVROS vs DDS/ROS Bridge: Updates?
We are trying to provide an external control to the system. We can't use ArduPilot omni controls for navigation in autonomous because it does not allow our boat to move sideways. We needed another ...
0
votes
1
answer
153
views
How to properly fuse IMU + Barometer + ToF Ranger? (Robot_Localization)
I'm having difficulties getting a good absolute Z height.
This is a flying vehicle with no GPS.
Currently my ToF sensor pointed down reads 18cm (which is accurate to where my FC/ToF is mounted) but my ...
0
votes
1
answer
27
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
1
answer
40
views
Topic Advertise Conflict: md5sum and Datatype Mismatch
Hi everyone,
I have been trying to set a GPS position by setting mavros/setpoint_position/global, but faced with this error message:
...
0
votes
1
answer
18
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
50
views
Attempting to read Battery % via Mavros
I have a quadcopter running a Pixhawk flight controller. I am also running a RPI 4 companion board, and I have a serious of nodes setup for flight and a number of other operations. One node is my ...
0
votes
2
answers
122
views
increase/change mavros local_position pose publish frequency
How do I increase or change the mavros/local_position/pose publishing frequency? (Default only 30Hz)
Originally posted by noob_ros on ROS Answers with karma: 21 on 2020-09-11
Post score: 0
0
votes
1
answer
17
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
1
answer
12
views
navsat_transform_node not publishing ? with Mavros
Hello all,
I would like to use the robot_localization package to get back the missing TF transform from mavros topics (I didn't configure it during a rosbag record) on Melodic (from src)
I'm using a ...
0
votes
1
answer
335
views
tf2 transform error: Lookup would require extrapolation into the past
Hi, I am currently trying to simulate a quadcopter in gazebo using mavros and px4 sitl. In this simulation, the quadcopter will identify an aruco marker, then attempt to center itself with that marker....
0
votes
1
answer
834
views
how to use tf2 to transform PoseStamped messages from one frame to another?
Hi I am new to ROS so I apologize if my questions seem all over the place. I am simulating an autonomous quadcopter in gazebo, using aruco marker detection for landing. As pictured below, I have a map ...
0
votes
1
answer
15
views
Drone for mavros
Hi !
So I want to build a small drone(can be tested in lab) and deploy ROS on it. Can anyone help me with what motors and flight controller that I should use to do so ?
I want to use mavros_pkg so ...
0
votes
1
answer
48
views
[robot_localization] high pose drift with only IMU data
Hello,
I am trying to make use of the robot_localization package in order to estimate the position of my robot, unfortunately I have only IMU data of type ...
0
votes
1
answer
46
views
Have two nodes publish to same topic
So I have two nodes publishing to the topic /mavros/setpoint_position/local and I want one to have priority over the other. Right now it just switches between the two. Is there a way to have them both ...
0
votes
1
answer
239
views
RealSense D435 + rtabmap + Pixhawk (IMU) + robot_localization
Hello everyone,
I am trying to fuse a visual odometry with Pixhawk IMU. For those who don't know, Pixhawk is an autopilot used for drone in this case. There is ROS integration provided thanks to ...
0
votes
1
answer
18
views
Problem with ROS Navigation Package (IMU GPS)
Hi,
I have the objective of collecting laser data using a tripod and moving the tripod and I am using a Mavros ArduPilot board on the top of that tripod so that I can fuse the GPS and IMU.
Initially, ...
0
votes
1
answer
8
views
Anybody planning to integrate NVIDIA's Isaac SDK with ROS?
Sorry if this isn't really answers.ros.org is for. Just curious if anybody is planning to implement this. I've had some experience implementing a Keras RL network with a ROS/MAVROS node but I wonder ...
0
votes
1
answer
149
views
Building mavros failed (Having tried three ways)
I have tried to build the recent mavros package from its source. I have tried three different ways; they all failed. My OS is Ubutnu 16.04.03 LTS (xenial).
Can anyone let me know the right way to ...
0
votes
1
answer
6
views
Unable to print subscribed sensor_msgs with ROS_INFO
Hello and thanks for reading my post.
I am trying to subscribe to a topic from an imu using the sensor_msgs::MagneticField. This topic is published by a 3rd party package called mavros. I am trying to ...
0
votes
1
answer
7
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
1
answer
107
views
mavros: How to use setpoint_raw/local and set the FRAME_BODY_OFFSET_NED flag
Hi,
I'm using the mavros package but I'm not sure on how to use a certain message type. I want to use this: setpoint_raw/local (mavros_msgs/PositionTarget) message ...
0
votes
1
answer
69
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
2
answers
36
views
catkin_make works but catkin build fails
I am working with a complex software where I have to make some changes.
In order to build it, I was instructed to use catkin_make, which was (and is) working well.
Now I have to use MAVROS, and the ...
0
votes
1
answer
101
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
1
answer
4
views
Unity Mavros client disconnects automatically
I'm using ROSBridgeLib in Unity3D 2017.1 to connect to ROS on Ubuntu.
The turtlesim project works fine. I can control the turtle from Unity. I wrote a test subscriber to see talker messages ("/...
0
votes
1
answer
21
views
MAVROS coordinate system
Hi, I'm using mavros with PX4 firmware.
I wonder that the values of the orientation published (in quaternion format) are in which coordinate system.
I'm not meaning NED or ENU but the world coordinate ...
0
votes
1
answer
123
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
2
views
How to add prefix to every copter in Erle-brain using Mavros
So, i have bought Erle-brain v3 that included ROS kinetic. Erle-brain automatically runs roscore. And i don't understand how to rename topics (or add prefix). It needed for dividing topics`information ...
0
votes
1
answer
89
views
Cannot connect mavros to gazebo
I'm trying to launch a drone in gazebo, arm it and make it takeoff. So far I'm failing.
This is what happens when i do roslaunch drone_gazebo drone_world.launch
...
0
votes
1
answer
54
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
23
views
installing mavros on raspberry pi zero
i want to install mavros on my raspberry pi zero
i follow the installation guide from mavros github
but when i running :
...
0
votes
1
answer
28
views
Mavros and Unsupported FCU on Intel AERO RTF
Hello everybody!
I am trying to command my drone, an intel aero RTF, via mavros.
So I have the drone running roscore, and my companion computer running mavros.
So to resume:
I sourced the ...
0
votes
1
answer
29
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
7
views
Controlling each UAV separately in a UCTF project
I have a multiple UAV launched in Gazebo world using the UCTF project which launch two groups of gold and blue colors which compete against each other in a game cube and grass pitch in the Gazebo ...
0
votes
1
answer
6
views
Mavros publishes messages as bursts
Hi,
I have a pixhawk connected to an onboard computer over serial port (baud rate 57600). I get /mavros/local_position/odom at ~8 Hz. However, when I plot timestamps of the messages, I get a graph ...
0
votes
1
answer
19
views
How to get EKF readings from Pixhawk using mavros pkg?
Hi, I'm trying to get the EKF readings from pixhawk and there isn't any topic that can do that. I've tried using the '/mavros/local_position/local, pose, odom' and those readings are not satisfactory (...
0
votes
1
answer
38
views
Configure frame IDs for mavros local_position/odom
Hi,
I have a system of 4 UAVs with 4 pixhawks and 4 on-board computers. A ground station is controlling the ROS master. I have a problem managing UAV poses.
Mavros publishes local_position/odom with ...
0
votes
1
answer
38
views
What are the configurations I need to set for mavros_extras distance_sensor plugin?
Hello,
In my hexacoptor setup, the Lidarlite is directly connected to a Pixhawk FCU. The Pixhawk is connected to a single board computer on the hexacoptor.
My mavros launch file looks like this :
<...
0
votes
1
answer
221
views
Launching multiple instances of same ROS node (with different names)
The problem is in simulating two independent different robots in Gazebo: Copter and Rover with same mavros functionality. (Two independent instances of mavros would do great) Can two instances of ...
0
votes
1
answer
3
views
I need some orientation about ROS
Hello guys,
I'm starting learning ROS, because I have bought a drone and I want to programme it. My purpose is to develop a simple interface with Java, where I can send instructions to the drone (arm, ...