Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 00:00
    djdylex closed #1076
  • 00:00
    djdylex commented #1076
  • Oct 23 14:05
    ahmetozkaraca commented #1047
  • Oct 23 00:21
    djdylex edited #1076
  • Oct 23 00:19
    djdylex edited #1076
  • Oct 23 00:19
    djdylex edited #1076
  • Oct 23 00:18
    djdylex edited #1076
  • Oct 23 00:18
    djdylex opened #1076
  • Oct 22 17:46
    HefnySco commented #1044
  • Oct 22 17:39
    djdylex commented #95
  • Oct 22 14:20
    myusf01 commented #1044
  • Oct 21 15:36
    supericeandfire commented #999
  • Oct 21 15:33
    supericeandfire commented #1004
  • Oct 21 15:13
    supericeandfire opened #1075
  • Oct 19 12:32
    msmohanbabu opened #1074
  • Oct 19 11:54
    arthurrichards77 commented #126
  • Oct 17 20:09
    Mytre closed #1073
  • Oct 17 20:09
    Mytre commented #1073
  • Oct 13 01:21
    Mytre opened #1073
  • Oct 05 16:45
    loicspace commented #1066
Charles Todd
@Therkc
I have a navio2/raspberry pi 3b combination. Has anybody used a rpi camera with their drone to receive video feed through a python script. Essentially what I have setup is I am flying autonomous missions through python scripts in Visual Studio Code. I want to get the camera feed through my com4 telemetry module along with the vehicle object. Anybody know if that is possible?
jaelpark
@jaelpark

What do I need to check to have RC channel overrides work for arduplane? I'm trying to set elevator servo PWM by uav.channels.overrides['2'] = 1950 (in a loop) for example, but none of that does anything.

Nevermind, I found the problem. RC_OPTIONS was wrong, it should be 69, which is given my the bitmask 1<<0|1<<2|1<<6.

mohamadsaab
@mohamadsaab
@Therkc Hi charles , how did dronekit connect to navio2 ? It fails to connect when i try mine . What version of emlid raspbian do you have ?
Eesh Vij
@Dat-Bois
@Therkc I am not sure if that is possible because typically a telemetry module works over serial RF I believe and not wifi so streaming would not be possible. But I am not experienced with the Navio 2 so I may stand corrected.
I'm new to drone-kit and I am still working my way through the different navigation techniques and I was wondering if there is any way to move the drone relative to its position? Such as saying go 5m forward, or like strafe 2m right. Right now all the documentation I've seen points to using absolute longitude and latitude. Any help would be appreciated!
TonySchneider
@TonySchneider
Hi all, can someone assist me with capturing an image via raspberry pi camera?
I'm trying to capture with two modes - MAV_CMD_IMAGE_START_CAPTURE & MAV_CMD_IMAGE_STOP_CAPTURE and it seems like there are not issues but I don't know where it saves the captured images since I was never defined it.
Guohao
@Guohao91
hi guys
does anyone know if the raw command:"MAV_CMD_CONDITION_YAW" can be used under GUide_NOGPS mode?
*GUIDED_NOGPS
mares1105
@mares1105
Hello guys , i have a some problems . I can't find a function to rotate the drone on its own axis. Or is there not one? Please would be very helpful.
Brian Amin
@BAmercury
@mares1105 do you mean give the drone a yaw command?
JamesMilligan97
@JamesMilligan97
hello - im having connectivity issues with drone kit connecting to a serial port on my raspberry pi, but no issues doing the same on mavlink
any suggestions?
Guohao
@Guohao91
hi guys, does any of you know what function can do detection for "Thru %", like "vehicle.attitude()" can do drone's attitude detection....anybody thanks in advance!
eminakgun
@eminakgun
what is the current status of dronekit 2.9.2 in python3? Does it fully support the latest python3? Anybody knows?
EmreD
@pvhnturk_twitter
hi guys, we want to connect to a fixed wing but we get an error message like this dronekit-sitl plane (terminal 1)
mavproxy.py --master tcp:127.0.0.1:5760 --out 127.0.0:14550 --out 127.0.0.1:14551 --map --console(terminal 2)
I get this message in terminal 2 -" no link
link 1 down
no link"
Will be happy if anybody is able to help me
Guohao
@Guohao91
check the connected port of your FC
nitrousfree
@nitrousfree_twitter
image.png
I try to use raspberry pi to comunicate with pixhawk from my desktop with script down below
[mavproxy.py --master=/dev/serial0 --baudrate 57600 --aircraft MyCopter]
and it works, I can control pixhawk by rasp set (arm safetyon)
but when I ran the python script that an instructor provide, it fail and keep showing this
image.png
So I try to run the "hello drone" script that provides by 3DR, but it doesn't work too.
I've install dronekit and dronekit sitl, can anyone find out what I've mistaken
Durgesh Pachghare
@Inv3nt0r1
Hello, I wanted to know how can we call the function distance_home() to get the distance from the home location. I tried to use vehicle.location.distance_home() but it says no attribute
Durgesh Pachghare
@Inv3nt0r1
is this correct? vehicle.location.local_frame.distance_home()
Durgesh Pachghare
@Inv3nt0r1
anyone?
Juan de Dios Yáñez
@juandediosyanez
Hello, I am looking for some VTOL model for Gazebo that works with Ardupilot. There is a VTOL model but as far as I know it only works with PX4. Does anyone have a VTOL model, or information about it? I would be very grateful.
Benjamin
@BenbenIO

@Inv3nt0r1, yes this is correct

vehicle.location.local_frame.distance_home()

But you need to have the EKF initialized, and have actual local positions (NED). See code_distance.

Guohao
@Guohao91
gey guys
hey*
I wonder what does "vehicle.rangefinder.distance" physically mean?
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?