ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Aidan Dempster
    3. Topics
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 17
    • Best 1
    • Controversial 0
    • Groups 0

    Topics created by Aidan Dempster

    • Aidan DempsterA

      1.0.0 Firmware ModalIO - 4-in-1 mini ESC control and measurement

      VOXL 2
      • • • Aidan Dempster
      1
      0
      Votes
      1
      Posts
      142
      Views

      No one has replied

    • Aidan DempsterA

      4-in-1 ESC mini with VOXL2 - Current is 0

      ESCs
      • • • Aidan Dempster
      4
      0
      Votes
      4
      Posts
      366
      Views

      Alex KushleyevA

      @Aidan-Dempster ,

      Good question.

      As you may already know, the 4 ESCs normally only send their feedback status packet when the host (flight controller) queries them. The feedback query bit is set for one ESC at a time when sending out the control packet to the 4 ESCs. The Flight controller requests the feedback from one ESC at a time in round robin fashion in order to avoid collisions on UART line. This is true for all ModalAI ESCs.

      Now, the mini ESC M0129 has a special setup in terms of current sensing. IDs 0-2 do not have any current measurement, but ID3 measures the total current. In order to avoid confusion with individual current measurement, we have added a new Power Status message, which ID3 sends out in addition to the standard feedback. So when the Flight Controller asks ID3 to send feedback, the ID3 will send back the normal feedback packet and the power status packet. Here is a link in PX4 for your reference:

      parsing of standard packet:
      https://github.com/modalai/px4-firmware/blob/voxl-dev/src/drivers/actuators/modal_io/modal_io.cpp#L303

      parsing of power status and sending out battery status to PX4:
      https://github.com/modalai/px4-firmware/blob/voxl-dev/src/drivers/actuators/modal_io/modal_io.cpp#L393

      It looks like the power status feature is only in voxl-dev branch of PX4 code at the moment.

      Hopefully that helps! Let me know if you have any other questions.

      Alex

    • Aidan DempsterA

      VOXL2 Platform Beta or PX4 1.14

      VOXL 2
      • • • Aidan Dempster
      2
      0
      Votes
      2
      Posts
      204
      Views

      tomT

      @Aidan-Dempster I will send you an email.

    • Aidan DempsterA

      Is there an on board way to access DSP logs?

      VOXL 2
      • • • Aidan Dempster
      4
      0
      Votes
      4
      Posts
      306
      Views

      Aidan DempsterA

      @Eric-Katzfey Oh, ha. I could have sworn it wasn't outputting my custom module status message. Checking again I see it though. That's silly.

    • Aidan DempsterA

      VOXL2 not connecting with QGC

      VOXL 2
      • • • Aidan Dempster
      3
      0
      Votes
      3
      Posts
      233
      Views

      Eric KatzfeyE

      @Aidan-Dempster You are correct on the mavlink console. This is not currently supported on VOXL2. You would have to log into the VOXL2 directly using adb (on the benchtop) or ssh (while flying) in order to interact directly with px4 shell.

    • Aidan DempsterA

      Which branch of px4-firmware should we build against?

      VOXL 2
      • • • Aidan Dempster
      4
      0
      Votes
      4
      Posts
      241
      Views

      Eric KatzfeyE

      @Aidan-Dempster Yes, HITL support will be migrated to the voxl-dev branch as well.

    • Aidan DempsterA

      HITL Simulation without amd64 Ubuntu computer

      VOXL 2
      • • • Aidan Dempster
      8
      0
      Votes
      8
      Posts
      424
      Views

      Aidan DempsterA

      @Zachary-Lowell-0 Ah, yes I see what you mean. The secondary steps of updating gazebo's plugin path and loading a world with a model that uses the sitl plugins.

      Ok, well in that case my only roadblock is building PX4 on my mac which, as far as I can tell, is a PX4 problem and not a VOXL problem so thank you for your help.