Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 15:16
    gautierhattenberger synchronize #2721
  • 15:16

    gautierhattenberger on autopilot_reorg

    [autopilot] reorganize autopilo… update various code for errors … [firmware] split firmware makef… and 2 more (compare)

  • 14:28

    dewagter on master

    Navy guidance (#2724) * Adding… (compare)

  • 14:28
    dewagter closed #2724
  • 14:23
    fvantienen synchronize #2724
  • 14:19
    fvantienen opened #2724
  • May 17 20:10

    gautierhattenberger on master

    Nederdrone reintegration (#2723… (compare)

  • May 17 20:10
    gautierhattenberger closed #2723
  • May 17 20:09
    gautierhattenberger commented #2723
  • May 17 19:35
    fvantienen commented #2723
  • May 17 15:42
    Fabien-B commented #2721
  • May 17 13:12
    fvantienen review_requested #2723
  • May 17 11:53
    fvantienen opened #2723
  • May 17 11:53
    fvantienen assigned #2723
  • May 17 10:07

    fvantienen on fix-generators_file_closing

    (compare)

  • May 17 10:07

    fvantienen on master

    [generators] add missing close … (compare)

  • May 17 10:07
    fvantienen closed #2722
  • May 17 10:07
    fvantienen closed #2720
  • May 15 20:11
    gautierhattenberger labeled #2722
  • May 15 20:11
    gautierhattenberger opened #2722
Deon Blaauw
@deonblaauw
just realised that I might not have clicked the green check-mark when I did it the first time ... Only started playing with Paparazzi today so I'm going to make many stupid mistakes :)
Felix Ruess
@flixr
ah, right... yeah, you have to confirm your choice to send the new setting
Deon Blaauw
@deonblaauw
yes, normally the error is between the chair and the keyboard ... :)
Felix Ruess
@flixr
lol
Dan Berry
@dgberry1
An ID ten t errors will get you every time. (Idiot) they catch me all the time. ;-)
Deon Blaauw
@deonblaauw
lol ... yeah. That's how we learn.
GitHubber14
@GitHubber14
We are trying to use the image_labeling function from the blob_finder.c file. We included the corresponding header file, blob_finder.h, in our code, however when compiling the error "undefined reference to `image_labeling'" keeps showing up. There seems to be no problem with other functions we use from other files when we include the corresponding header files. What makes this one unique?
Felix Ruess
@flixr
that's a linking error because you haven't added the .c file to your sources...
as google will also tell you ;-)
GitHubber14
@GitHubber14

[video] Could not write register 3ED8
Da: FFF8
Dt: FFF8
Done!
Current schedparam: policy 0, prio 0
New schedparam: policy 1, prio 29
Current schedparam: policy 0, prio 0
New schedparam: policy 1, prio 10
[v4l2] Could not set data format settings of /dev/video1
[video_thread] Could not initialize the /dev/video1 V4L2 device.
Segmentation fault (core dumped)

When reading out our drone before flight, we see the previous message in the terminal, leading to a fatal software error. Any idea why suddenly problems appear in the video module? We did not modify this.

Yannick Jestin
@yannickj
are you sure /dev/video1 is both readable and writable by your user ?
perhaps a udev rule and/or a chmod might be a solution
diardanoraihan
@diardanoraihan
excuse me guys, what is exactly the difference between RC and COMMAND messages in the messages tool ?
why the value for both messages are different ?
RC messages Papatong.JPG
this one is RC message that looks normal ( MAX 9600, MIN -9600, NEUTRAL 0 )
masalah papatong.JPG
diardanoraihan
@diardanoraihan
and this one is COMMAND message tool, which is normal for Throttle and Yaw, but not with Roll and Pitch values
@flixr i have done my best to set up my DX6i transmitter, calibrate, set neutral and end point, etc, clean the pot gymbal with alcohol, but the result is just like before :(
Gautier Hattenberger
@gautierhattenberger
@diardanoraihan this mapping should be done in the rc_commands section of your airframe. What does it say ?
diardanoraihan
@diardanoraihan
thanks for respon @gautierhattenberger
did you mean what i write in rc_commands section ?
<rc_commands>
<set command="THROTTLE" value="@THROTTLE"/>
<set command="PITCH" value="@PITCH"/>
<set command="YAW" value="@YAW"/>
<set command="ROLL" value="ROLL"/>
</rc_commands>
Gautier Hattenberger
@gautierhattenberger
yes, except the last line that should be <set command="ROLL" value="@ROLL"/>, RC and COMMANDS should be the same in manual mode (not in other modes)
diardanoraihan
@diardanoraihan
yes, of course that must be @ROLL, my bad typing :)
what do you mean "not in other modes" ? are the values different ?
Gautier Hattenberger
@gautierhattenberger
in other modes, the commands are set by the autopilot, not directly by the RC, so values can be different
diardanoraihan
@diardanoraihan
actually that values came from AUTO1 mode mr @gautierhattenberger
sulit ganti mode.JPG
as you can see the currently status is AUTO1
i got headache when this question comes to me : " Why the default mode is AUTO1 ?" i've done nothing but AUTO1 seems appearing first.
Gautier Hattenberger
@gautierhattenberger
then values in RC and COMMANDS messages can be different
can you change mode or not ?
diardanoraihan
@diardanoraihan
when i try to change the Flight mode via pprz_mode to MANUAL, it doesn't want to change
not mr @gautierhattenberger , help me :(

i use this to change the mode

<define name="RADIO_MODE" value="RADIO_FLAP"/>

with my FLAP switch in DX6i, and nothing happen
so when i try to change it via GCS in Notebook > Settings > Mode > pprz_mode > MANUAL, but it doesn't want to change to MANUAL, it keeps staying in AUTO1
Gautier Hattenberger
@gautierhattenberger
maybe it is just that it is looking at the wrong channel
because if it reads 0, you'll have AUTO1 as a result
you can't change from the GCS when the RC is ON since RC has priority
first check that the channel corresponding to radio flap is the correct one
since you have a spektrum RC, it is fixed and should be channel 5
(starting from 0, so sixth channel)
diardanoraihan
@diardanoraihan
Alright then mr @gautierhattenberger
Thanks :)
Shubham Vyas
@kill2win
How does one send data from a program running on the GCS computer to the drone ?
Felix Ruess
@flixr
@kill2win you can basically send any message of the datalink class to the drone
if you are running your program on a host in the ground network, then the easiest is to publish that message on the Ivy bus: https://wiki.paparazziuav.org/wiki/Ivy
you can e.g. do that easily from a python script using https://github.com/paparazzi/pprzlink/blob/master/lib/v1.0/python/ivy_msg_interface.py
Felix Ruess
@flixr
what kind of data do you want to send?
Shubham Vyas
@kill2win
I would like to recieve the video stream to opencv, make decisions and send those back (in the form of an array)
Felix Ruess
@flixr
ah, so we are talking about a Parrot drone?
video you can receive via RTP, the command you send up would be via the normal PPRZ protocol
depending on what exactly you want to send you either have to create your own message or use one of the existing ones
see http://docs.paparazziuav.org/latest/paparazzi_messages.html#DATALINK_CLASS
there is e.g. the possibility to issue high level commands like goto position, move at velocity, etc...
or more low level attitude commands