Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 22 05:55
    OpenUAS commented #2787
  • Oct 22 05:52
    OpenUAS commented #2787
  • Oct 22 05:48
    OpenUAS commented #2787
  • Oct 21 08:14
    OpenUAS commented #2790
  • Oct 20 21:06
    gautierhattenberger closed #2789
  • Oct 20 21:06
    gautierhattenberger commented #2789
  • Oct 20 21:06

    gautierhattenberger on master

    - Fixed svd function with min (… (compare)

  • Oct 20 21:05
    gautierhattenberger closed #2790
  • Oct 20 21:05
    gautierhattenberger labeled #2790
  • Oct 20 17:59
    pakanhai commented #2789
  • Oct 20 17:56
    pakanhai commented #2790
  • Oct 20 16:56
    pakanhai opened #2790
  • Oct 20 11:54
    gautierhattenberger commented #2789
  • Oct 20 10:11
    pakanhai commented #2789
  • Oct 19 21:41
    gautierhattenberger commented #2789
  • Oct 19 21:41
    gautierhattenberger labeled #2789
  • Oct 19 19:23
    OpenUAS commented #2787
  • Oct 19 17:03
    OpenUAS commented #2787
  • Oct 19 16:57
    pakanhai opened #2789
  • Oct 12 11:08
    gautierhattenberger commented #2788
Gautier Hattenberger
@gautierhattenberger
@OpenUAS no idea...
OpenUAS
@OpenUAS
@gautierhattenberger Thx. OK well, for HITL retest with PPRZLink 2 set now on my long todolist...
Hector Garcia de Marina
@noether
@Fabien-B I have a student porting Paparazzi to rovers, and I asked him to test the new GCS
he has found some bugs
or crashes
do you want him to tell you here in the chat? or do you prefer him to open an Issue in GitHub?
Fabien-B
@Fabien-B
Hi @noether,
An issue in Github would be nice!
I never really used it with rovers, so yes, bugs are expected... I know at least that the PFD crash with rovers, I will take care of that next week.
Hector Garcia de Marina
@noether
cool! he will open an issue then
he mentioned that the GCS crashes when he pressed a block that needs to draw on the map such as "circle"
now, I am thinking that it crashed with another firmware, because there is no simulator for rovers
Fabien-B
@Fabien-B
I think I fixed the issue, I bet he is using a paparazzi version older than July 1st ? I changed some fields in pprzlink ground messages from "float" to "double" because of the poor precision of float, and the pprzlink C++ library is not really forgiving about the types. Now the GCS should accept both without crashing.
Hector Garcia de Marina
@noether
ahhh I see, I think he cloned from master one week ago
thanks a lot Fabien!
he says it works now :P
Horace
@ElizHorace_twitter
hi, I am trying to connect a dw1000 module to bebop 2 via the usb. I found one module named dw1000_arduino. However, when I included it in my airframe file and tried to compile it, but some parameters seem missing causing some errors. Can anyone share a working airframe file for my reference?
Gautier Hattenberger
@gautierhattenberger
@ElizHorace_twitter what kind of error do you have ? And for which target ? You are probably missing some configuration parameters
Horace
@ElizHorace_twitter

@ElizHorace_twitter what kind of error do you have ? And for which target ? You are probably missing some configuration parameters

yes you are right. I need to define some parameters:
/// init arrays from airframe file
static const uint16_t ids[] = DW1000_ANCHORS_IDS;
static const float pos_x[] = DW1000_ANCHORS_POS_X;
static const float pos_y[] = DW1000_ANCHORS_POS_Y;
static const float pos_z[] = DW1000_ANCHORS_POS_Z;
static const float offset[] = DW1000_OFFSET;
static const float scale[] = DW1000_SCALE;

@gautierhattenberger how can I define the values in an array in airframe file?

Gautier Hattenberger
@gautierhattenberger
here is an example:
   <section name="DW1000" prefix="DW1000_">
    <define name="ANCHORS_IDS" value="1, 3, 4" type="int[]"/>
    <define name="ANCHORS_POS_X" value="5., 0., 0." type="float[]"/>
    <define name="ANCHORS_POS_Y" value="0., 2.5, -2.5" type="float[]"/>
    <define name="ANCHORS_POS_Z" value="0., 0., 0." type="float[]"/>
    <define name="OFFSET" value="0.64, 0.9, 0.85" type="float[]"/>
    <define name="SCALE" value="1.0, 1.0, 1.0" type="float[]"/>
  </section>
Horace
@ElizHorace_twitter
awesome! Thanks, @gautierhattenberger !
Horace
@ElizHorace_twitter
received another error here:
modules/decawave/dw1000_arduino.c: In function 'dw1000_arduino_event':
modules/decawave/dw1000_arduino.c:621:49: error: expected expression before ')' token
621 | while (uart_char_available(&DW1000_ARDUINO_DEV)){
I am not sure which part is undefined or missing. :(
Gautier Hattenberger
@gautierhattenberger
when you load the module in the firmware section, you need to configure the device:
    <module name="dw1000_arduino">
      <configure name="DW1000_ARDUINO_UART" value="uart2"/>
    </module>
change the uart number by the correct value for your airframe
amirhtbt
@amirhtbt
@gautierhattenberger Hi Mr. Hattenberger, I am running an apogee ap on a hexarotor (F550) using Tmotors(air 2216). After some challenges like external MAG sensor, attitude gains calibration etc, now I have another problem for holding the vehicle in a certain height. The apogee has an internal barometer [MPL3115A2 (I2C, MPU slave capability)] that doesn't give me true altitude, Now I want to know (because of MPU slave capability) can I use an external barometer like ms5611? Before I couldn't use external MPU9250 because of this issue. Moreover, can I use ins/ekf2 module for apogee board with it's internal sensors and no external ones?
Now, I am using INS/notype module.
What is your suggestion for this problem?
amirhtbt
@amirhtbt
Also could you tell me how can I calibrate ESCs directly by using SBUS protocol? I calibrated them using PWM but I think it is different to SBUS!
Gautier Hattenberger
@gautierhattenberger
Dear all, we are currently updating the server hosting the wiki and the blog, so you might experience some issues to reach them today and the coming days. Sorry for the inconvenience.
Gautier Hattenberger
@gautierhattenberger
@amirhtbt the baro of the Apogee is not always good enough for rotorcrafts. You should be able to connect an external barometer to the board. Even if you use i2c sensor, it will not go through the MPU (only the internal baro is a slave). If I'm not wrong, the MPU is on I2C1. You can use the same, or connect to I2C2 so the external sensor will be alone on the bus.
For the choice of ins, you can try the type extended, but it is mostly useful when also using a sonar. It should harm to test it. I have never used ekf2 myself, but I think people from TUDelft are happy with that. It is a complete INS, so maybe it is required to have a position (GPS, motion capture) but I can tell for sure.
In any case, you can check the raw signal. If the noise is to important, try to place a piece for soft foam on top of the baro.
Hector Garcia de Marina
@noether
@gautierhattenberger I was using this board http://www.mateksys.com/?portfolio=f765-wing with the STM32F765VIT6, now it has been discontinued and replaced by this other board http://www.mateksys.com/?portfolio=f765-wse with the STM32F765VIH6
there is only one letter of difference haha, but I did not check the actual difference between the two micros
do you think it will be straightforward to port the current support to STM32F765VIT6 to the new one in Paparazzi?
I see that the new board has the IMU ICM42688-P
so probably that driver is missing
Gautier Hattenberger
@gautierhattenberger
@noether First thing is to compare the specs of the MCU and the IMU. You will need to make a new board config anyway, it is unlikely that the routing is the same. But for IMU, most of them are mostly compatible (and compatible with old MPU6000 in fact) so it might not be that hard.
Hector Garcia de Marina
@noether
yes, the routing will be different for sure and a new board config is needed. The IMU I will check if it is compatible with the msg protocol from others.
my concern was about the MCU, everytime I see a new supported MCU, there are endless files about all the peripherals etc
I will check the difference between the T and the H letter in that MCU
Gautier Hattenberger
@gautierhattenberger
I think there are no difference at the point for the MCU, it is in the same series with the same peripherals
Hector Garcia de Marina
@noether
parece que la única diferencia es el encapsulado
oh sorry, in Spanish haha, it seems that the only difference is the package
one is with pins and the other is bga

I think there are no difference at the point for the MCU, it is in the same series with the same peripherals

yepe

Fabien-B
@Fabien-B
PprzGCS, the new GCS for paparazzi is now in the official paparazzi repository for Ubuntu 20.04!
To install it, run sudo apt update && sudo apt install pprzgcs.
Hector Garcia de Marina
@noether
yeah! It seems I need to get use to the new one then
I used it first with the rovers in the field and I had to come back to the old one
because I did not know where to look or to presh xD
Gautier Hattenberger
@gautierhattenberger
it sure is a bit different, so if you have any idea to make it better for the user, let us know
Hector Garcia de Marina
@noether
sure
OpenUAS
@OpenUAS
@Fabien-B , yay congrats for pprzgcs in repo, I was already surprised that after an update yesterday it stated .. updating pprzgcs