Questions tagged [mavlink]

MAVLink or Micro Air Vehicle Link is a protocol for communicating with small unmanned vehicle.

MAVLink or Micro Air Vehicle Link is a protocol for communicating with small unmanned vehicle. It is designed as a header-only message marshaling library. MAVLink was first released early 2009 by Lorenz Meier under LGPL license.

79 questions
0
votes
1 answer

How to TakeOff a Quadcopter steadly in stabilized mode with using gazebo and sitl?

In our project we want to design a software about indoor autonomous drone. I want to test my softares on gazebo so I use sitl for that. But when I give takeoff command in stabilize mode with using rc_channels_override message , the drone is moving…
Arif Erol
  • 1
  • 1
0
votes
1 answer

Getting result of PyRun_String when python code returns an object

i have a problem with my code. i have a python file for the capturing of mavlink messages(i'm using pymavlink library) and i need to create a library for interfacing python results with c/c++ code. this is my python code from .py file from pymavlink…
MaryG
  • 3
  • 4
0
votes
2 answers

Hou to request data to Arduino from Pixhawk via Mavlink?

I connected arduino (serial1) to pixhawk S(serial2). Could someone explaid me why I have a heartbeat, I can write an rewrite the RC. But I can’t request data from my pixhawk. My pixhawk sys is Vehicle 1,Comp 1 enter image description here #include…
0
votes
0 answers

Git files in Qt creator

Sooo, I've been trying to use Qt creator and QGroundControl Open source repository and while trying to build my qgroundcontrol.pro file, the "Issues" bar shows this weird message: unknown option: - usage: git [-v | --version] [-h | --help] [-C…
0
votes
0 answers

mavsdk.action.ActionError: COMMAND_DENIED: 'Command Denied': origin: arm(); param: ()

mavsdk.action.ActionError: COMMAND_DENIED: 'Command Denied': origin: arm(); param: () When I'm landing drone more than one time in a row, and then try to start mission again I get this error. Does anyone knows what happened? Here is the connection: …
DevJava
  • 5
  • 2
0
votes
2 answers

ERROR: cannot launch node of type [darknet_ros/darknet_ros]:

dishita@dishita-VirtualBox:~/catkin_ws/src/darknet_ros$ roslaunch darknet_ros darknet_ros.launch ... logging to /home/dishita/.ros/log/a54fc4ec-3828-11ed-8e10-2d44a183ac97/roslaunch-dishita-VirtualBox-7714.log Checking log directory for disk usage.…
Mohan
  • 5
  • 2
0
votes
1 answer

How can I display data stream in a simple gui using pymavlink and wxpython? (first time using python)

I am trying to figure out how to create a basic GUI to display altitude telemetry of an RC plane in real time. So far I have successfully written code that prints out the live data in the terminal. My question now is how do i take that live data…
ce-ET
  • 11
  • 1
0
votes
0 answers

Need help binding data to Kivy Speedmeter

I'm working on a "speedometer" project for my drone. It uses the Mavlink protocol to communicate with the drone utilizing the Mavlink mirror in Mission Planner. Basically, using Queue, the "listener is setup like this: def listener(out_que): #…
LeeWinn
  • 1
  • 1
0
votes
1 answer

MavLink ArduPilot - Can’t parse PARAM_VALUE request

My friend and I are trying to communicate with a drone (APM 2.8 flight controller - ArduCopter V3.2.1 (36b405fb)) with MavLink. After several hours, we managed to handle messages and make ByteBuffers a little more meaningful but we're stuck on…
Pchevald
  • 1
  • 3
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
0 answers

Mavros, howto read second battery monitor

i am using both battery monitors on my pixhawk with Ardurover as fluid flow meters and need to get the data in my ROS ecosystem. After a fair amount of research, I was not able to find a reference to a second battery status besides the one published…
0
votes
1 answer

How to handle lots of messages being sent from android service?

I am developing an app that communicates using the MAVLINK protocol. I am using dronefleet for this purpose. My app has a service which runs a ReadThread that checks the incoming MAVLINK messages for their type. ReadThread then sends messages to the…
Nancy
  • 315
  • 1
  • 5
  • 16
0
votes
1 answer

Debugging an android app thats working with serial ports

I am developing an android app to communicate to a drone using MAVLINK. I am using UsbSerial by felHR85 and dronefleet libraries for this. After building and installing the app, I use my phone as an Android USB host and connect a PixHawk…
Nancy
  • 315
  • 1
  • 5
  • 16
0
votes
1 answer

ROS: Publish topic without 3 second latching

As a premise I must say I am very inexperienced with ROS. I am trying to publish several ros messages but for every publish that I make I get the "publishing and latching message for 3.0 seconds", which looks like it is blocking for 3 seconds. I'll…
0
votes
1 answer

Integration of Mavlink and LabView

I'm using mavlink with a pixhawk flight controller. I want to send and receive packets of data to and from LabView to mavlink. How can I create a link between mavlink and LabView?
New User
  • 1
  • 1