ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. restore
    3. Posts
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 12
    • Posts 51
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by restore

    • Logging altitude and/or barometer

      I was wondering if there is a way to log altitude and/or barometer data similar to voxl-logger for imu data.

      Thanks

      posted in VOXL 2
      R
      restore
    • RE: VOXL2 detected landing at ~27m altitude and cut motors

      @Alex-Kushleyev yes you can reference the log

      posted in Ask your questions right here!
      R
      restore
    • VOXL2 detected landing at ~27m altitude and cut motors

      We were attempting a tuning flight with a fresh rebuild and while checking stability all motors shut off, drone flipped and crashed inverted. Log attached, of note is in the logged messages "landing detected at 09:13 while it was approximately 27m in the air.

      https://review.px4.io/plot_app?log=6ad22692-fe3f-4cce-b8f0-a812d91bfa16

      Hardware:
      VOXL2
      FPV ESC
      Tmotor MN5006 450kv (params tuned for low kv)
      Doodle Meshrider radio
      Control via Jeti RC connected to GCS

      posted in Ask your questions right here!
      R
      restore
    • RE: IO board for PWM output using the 4in1 ESC M0138-1

      @Alex-Kushleyev I found that the parameters were just not used and once I set them with px4-param set PARAM_NAME param-value that they show up in QGC

      One that I am still stuck on though. I am looking for a parameter TRIG_PINS that is not in the list of params in px4-param show -a

      The default is 56 and I need to know how to map the pins to the PWM expansion board. From px4 documentation:

      TRIGGER_INTERFACE = 2
      "Enables the Seagull MAP2 interface. This allows the use of the Seagull MAP2 to interface to a multitude of supported cameras. Pin 1 of the MAP2 should be connected to the lower AUX pin of TRIG_PINS (therefore, pin 1 to AUX 5 and pin 2 to AUX 6 by default). In this mode, PX4 also supports automatic power control and keep-alive functionalities of Sony Multiport cameras like the QX-1."

      posted in VOXL 2 IO
      R
      restore
    • RE: IO board for PWM output using the 4in1 ESC M0138-1

      @Alex-Kushleyev I am looking to enable the seagull trigger in camera interfaces as shown here , but I do not see that option. I see that the interface is in the modalai repo but how do I enable it to show up in QGC?

      posted in VOXL 2 IO
      R
      restore
    • RE: IO board for PWM output using the 4in1 ESC M0138-1

      @Alex-Kushleyev Okay I can do some searching for how to setup the trigger.

      For the camera trigger.
      Neutral state is 1500 microseconds
      To trigger the camera, change the duty cycle to yield 1200 microseconds and hold that for one second before switching back to 1500 microseconds

      Is that something that can be done?

      posted in VOXL 2 IO
      R
      restore
    • RE: IO board for PWM output using the 4in1 ESC M0138-1

      @Alex-Kushleyev okay I upgraded px4 and updated the px4-start script - now see 8 pwm channels.

      I need to configure the camera trigger as shown in the image below (it is shown in mission planner and I am not sure how to do it in QGC)
      CameraTriggerConfig.JPG

      Can you please explain how I can configure the PWM output to trigger a shutter "pushed".

      Thanks!

      posted in VOXL 2 IO
      R
      restore
    • RE: IO board for PWM output using the 4in1 ESC M0138-1

      @Alex-Kushleyev we are all good on the RC front. We have the PWM expansion board and are trying to understand how to configure QGC. In the actuators tab, the I/O board is recognized but in the VOXL2 IO output tab it only shows 4 pwm channels that are all set to motors (which we don’t need). How can we use one of the other channels or configure one of the first 4 to provide a standard PWM that we can use for our camera trigger interface?

      posted in VOXL 2 IO
      R
      restore
    • RE: IO board for PWM output using the 4in1 ESC M0138-1

      @Alex-Kushleyev yes I am looking to output standard PWM signals. We have the VOXL2 I/O expander board (MDK-M0065). We originally got it for RC connection but we’re also hoping to use the PWM capability for camera triggering.

      posted in VOXL 2 IO
      R
      restore
    • IO board for PWM output using the 4in1 ESC M0138-1

      @Alex-Kushleyev I would like to use the IO board to output a PWM for this camera trigger adapter. I do not need it to control motors as we are using the FPV 4in1 ESC.

      Can you please give me instructions on how to configure voxl and QGC to output the PWM? Do I need to upgrade the IO board firmware?

      Thanks

      posted in VOXL 2 IO
      R
      restore
    • RE: PX4 params missing

      @riteshsharma do the SDK installation with ./install.sh -w option. This will wipe the entire file system including the /data partition which is usually untouched.

      posted in VOXL 2
      R
      restore
    • RE: PX4 params missing

      @tom a full wipe SDK install sorted it out. Thanks

      posted in VOXL 2
      R
      restore
    • RE: VOXL portal not working

      @tom the full wipe SDK install sorted it out. Thanks

      posted in VOXL 2
      R
      restore
    • RE: Camera Trigger Interface (Still Images)

      @Nathan-Sullivan-0 would you be willing to share your methods/code for using the Sony SDK? I have a similar application.

      posted in VOXL 2
      R
      restore
    • RE: VOXL portal not working

      @tom we tried that and still have the same behavior. Everything seems to run successfully.

      posted in VOXL 2
      R
      restore
    • RE: PX4 params missing

      @tom no - I have rebooted a few times and it is still not there. No px4 directory in /data

      posted in VOXL 2
      R
      restore
    • RE: VOXL portal not working

      @tom it is a custom drone

      Voxl2 and the 4in1 FPV ESC

      posted in VOXL 2
      R
      restore
    • RE: PX4 params missing

      @tom yes - that is how I installed it

      posted in VOXL 2
      R
      restore
    • RE: VOXL portal not working

      @tom

      voxl2:/$ journalctl -u voxl-portal
      -- Logs begin at Thu 2023-03-02 12:58:02 UTC, end at Thu 2023-03-02 13:35:18 UT
      Mar 02 12:58:04 m0054 systemd[1]: Started voxl-portal.
      -- Reboot --
      Mar 02 12:58:04 m0054 systemd[1]: Started voxl-portal.
      -- Reboot --
      Mar 02 12:58:04 m0054 systemd[1]: Started voxl-portal.
      -- Reboot --
      Mar 02 12:58:04 m0054 systemd[1]: Started voxl-portal.
      -- Reboot --
      Mar 02 12:58:04 m0054 systemd[1]: Started voxl-portal.
      -- Reboot --
      Mar 02 12:58:04 m0054 systemd[1]: Started voxl-portal.
      -- Reboot --
      Mar 02 12:58:04 m0054 systemd[1]: Started voxl-portal.
      -- Reboot --
      Mar 02 12:58:04 m0054 systemd[1]: Started voxl-portal.
      -- Reboot --
      Mar 02 12:58:04 m0054 systemd[1]: Started voxl-portal.
      -- Reboot --
      Mar 02 12:58:04 m0054 systemd[1]: Started voxl-portal.
      -- Reboot --
      Mar 02 12:58:04 m0054 systemd[1]: Started voxl-portal.
      -- Reboot --
      Mar 02 12:58:04 m0054 systemd[1]: Started voxl-portal.
      -- Reboot --
      Mar 02 12:58:04 m0054 systemd[1]: Started voxl-portal.
      -- Reboot --
      Mar 02 12:58:58 m0054 voxl-portal[1415]: received SIGTERM
      Mar 02 12:58:58 m0054 voxl-portal[1415]: voxl-portal started up
      Mar 02 12:58:58 m0054 voxl-portal[1415]: e481 1 mongoose.c:3626:mg_iotest      
      Mar 02 12:58:58 m0054 systemd[1]: Stopping voxl-portal...
      Mar 02 12:58:58 m0054 systemd[1]: Stopped voxl-portal.
      Mar 02 12:59:07 m0054 systemd[1]: Started voxl-portal.
      -- Reboot --
      Mar 02 13:03:04 m0054 voxl-portal[1429]: received SIGTERM
      Mar 02 13:03:04 m0054 voxl-portal[1429]: voxl-portal started up
      Mar 02 13:03:04 m0054 voxl-portal[1429]: 4a586 1 mongoose.c:3626:mg_iotest     
      Mar 02 13:03:04 m0054 systemd[1]: Stopping voxl-portal...
      Mar 02 13:03:04 m0054 systemd[1]: Stopped voxl-portal.
      Mar 02 13:03:04 m0054 systemd[1]: Started voxl-portal.
      -- Reboot --
      Mar 02 13:03:18 m0054 voxl-portal[1415]: received SIGTERM
      Mar 02 13:03:18 m0054 voxl-portal[1415]: voxl-portal started up
      Mar 02 13:03:18 m0054 voxl-portal[1415]: 4dbba 1 mongoose.c:3626:mg_iotest     
      Mar 02 13:03:18 m0054 systemd[1]: Stopping voxl-portal...
      Mar 02 13:03:18 m0054 systemd[1]: Stopped voxl-portal.
      Mar 02 13:03:18 m0054 systemd[1]: Started voxl-portal.
      lines 10-47/47 (END)
      

      voxl-version

      voxl2:/$ voxl-version
      --------------------------------------------------------------------------------
      system-image: 1.7.8-M0054-14.1a-perf
      kernel:       #1 SMP PREEMPT Fri May 17 23:29:23 UTC 2024 4.19.125
      --------------------------------------------------------------------------------
      hw platform:  M0054
      mach.var:     1.0.0
      --------------------------------------------------------------------------------
      voxl-suite:   1.3.0
      --------------------------------------------------------------------------------
      Packages:
      Repo:  http://voxl-packages.modalai.com/ ./dists/qrb5165/sdk-1.3/binary-arm64/
      Last Updated: 2023-03-02 12:58:43
      WARNING: repo file has changed since last update,
      	packages may have originated from a different repo
      List:
      kernel-module-voxl-fsync-mod-4.19.125     1.0-r0
      kernel-module-voxl-gpio-mod-4.19.125      1.0-r0
      kernel-module-voxl-platform-mod-4.19.125  1.0-r0
      libfc-sensor                              1.0.7
      libmodal-cv                               0.5.6
      libmodal-exposure                         0.1.0
      libmodal-journal                          0.2.2
      libmodal-json                             0.4.3
      libmodal-pipe                             2.10.0
      libqrb5165-io                             0.4.5
      libvoxl-cci-direct                        0.2.3
      libvoxl-cutils                            0.1.1
      modalai-slpi                              1.1.14
      mv-voxl                                   0.1-r0
      qrb5165-bind                              0.1-r0
      qrb5165-dfs-server                        0.2.0
      qrb5165-imu-server                        1.0.1
      qrb5165-rangefinder-server                0.1.3
      qrb5165-slpi-test-sig                     01-r0
      qrb5165-system-tweaks                     0.2.6
      qrb5165-tflite                            2.8.0-2
      voxl-bind-spektrum                        0.1.1
      voxl-camera-calibration                   0.5.5
      voxl-camera-server                        1.9.4
      voxl-ceres-solver                         2:1.14.0-10
      voxl-configurator                         0.6.6
      voxl-cpu-monitor                          0.4.8
      voxl-docker-support                       1.3.1
      voxl-elrs                                 0.2.0
      voxl-esc                                  1.4.3
      voxl-feature-tracker                      0.3.10
      voxl-flow-server                          0.3.6
      voxl-fsync-mod                            1.0-r0
      voxl-gphoto2-server                       0.0.10
      voxl-gpio-mod                             1.0-r0
      voxl-jpeg-turbo                           2.1.3-5
      voxl-lepton-server                        1.2.1
      voxl-lepton-tracker                       0.0.1
      voxl-libgphoto2                           0.0.4
      voxl-libuvc                               1.0.7
      voxl-logger                               0.4.1
      voxl-mavcam-manager                       0.5.6
      voxl-mavlink                              0.1.1
      voxl-mavlink-server                       1.4.1
      voxl-modem                                1.1.2
      voxl-mongoose                             7.7.0-1
      voxl-mpa-to-ros                           0.3.8
      voxl-mpa-tools                            1.1.6
      voxl-neopixel-manager                     0.0.3
      voxl-open-vins                            0.4.11
      voxl-open-vins-server                     0.2.53
      voxl-opencv                               4.5.5-2
      voxl-platform-mod                         1.0-r0
      voxl-portal                               0.6.6
      voxl-px4                                  1.14.0-2.0.73
      voxl-px4-imu-server                       0.1.2
      voxl-px4-params                           0.4.2
      voxl-qvio-server                          1.0.4
      voxl-remote-id                            0.0.9
      voxl-streamer                             0.7.4
      voxl-suite                                1.3.0
      voxl-tag-detector                         0.0.4
      voxl-tflite-server                        0.3.4
      voxl-utils                                1.4.1
      voxl-uvc-server                           0.1.7
      voxl-vision-hub                           1.8.0
      voxl-vtx                                  1.0.2
      voxl2-io                                  0.0.3
      voxl2-system-image                        1.7.8-r0
      voxl2-wlan                                1.0-r0
      
      posted in VOXL 2
      R
      restore
    • PX4 params missing

      We just flashed our VOXL2 with SDK 1.3

      There is no px4 folder in the /data directory. I have tried running voxl-configure-px4-params -w and selected both the defaults and FPV_RevB_V4 and nothing gets populated in the data/px4 location.

      Should we roll back to SDK 1.2? Or are the px4 params stored somewhere else now? The px4 start script still looks in /data/px4/param/parameters

      posted in VOXL 2
      R
      restore