by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 16:47
    EmirhanKarahan opened #1070
  • 13:25
    4NTH3L1OS commented #1069
  • 12:50
    prashanthravi19 opened #1069
  • 12:19
    sakaryag commented #1066
  • Sep 25 05:21
    Benix6 edited #1068
  • Sep 25 05:20
    Benix6 opened #1068
  • Sep 24 08:44
    darpant-289 closed #1067
  • Sep 24 05:46
    darpant-289 opened #1067
  • Sep 23 13:28
    atomattias edited #148
  • Sep 23 13:28
    atomattias opened #148
  • Sep 23 11:19
    atomattias edited #1066
  • Sep 23 05:27
    atomattias opened #1066
  • Sep 21 14:13
    mustafa-gokce opened #1065
  • Sep 18 14:10
    FedePeralta closed #1045
  • Sep 18 14:10
    FedePeralta commented #1045
  • Sep 17 07:22
    rajivrawat982 commented #685
  • Sep 17 07:20
    rajivrawat982 commented #685
  • Sep 16 13:49
    shacharp edited #1064
  • Sep 16 13:49
    shacharp opened #1064
  • Sep 16 09:45
    rekhyzakaria55 opened #1063
Guohao
@Guohao91
@Inv3nt0r1 yeah i am aware of this demo
but what i wanna ask is: does this distance mean how long the vehicle has ran by
or the distance between where the vehicle is and the its start point?
It depends on how you are using it. If you have attached it facing downwards and configured it in ardupilot to use for precision landing, then it will give the distance of your drone from the land. (in meters)
Guohao
@Guohao91
oh, that's very detailed!
thanks you !
Guohao
@Guohao91
@Inv3nt0r1 btw master
do you know who to observe throttle para. within script?
I already did observation of groundspeed, alt. and battery info.
Durgesh Pachghare
@Inv3nt0r1
@Guohao91 I just started learning dronekit codebase. I have read a little about attribute listeners, which enables you to monitor any attribute change without polling. I don't know whether any attribute represents throttle but you can search here: https://dronekit-python.readthedocs.io/en/latest/guide/vehicle_state_and_parameters.html#vehicle-state-observe-attributes
Guohao
@Guohao91
thank you!
but this is what I already studied
kghodstinat
@kghodstinat
Hi, Does DroneKit 2.9 works with Python 3?
I meat does dronekit 2.9.2 works with python 3?
Guohao
@Guohao91
yes it does
i am using python3 in Linux now
kghodstinat
@kghodstinat
@Guohao91 Thanks!
Guohao
@Guohao91
does anyone know if the raw command "mavutil.mavlink.MAV_CMD_CONDITION_YAW" can be used under NoGPS mode?
@bduva002
kghodstinat
@kghodstinat
does anybody know why mavutil.mavlink.MAV_FRAME_BODY_OFFSET_NED doesn't work with Rover? any other command that can send velocity movement to Rover?
Eesh Vij
@Dat-Bois
Does anyone know how I can send continuous yaw correction to the aircraft without the yaw commands overriding each other? For instance if I want the aircraft to follow me and I am constantly sending it yaw commands for heading correction in accordance to how I move.
joekrom
@joekrom
does anyone has sent pozyx data to a drone using dronekit and ardupilot ?
eminakgun
@eminakgun
I am having timeout exception after a number of wait_ready calls continously untill home locaiton is received. Do any of you know the solution?
Suvrajit Sarkar
@productndesign_twitter
Hi
Has anybody implemented dronekit with naze32?
eminakgun
@eminakgun
can somebody help me with this issue dronekit/dronekit-python#1033
antarixX
@antarixX
Hi, I'm following this guide https://dronekit-python.readthedocs.io/en/latest/develop/sitl_setup.html I'm at 'Connecting an additional Ground Station'
when I execute the command mavproxy.py --master tcp:127.0.0.1:5760 --sitl 127.0.0.1:5501 --out 127.0.0.1:14550 --out 127.0.0.1:14551 the file mavproxy.py opens up
it opens in visual studio code, but as per a tutorial I saw this shouldn't happen
can someone pls help?
I'm on Windows 10
antarixX
@antarixX
I uninstalled visual studio code, now I'm getting The system cannot execute the specified program.
antarixX
@antarixX
I used the command by navigating to mavproxy.py file, that worked
python mavproxy.py --master tcp:127.0.0.1:5760 --sitl 127.0.0.1:5501 --out 127.0.0.1:14550 --out 127.0.0.1:14551
mainul-alam
@mainul-alam
Dear All, I am a student. For my Master Thesis i am working on a project where - I am trying to create an indoor (warehouse) environment, in that indoor environment I want to fly my SITL drone and want to simulate the performance. Now I want to create the environment with Gazebo and using ardupilot- gazebo i can put my SITL drone into it. Now to write the autonomous software I want to use Dronekit (because of better documentation ). I really need some help from some one who has experience with similar project. I would really appreciate any of your suggestions or responses. One thing : I am completely new with this stuffs - even new in this kind of communities ..
EmreD
@pvhnturk_twitter
Hi everyone, i have an interesting problem. Although the mavlink connection is successful, the drone data does not appear in the software and the drone does not move. In fact, the drone is connected and the task begins. However, it seems as if it has never been connected on the mission planner screen. Waiting in case of disarm. Does anyone have an idea about this issue?
DoneMan
@DoneMan
Hi all, I have a question. I'm running dronekit on a virtual machine running linux 16.04 and on the same PC I'm running mission planner. I'm trying to connect dronekit via 3dr radio. I'm using mavproxy as the master and then I'm forking out to 2 udp ports as follows:
Dd
DoneMan
@DoneMan
mavproxy.py --master=/dev/ttyUSB0 --baudrate=57600 --out=127.0.0.1:14551 --out=10.0.0.7:14550 the first --out is for dronekit and the second --out is for mission planner. The master is using the 3dr radio to connect to the drone. I'm able to connect to the drone threw mission planner and am able to send simple mavproxy commands to the drone. When I try to connect a dronekit script to connect to the drone I get a timeout error... after 30 seconds. My dronekit script comment code is: vehicle=connect('127.0.0.1:1455', wait_ready=True) but I get the timeout error. Ia it even possible to connext dronekit via telemetry radio? Or do I have to run it on a companion computer?
2 replies
DoneMan
@DoneMan
is it true that dronekit developers have stooped maintaining and supporting it?
cobalt67
@cobalt67
Hey all, I am using Dronekit to get GPS data from Pixhawk to Rpi using telemetry 2 and storing the GPS data in a CSV format on Rpi.
I want to change the frequency of GPS (UBlox 7m) data from pixhawk and tried it by changing the SR2_Position parameter to 1 Hz, but it keeps on changing back. I have even tried to change the Telemetry Rates position to -1 in Mission Planner and "set streamrate -1" inside mavproxy.py
But the issue still persists, can anyone please help me with this?
Hiren Namera
@hrnbot
Hello i want to get data from px4 using mavlink in dronekit-python? Data which i need is distance sensor Data like Lidar down, up which we can see in QGC like this.
mattbox22
@mattbox22
eachine drones is compatible with the dronekit sdk?
Joshua Ermias
@joshjle
Hey everyone, I am trying to use an NVIDIA Jetson Nano with my px4 Pixhawk connected over serial (/dev/ttyTHS1). I can successfully run mavproxy with (sudo python3 mavproxy.py --master=/dev/ttyTHS1 --baudrate 115200 --aircraft file) and I am able to connect and arm. However, I tried this (vehicle = connect('/dev/ttyTHS1', wait_ready=True, baud=115200)) dronekit command to connect to the pixhawk and I am having no luck (WARNING:dronekit:Link timeout, no heartbeat in last 5 seconds). Anyone have any thoughts?
1 reply
Juan de Dios Yáñez
@juandediosyanez
@joshjle Try connect by usb all times. Too is posible that your pixhawk need more time for be ready.
gauravshukla914
@gauravshukla914
Hey guys. I'm new to drone-kit. I want to fly the drone indoors through dronekit. Take off, reaching a respective altitude, then fly forward backward left and right. I can achieve all this through drone-kit python with GPS enabled. I pass the velocity commands through send_ned_velocity function. However, to fly indoors, I can't rely on GPS. How should I approach this?
Joshua Ermias
@joshjle
@juandediosyanez I got it working! The issue was I was using PX4 firmware instead of Ardupilot, and DroneKit does not have strong support for that system
Guohao
@Guohao91
Hi guys. I just wonder is there any good reference to show how to control gimbal?
Nitish1206
@Nitish1206
hi @gauravshukla914 even we are working on same project we are using px4flow and lidar and configured all parameters still we are not getting result.