Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

Global Moderators

Private

Forum wide moderators

Posts


  • Bots Unlimited Wifi Crash
    L LukeNow

    Hi John,

    Thanks for the data dumps. Could you run this wifi_capture.sh on your board and send us the data when you reproduce the crash along with the dump file again? It should be here along with a simple readme https://drive.google.com/drive/folders/14nMhkvOMeHJ6zLJYMW4scAglTfkRYY8N?usp=sharing

    Could you also briefly describe how you are connecting/what devices you are connecting? Also does this happen under any specific workloads or is it sporadic? It seems like a firmware crash so any additional information would be very useful if we end up needing to report it.

    Thanks!

    • Luke
    Ask your questions right here!

  • Radar Compatibility and connections clarification.
    VinnyV Vinny

    Hi @jetson-nano I'm not sure I am following.
    The ADB Debug port is still available on VOXL 2 when you use an M0062 Debug Board with USB Hub.
    Our plug-in boards that connect to J3 and J5 do not consume the primary USB.
    See here for guidance: https://docs.modalai.com/expansion-design-guide/#usb-expansion-over-j3--j5

    Ask your questions right here!

  • VOXL ESC FPV 4-in-1 with Built-in Power Module (MDK-M0138) Issues
    Alex KushleyevA Alex Kushleyev

    Hi @jbiscan21 ,

    The main issue was that the max_rpm_delta was set to zero. Even with PI gains (and max errors) set to zero, you could have had it working with non-zero max_rpm_delta. Let me explain.

    max_rpm_delta term is used to cap the target rpm relative to the current rpm. This is done to prevent very aggressive motor behavior, especially if motor is spinning very slowly because it is tangled in grass, etc, allowing unlimited max_rpm_delta could cause motor to burn out or de-sync.

    The RPM controller has a feed-forward term and feedback terms.

    • feedback terms are Proportional and Integral with corresponding gains and error terms (k * e).
    • feed-forward term comes from the calibration : for desired RPM, the calibration tells the ESC what PWM (duty cycle) to apply
    • there is also battery voltage compensation, so that even if voltage is changing, the feed-forward curve will still be accurate.

    The rpm error is computed like so : rpm_error = rpm_desired - rpm_current, which standard. But then it is capped with the max_rpm_delta, so if that is equal to zero, then rpm_error will be zero. One subtle detail is that the rpm_error is also used to look up the desired rpm feed_forward : rpm_for_feed_forward_term = rpm_current + rpm_error (roughly speaking), so having the max_rpm_delta set to zero, caused the motor to be always stuck at minimum rpm.

    So you could still have zero P and I terms and the motor would use a feed forward term with voltage compensation and it would provide a nice and soft response (similar to traditional ESC). Adding P and I will make the response better than a traditional ESC.

    In fact when using a new motor + prop, you should start off with P and I gains zero, just use a feed forward term to test at first and then you can increase the ESC's responsiveness by giving it more max_rpm_delta and also P and I terms. However, that is more advanced tuning should be done using voxl-esc tools first in order ensure ESC response stability (we could discuss that in another thread).

    To answer your earlier questions:

    • You could use pwm (power) control, but i have never used it with PX4. Perhaps @eric-katzfey can comment about that
    • the ESC calibration for modalai ESCs calibrates the feed-forward term (as described above), and has to be done with a propeller. Yes, in flight, the air dynamics will change due to many factors such as air pressure, temperature, air speed, etc, etc, but the job of RPM controller is to keep a desired rpm. A higher level controller could potentially estimate the thrust vs rpm is changing due to air temperature or pressure difference from the calibrated response (outside of the scope of ESC's rpm controller).

    Alex

    ESCs

  • voxl2 Mini SDK 1.6.5 and 1.6.6 not available on modalai.filecloudonline.com
    modaltbM modaltb

    Hi @markmst email me at devops @ modalai. com and I can get you a link/info.
    We've not validated SDK1.6.5+ on some targets so haven't released publicly to avoid folks loading on untested SKU.

    VOXL SDK

  • Bots Unlimited Wifi Crash
    L LukeNow

    Hi John,

    We are still looking at the issue and trying to reproduce and will get back to you if we find anything.

    If its possible could you also upload that /data/dump file to this ticket? If the size is not supported possibly uploading to google drive or similar file sharing service for us to inspect would be very helpful.

    Thanks!

    Ask your questions right here!

  • voxl-ardupilot crashing on mission planner reconnect
    Alex KushleyevA Alex Kushleyev

    @dan-jennings , I would be happy to help you with the Hadron Issues on newer SDKs. There were no changes to the Hadron (Boson + OV64B) functionaliy recently.

    Please make a new post for this issue and provide the following details:

    • which SDK is working and which SDK(s) are not working for Hadron
    • detailed description of the issue, any useful info from camera server or dmesg?
    • how is Hadron connected to VOXL2? which interposers and which VOXL2 camera port (J6, J7, or J8)
    • please provide voxl-camera-server.conf that you are using
    • please provide a list of sensormodule.bin and *so files in /usr/lib/camera

    Thank you

    Alex

    Ask your questions right here!

  • Debugging steps for: "Pre-arm Check Failure: Compass Sensor 0 Missing"
    Eric KatzfeyE Eric Katzfey

    Can you plug the cable from the working drone into the other one? That could tell you if it's the cable.

    Ask your questions right here!

  • Radar Compatibility and connections clarification.
    VinnyV Vinny

    Hi @jetson-nano
    Yes, the M0062 debug board provides a USB Hub for these types of use cases.

    However, be aware that the VBUS support on that platform is only 1A and may not cover all Doodle TX power modes.
    Please see this note: https://docs.modalai.com/cable-datasheets/#mcbl-00085

    e9d1874c-d8a5-4362-8f66-cf78c8943164-image.jpeg

    Ask your questions right here!

  • voxl-ardupilot crashing on mission planner reconnect
    Eric KatzfeyE Eric Katzfey

    My only guess at this point is that it may be timing related. I would try each step, wait a long time, then try the next step. Maybe something is taking too long and the system is not yet ready for the next step. But that's just a guess.

    Ask your questions right here!

  • voxl-ardupilot crashing on mission planner reconnect
    Eric KatzfeyE Eric Katzfey

    I'll probably have to recreate this and then debug it. I won't be able to do that until I get back from travel the week after next. Here's something from Codex that you could try:

      With Mission Planner closed, add this to its config.xml:
    
      <UseMavFtpParams>False</UseMavFtpParams>
    
      Then restart Mission Planner and repeat the exact sequence. This forces the legacy MAVLink parameter protocol instead of the packed MAVFTP download.
    
      Interpretation:
    
      - Failure disappears: strongly implicates MAVFTP burst traffic and the QURT/SLPI backpressure path.
      - Failure remains: investigate the broader reconnect/SLPI lifecycle rather than MAVFTP specifically.
      - QGroundControl works consistently: also supports the Mission Planner MAVFTP-trigger theory, though it would not prove MP is defective.
    
    Ask your questions right here!

Member List

modaltbM modaltb
Chad SweetC Chad Sweet
tomT tom
James StrawsonJ James Strawson
Eric KatzfeyE Eric Katzfey
VinnyV Vinny
ModeratorM Moderator
Adrian HidalgoA Adrian Hidalgo
Janine FredriksenJ Janine Fredriksen
zauberflote1Z zauberflote1
Kyle TyniK Kyle Tyni
L LukeNow
Eren UgurE Eren Ugur
Alex ProchazkaA Alex Prochazka
Paul NusserP Paul Nusser
Ben LinneB Ben Linne
J jthieme
Hector NevarezH Hector Nevarez
Robbie McCueR Robbie McCue
Matthew BorowskiM Matthew Borowski
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups