All Questions
42 questions
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
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
...
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
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
2
answers
123
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
839
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
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
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
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
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
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
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
39
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
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, ...
0
votes
1
answer
4
views
Package to detect interrupted connection?
Hey everybody,
I have built the following setup (simplified):
Moving base with Pixhawk running APM Rover <-> MavRos (executed on a Pi2, together with the ROS Master) <-> Wifi Link <->...
0
votes
2
answers
17
views
How to use Mocap_pose_estimate for sending Optitrach mocap pose data to fcu
I wish to send Optitrack mocap pose data (using vrpn_client_ros) to Pixhawk FCU through mavros_extras - mocap_pose_estimate plugin. However I do not see an executable made for mocap_pose_estimate ...
0
votes
1
answer
5
views
mavros missing on kinetic?
Hello,
I was using mavros on Indigo and cannot manage to install again on kinetic.
The package does not show up in the list of ros-kinetic-* packages.
I ...
0
votes
1
answer
108
views
Basic understanding of MAVROS, Quadrocopter, UAV
Hey,
I just want to ask if I understood that right:
MAVROS or better the MAVLink communication protocol con be used to communicate between a companion computer(with ROS installed on an Ubuntu OS) ...
0
votes
1
answer
10
views
Pusblishing to topic problem (Mavros)
I'm trying to push to the override RC for mavros.
I checked the message type first
rostopic type mavros/rc/override
giving
mavros_msgs/OverrideRCIn
I then check the parameters for this message type
...
0
votes
1
answer
159
views
mavros global_position topic not publishing
Hi,
I am having problem getting the message published in global_position.
I am using Ubuntu 14.04 Ros Indigo and recently just updated the firmware. I use a pixhawk and 3DR Iris in Hexacopter .
The ...
0
votes
1
answer
15
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
1
answer
5
views
Building mavros fail
Hi, all
I am having trouble with catkin_make mavros package error recently. It kept failing and saying:
...
0
votes
3
answers
23
views
catkin_make package that uses mavros_msgs
Hi, I am working on a package to test the idea of controlling my robot over /mavros/rc_override topic. I made a package via catkin_create_pkg and added ...
0
votes
1
answer
17
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 ...
0
votes
1
answer
15
views
MAVROS interaction with a gimbal (Pixhawk)
I want to put a gimbal under my quad with a webcam, and a px4flow sensor on it so I know the two cameras are always looking at the ground straight on. How can I get angle information from the gimbal ...
0
votes
1
answer
113
views
How to control pitch, roll, yaw with mavros
Hello,
i am quiet new to the pixhawk, but quite familiar with ROS. I am searching for some informations how to control the pixhawk via mavros. I am using the px4 firmware.
My plan is to use the ...
0
votes
1
answer
87
views
Mavros multi-vehicle simulation
Hello,
I'm trying to setup a simulation environment for a multi-vehicle system using mavros and I have come up with some issues:
My idea is to run multiple APM SITL (Ardu Copter) instances, each of ...
0
votes
2
answers
62
views
How to send velocity to pixhawk with Mavros?
Hi guys,
after searching a lot and don't get a solution I would like a help. I am a new user of Mavros package and I have some doubts about it. My setup for tests is:
1 Pixhawk with ArduCopter V3.2....
0
votes
1
answer
7
views
mavros in general
Im just wondering how to do offboard control with Mavros and how to use Mavors' utility commands and plug-ins. For example, how to use Mavros to arm the quadcopter. I know it's a stupid question so ...
0
votes
1
answer
9
views
Trouble with using roscpp and mavros api to integrate pixhawk with Jetson
Hi,
I'm trying to Integrate pixhawk with Nvidia Jetson TK1.
I was able to use ROS/Mavros and communicate with pixhawk by ros commands.
Now I'm trying to use roscpp and mavros C++ api to communicate ...
0
votes
1
answer
199
views
How does Mavros RC override work?
Hi,
I've been trying to work with the mavros, but the wiki doesn't have a lot of detail about it. I'm using an Iris and connecting with roslaunch mavros apm2_radio.launch.
First I'm setting ...
0
votes
2
answers
118
views
Mavros topics not publishing?
Hi,
I've been trying to connect to a Pixhawk quadcopter using the mavros library (http://wiki.ros.org/mavros) and I had some issues. We are using a pixhawk and a 3DR Iris quadcopter, and we launch the ...