Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 22 06:55
    Puru-1236 commented #694
  • Apr 15 21:08
    cheintz opened #1105
  • Apr 14 06:24
    Amith4504 commented #935
  • Apr 12 18:55
    Skided opened #1104
  • Apr 10 14:22
    gamer-12748 commented #950
  • Apr 10 14:22
    gamer-12748 commented #950
  • Apr 10 14:22
    gamer-12748 commented #950
  • Apr 06 09:45
    GTSyu commented #735
  • Apr 06 05:26
    QuangKhoi-RTR opened #1103
  • Apr 04 22:43
    marmik18 closed #887
  • Mar 29 19:30
    VikramBhat00 commented #1094
  • Mar 28 12:46
    RotorBoy2020 commented #151
  • Mar 25 09:54
    oskar07 commented #151
  • Mar 24 04:32
    habibmuhammadthariq commented #1066
  • Mar 23 12:15
    mehmetsumer commented #984
  • Mar 23 11:30
    pbwild commented #1102
  • Mar 20 23:15
    pappuyadav commented #151
  • Mar 20 09:33
    techwithomar commented #1071
  • Mar 19 15:29
    oskar07 opened #151
  • Mar 14 20:37
    Hussainali819 commented #118
OSHW-Rico
@OSHW-Rico
Hello there, just a quick question about using dronekit from multiple threads using the same connection. Is this generally possible? Or something which should be avoided? I would like to seperate logging and controlling threads.
DimaShmu
@DimaShmu
Hey all - I am wondering why the no one works on the dronekit project? (no one updated it since 2016?)
ahmetozkaraca
@ahmetozkaraca
Hello there ı want to know at what hz can ı send channel.override? Do anybody know that?
Osman
@OsmanAvcci_twitter
Hi, let's say; a drone has lost its connection and I cannot control it via gnu. How can I send another drone near the disconnected drone and use the telemetry of the drone I sent with the intention of a bridge network and re-establish the communication between the disconnected drone's telemetry and my computer. by using dronekit-sitl mission planner.
Mohamed Elwakil
@mohamed-elwakil
What drones do support DroneKit? Does Ryze Tech Tello support DroneKit?
Montanadude
@Montanadude
python3 and dronekit . Is it every going to happen? I mean really with Covid 19 and everyone home what else is there to do :) :)
Guohao
@Guohao91
hahahah
find a peaceful place to try your work
GRS26
@GRS26
Hello, to run dronekit with pixhawk, do I need a raspberry pi?
Guohao
@Guohao91
yes you may use Raspberry
Pi 3 or a NUC, any compatible companion computer
GRS26
@GRS26
Which cases would you say its better to use scripting than mission planner mission commands?
GRS26
@GRS26
Hello
I was looking for ways to activate and deactivate servos, and came across this
@alduxvm Try this instead of overriding the RC:
vehicle = api.get_vehicles()[0]
msg = vehicle.message_factory.command_long_encode(0,0,mavlink.MAV_CMD_DO_SET_SERVO, 0, 5, 1500, 0, 0, 0, 0, 0)
vehicle.send_mavlink(msg)
vehicle.flush()
all these commands, is there a place that is documented so I can learn how to manipulate them?do you know @Guohao91 ?
Ronald Pandolfi
@rspandolfi_gitlab
DroneKit seems to be working just fine in Python3. Perhaps time to make it official?
GRS26
@GRS26
@rspandolfi_gitlab if I want to learn how to use mavlink message or commands(dont know what is the correct term) inside my python scripts, its just from the mavlink/dronekit wiki or is there a guide elsewhere?
ahmetozkaraca
@ahmetozkaraca
Hello everyone I am getting SSL certificate error when installing dronekit on Micropython
Do anybody know that issue
GRS26
@GRS26
Hello, anyone can help me with a problem with python vehicle_state.py?
it's stuck saying waiting for mode change forever unless I manually change the mode in mission planner
GRS26
@GRS26
Hello, is this group still active or did everyone just migrated to another platform like discord or anything?
Guohao
@Guohao91
hi @GRS26 I think almost every doc examples give out that message..."vehicle = api.get_vehicles()[0]
msg = vehicle.message_factory.command_long_encode(0,0,mavlink.MAV_CMD_DO_SET_SERVO, 0, 5, 1500, 0, 0, 0, 0, 0)
vehicle.send_mavlink(msg)
vehicle.flush()"
I don't clearly remember sorry my friend
because I already done my project
F1CE68D9-5867-4FA6-992B-5E4875A1E3ED.jpg
Serkan-py
@Serkan-py
hi everyone i have a question about dronekit please answer me if you know anything about that. I want to have face tracking or human tracking on my drone, and with which one can I quickly receive and transmit the data that needs to move itself quickly while doing this? ros or dronekit?
What are the differences between ros and dronekit?
Ronald Pandolfi
@rspandolfi_gitlab
I am not able to command copter out of STABILIZE mode in SITL. Is there still and issue with pymavlink version?
Mohit953
@Mohit953
how to read Servo channel data from dronekit
yihao-clone
@yihao-clone
i have a question. i send a waypoint for drone and how to stop drone during flying to waypoint
Guohao
@Guohao91
@yihao-clone you may simply sease the move by setting mode to Stabilize
or any mode you can try out to set on MissonPlanner
I can't remember all the mode you can apply
GRS26
@GRS26
hello
I tried this in my code
print("Maximum Throttle: %d"%vehicle.parameters['THR_MIN'])
vehicle.parameters['THR_MIN'] = 50
time.sleep(1)
print("Maximum Throttle: %d"%vehicle.parameters['THR_MIN'])
just as an exercise
when I run and reaches this part, this happens:
Traceback (most recent call last):
File "test_connection.py", line 76, in <module>
print("Maximum Throttle: %s"%vehicle.parameters['THR_MIN'])
File "build/bdist.linux-armv6l/egg/dronekit/init.py", line 2755, in getitem
KeyError: 'THR_MIN'
DimaShmu
@DimaShmu

