Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • May 08 09:08
    alex31 synchronize #2717
  • May 08 08:02
    alex31 synchronize #2717
  • May 07 19:54
    Travis gautierhattenberger/paparazzi (modules_dep) fixed (52)
  • May 07 16:30
  • May 07 16:11
  • May 07 15:46

    gautierhattenberger on master

    Feature accurate cpu load (#271… (compare)

  • May 07 15:46
    gautierhattenberger closed #2716
  • May 07 14:06
    alex31 opened #2717
  • May 07 13:04
    alex31 synchronize #2716
  • May 07 12:58
    gautierhattenberger commented #2501
  • May 07 12:45
    gautierhattenberger commented #2716
  • May 07 12:14
    gautierhattenberger commented #2716
  • May 07 12:06
    alex31 commented #2716
  • May 07 11:59
    gautierhattenberger labeled #2716
  • May 07 11:59
    gautierhattenberger labeled #2716
  • May 07 11:59
    gautierhattenberger commented #2716
  • May 07 11:41
    alex31 synchronize #2716
  • May 07 08:42
    alex31 opened #2716
  • May 06 18:18
    Fabien-B closed #849
  • May 06 16:02

    gautierhattenberger on v5.18

    [generator] move the extraction… (compare)

Deon Blaauw
@deonblaauw
thanks for the help!!
Felix Ruess
@flixr
hm... there should be no need to restart the messages window... it picks up new messages
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