Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 06 12:19
    eminakgun commented #1084
  • Jun 06 12:16
    eminakgun commented #1084
  • Jun 05 17:43
    brunoolivieri commented #1084
  • Jun 05 06:31
    wynn4 commented #1084
  • Jun 05 06:26
    wynn4 commented #1084
  • May 30 03:34
    nandard commented #1103
  • May 30 01:13
    peterbarker synchronize #145
  • May 29 00:09
    QuangKhoi-RTR commented #1103
  • May 28 20:58
    QuangKhoi-RTR commented #1103
  • May 28 20:58
    QuangKhoi-RTR commented #1103
  • May 28 20:56
    QuangKhoi-RTR commented #1103
  • May 28 20:55
    QuangKhoi-RTR commented #1103
  • May 28 20:55
    QuangKhoi-RTR commented #1103
  • May 28 20:54
    QuangKhoi-RTR commented #1103
  • May 28 12:57
    nandard commented #1103
  • May 28 12:57
    nandard commented #1103
  • May 28 05:30
    QuangKhoi-RTR commented #1103
  • May 28 04:30
    nandard commented #1067
  • May 28 04:26
    nandard commented #1103
  • May 27 19:22
    acwatkins commented #977
GRS26
@GRS26
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()

ozcanyureklioglu
@ozcanyureklioglu
Hello, I have usb connection with nvidia jetson nano and pixhawk cube orange. I tried "mavproxy.py" on the console and it worked. I tried "dev / ttyACM0" with dronekit but it didn't work. Why could it be?. Can you help me?
Guohao
@Guohao91
@ozcanyureklioglu plug in fisrt, then start the service
it is probably the issue about the port identification
ozcanyureklioglu
@ozcanyureklioglu
@Guohao91 thank you for the answer. I will try
Guohao
@Guohao91
anytime
did anybody here is developing a control app manipulated through NoGPS mode?
Guohao
@Guohao91
Did you download that virtual GCS?
MUHAMMEDZEYN
@MUHAMMEDZEYN
hi there
did anybody use dronekit for vtol flight ? if so what is the commands to do the transitions
Jaime Machuca
@jmachuca77
The transitions are done automatically when you change modes. Or as part of a mission
Guohao
@Guohao91
right
simply switch the modes
MUHAMMEDZEYN
@MUHAMMEDZEYN
I am not switching the modes via transmitter. I want to change it by the algorithm of dronekit is it possible to do it as
vtol.mode = 'transition' ? @jmachuca77 @Guohao91 if so do you know the function to do it ?
Just change to the mode you want to be in. If it’s a plane mode it will fly like a plane, if it’s a Q mode it will fly like a Copter
Islam SEDDIK
@Medislamseddik_twitter
first of all I would like to thank you for your support
and then I am a beginner in this field (I know programming in c and c ++ because I am a computer scientist) I wanted to know is it possible that I start to program controller firmware for drone directly ?
another question is there a solution to program firmware and then test them in a virtual environment (without assembling a drone each time)
mh2024
@mh2024
Hi everybody
Hope you're feeling well
I realized that with the drone flying using a dronekit script, logs are not being saved on the pixhawk sd card for that flight.
I was wondering if there is a way to change it to normal, which means saving logs on the sd card for further debuggings.
Any help or comment is appreciated
Thank you all
Guohao
@Guohao91
@MUHAMMEDZEYN Just use setMode(" ")
MUHAMMEDZEYN
@MUHAMMEDZEYN
@Guohao91 @jmachuca77 thanks alot I will try it
Candy
@Candy-Share
The best tool to upgrade drones. After purchasing this product, 92.4% of drone players said it is quite practical. https://bit.ly/3vvQszF