I believe I figured out the issue. A mavlink camera was sending out a heartbeat with a vehicle type of 0, causing an exception whenever I changed modes. This was random, because the flight controller was sending out its vehicle id too.

how did you fixed this error?

radkomoder
@radkomoder
Hi, I have a question - I am controlling a rover with dronekit in python. Sometimes I can not change mode to 'Loiter' or 'Auto' with Dronekit, however I can do it with MissionPlanner.
Looks like DroneKit needs better GPS fix or something like that - can you help me how to debug this behavior? Only thing I get from APM in this case is 'Flight mode change failed'.
I thought that DroneKit sends same commands as MissionPlanner. Can I see raw commands sent to APM from MissionPlanner and Dronekit, so I can compare betweem them?
Candy
@Candy-Share

Need to upgrade your drone? I think good tools are needed
Recommend a good soldering iron or soldering station ! Suggestions of soldering iron kits for beginners!

Lightweight design, easy to install and use, easy to remove and store, comfortable control handle, high-efficiency heating end, simple control interface. It is a favorite tool for electronic engineers and electronic maintenance enthusiasts.

It can work in DC 12-24V. OLED screen display, key temperature adjustment, external independent power supply. In DC 19V 40W state, 15 seconds temperature rise to 300 ℃.
https://sequremall.com/collections/soldering-irons/products/sq-001-mini-soldering-iron

louisreine
@louisreine
Hi! I'm trying to connect to jmavsim using dronekit. the sitl software connects to QGroundcontrol and APM planner (I am running the code on OS X 10.13.6). However when I try connecting dronekit using drone = connect('127.0.0.1:14540', wait_ready=True), it gives me an error before timing out : APIException: mode (100925440, 93) not available on mavlink definition
ERROR:dronekit:Exception in message handler for HEARTBEAT. I guess it may be a problem on the jmavsim side (wrong copter type?), but I don't know. Can you help me ? Thank in advance =
yoel169
@yoel169
Hello. I'm trying to setup my navio 2 and my raspberry 4 as my ground station using serial0 or IP address and I don't get a heartbeat.
algikckyvz
@algikckyvz
Hi! I am trying to read drone vibration values vibex, vibey and vibez. I can see their values on Mission Planner interface but I cannot extract the values to my python code by using the dronekit library. I can also read drones parameters such as battery voltage/current, altitude etc. values with vehicle.battery.voltage etc. How can I read vibration values?
sky4D
@sky4D
Hi! I am trying to modify the dronekit-sitl plane model to high speed aircraft. Does it support jsbsim models?
richahert
@richahert
Hi! How can I disconnect from a vehicle? I struggle to reconnect from a different part of the program because I can't properly disconnect and release the port.
richahert
@richahert

Hi! How can I disconnect from a vehicle? I struggle to reconnect from a different part of the program because I can't properly disconnect and release the port.

In case anyone wondered: vehicle._handler.close(), then vehicle._handler.stop_threads()