• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
ModalAI Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
    • Register
    • Login

    VOXL ESC FPV queries

    ESCs
    4
    32
    1.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jetson Nano @tom
      last edited by 13 Jan 2025, 07:24

      thanks @tom for reverting back. I had already tried it and I was not able to see any RC channel data. listener function was not working.
      The issue is I am not able to see the RC channel changes. Can you help me out how am I supposed to get the RC changes.

      A 1 Reply Last reply 13 Jan 2025, 17:02 Reply Quote 0
      • A
        Alex Kushleyev ModalAI Team @Jetson Nano
        last edited by 13 Jan 2025, 17:02

        Hi @Jetson-Nano, sorry i originally did not realize that you are running PX4 outside VOXL2. In this case px4-listener approach will not work.

        However, in the case of PX4 running on flight core (v1 or v2), there is still communication between Flight Core and VOXL2. voxl-mavlink-server should be communicating with the Flight Core via UART and passing messages back and forth. Depending whether the forwarding of RC topic is enabled or not, voxl-mavlink-server would receive those messages (if enabled) and in that case they would be accessible on VOXL2.

        @tom , can you please elaborate on how to double check if the RC message is set up to forward to voxl-mavlink-server from Flight Core (if not, how to enable it) and how to actually read that message?

        Thanks!

        Alex

        T 1 Reply Last reply 13 Jan 2025, 18:01 Reply Quote 0
        • T
          tom admin @Alex Kushleyev
          last edited by 13 Jan 2025, 18:01

          @Alex-Kushleyev @Jetson-Nano You'll want to make sure that in /etc/modalai/voxl-mavlink-server.conf that en_external_uart_ap is set to true

          Once you restart the service you should be able to run voxl-inspect-mavlink mavlink_offboard to view the generated messages from FC

          J 2 Replies Last reply 14 Jan 2025, 04:13 Reply Quote 0
          • J
            Jetson Nano @tom
            last edited by 14 Jan 2025, 04:13

            @tom @Alex-Kushleyev thanks guys. I will check it and get back to you with the result.

            J 1 Reply Last reply 14 Jan 2025, 04:22 Reply Quote 0
            • J
              Jetson Nano @Jetson Nano
              last edited by Jetson Nano 21 Jan 2025, 08:48 14 Jan 2025, 04:22

              @Alex-Kushleyev @tom
              Guys I checked what you guys mentioned.
              Screenshot from 2025-01-14 09-47-51.png
              Screenshot from 2025-01-14 09-46-54.png
              The en_external_uart_ap is set to True, but when I run the command voxl-inspect-mavlink mavlink_offboard , the terminal is showing waiting for pipe to connect and not showing anything else.

              Adding to the previous point there is no mavlink_offboard showing up.

              Screenshot from 2025-01-14 09-58-47.png

              A 1 Reply Last reply 14 Jan 2025, 04:31 Reply Quote 0
              • A
                Alex Kushleyev ModalAI Team @Jetson Nano
                last edited by 14 Jan 2025, 04:31

                @Jetson-Nano , is voxl-mavlink-server actually running? you can check using voxl-inspect-services.

                Also, are you sure that your Flight Core V2 is connected to /dev/ttyHS1 , which would be implied by using autopilot_uart_bus: 1 . How exactly are you connecting it to VOXL2?

                Alex

                J 1 Reply Last reply 14 Jan 2025, 07:36 Reply Quote 0
                • J
                  Jetson Nano @Alex Kushleyev
                  last edited by 14 Jan 2025, 07:36

                  @Alex-Kushleyev
                  yes the voxl-mavlink-server is running, I had checked it.

                  I am following this documentation for FC connections.

                  [link](https://docs.modalai.com/flight-core-connections/#:~:text=Using the MCBL-00010](%2F,which can lead to issues.)

                  A 1 Reply Last reply 14 Jan 2025, 15:29 Reply Quote 0
                  • A
                    Alex Kushleyev ModalAI Team @Jetson Nano
                    last edited by 14 Jan 2025, 15:29

                    @Jetson-Nano , can you please clarify which connector on VOXL2 is your Flight Core connected to (for uart communication) and whether you have any indication that the communication is established? Have you previously been able to connect to VOXL2 from QGC and access the Flight Core V2 while it has been connected to VOXL2?

                    Alex

                    J 1 Reply Last reply 15 Jan 2025, 10:36 Reply Quote 0
                    • J
                      Jetson Nano @Alex Kushleyev
                      last edited by 15 Jan 2025, 10:36

                      @Alex-Kushleyev I currently use, VOXL2 USB 3.0 Expansion Adapter connected to VOXL2. From the UART7 port of the Expansion Adapter I have connected to 6-PIN Telemetry1 Port in Flight Core V2.

                      My connection is similar to this,
                      a976cc01-f06c-4080-b2dc-a551ef614cce-image.png

                      As you mentioned earlier, I'm establishing connection through port /dev/ttyHS1. When I run the cat command to read the messages from this port, I get garbled data as below,

                      646c42a2-3edd-4b18-aecd-c0a36af3721e-image.png.

                      I'm not exactly clear when you mean if I have tried connecting to VOXL2 from QGC and access the Flight Core V2. Few things I have tried is,

                      • Connecting to FlightCore V2 by connecting to Wifi of VOXL2. I also have a Wifi setup on VOXL2, which also acts as my Telemetry line. From QGC I connect to this local network to access FC data and PX4 parameters on Flight Core V2.

                      • I have tried and tested few mavlink message commads which communicate with PX4 directly for C2C.

                      1 Reply Last reply Reply Quote 0
                      • J
                        Jetson Nano @tom
                        last edited by 15 Jan 2025, 10:52

                        @tom As per your response on shifting to voxl-inspect-mavlink mavlink_offboard, I see that even in mavlink server documentation from ModalAI that service pipeline is not listed. Is it that something that has to be explicitly be enabled somewhere?
                        Even as per the documentation, I dont see this service pipeline listed.

                        0abeaffd-4404-446e-9b9b-a1c2ab30b668-image.png

                        T 1 Reply Last reply 15 Jan 2025, 17:40 Reply Quote 0
                        • T
                          tom admin @Jetson Nano
                          last edited by 15 Jan 2025, 17:40

                          @Jetson-Nano I could have the naming wrong. If you inspect mavlink_onboard what kind of data do you see?

                          J 1 Reply Last reply 16 Jan 2025, 15:23 Reply Quote 0
                          • J
                            Jetson Nano @tom
                            last edited by 16 Jan 2025, 15:23

                            @tom This is the output I get,

                            Screenshot from 2025-01-16 20-49-20.png

                            T 1 Reply Last reply 16 Jan 2025, 17:29 Reply Quote 0
                            • T
                              tom admin @Jetson Nano
                              last edited by 16 Jan 2025, 17:29

                              @Jetson-Nano Since you don't have voxl-px4 running I think that data is likely coming from your external flight controller

                              J 1 Reply Last reply 16 Jan 2025, 18:37 Reply Quote 0
                              • J
                                Jetson Nano @tom
                                last edited by 16 Jan 2025, 18:37

                                @tom yes, the message is coming from external flight controller, Flight core v2. Now can you share how to double check if the RC message is set up to forward to voxl-mavlink-server from Flight Core (if not, how to enable it) and how to actually read that message?

                                Eric KatzfeyE 1 Reply Last reply 16 Jan 2025, 19:58 Reply Quote 0
                                • Eric KatzfeyE
                                  Eric Katzfey ModalAI Team @Jetson Nano
                                  last edited by 16 Jan 2025, 19:58

                                  @Jetson-Nano Probably should also look at the pipe for messages from the flight controller to the GCS (Labeled mavlink_to_gcs in the above diagram but you'll have to double check that name). Generally the flight controller is configured with two mavlink streams. One is the onboard stream that has high rate messages and is intended for local use (e.g. on VOXL or VOXL 2) and the other is more the default settings for communication with a GCS. You can configure what each of these streams contain in PX4. You can add streams, change stream rates, etc. all via PX4 configuration. Please refer to the PX4 documentation for details on how to do this.

                                  J 1 Reply Last reply 17 Jan 2025, 15:03 Reply Quote 0
                                  • J
                                    Jetson Nano @Eric Katzfey
                                    last edited by 17 Jan 2025, 15:03

                                    Hi @Eric-Katzfey, I was thinking another approach, where we can use pymavlink to get the RC_channel data. Any inputs to the mentioned approach, is it feasible?

                                    Eric KatzfeyE 1 Reply Last reply 17 Jan 2025, 16:19 Reply Quote 0
                                    • Eric KatzfeyE
                                      Eric Katzfey ModalAI Team @Jetson Nano
                                      last edited by 17 Jan 2025, 16:19

                                      @Jetson-Nano Yes, that should work. You should be able to send heartbeats from a Python script using pymavlink and connect to the flight controller via voxl-mavlink-server. Then you should start receiving all the normal messages sent out by the flight controller to the GCS which should include the RC channels message.

                                      J 1 Reply Last reply 18 Jan 2025, 13:07 Reply Quote 0
                                      • J
                                        Jetson Nano @Eric Katzfey
                                        last edited by Jetson Nano 23 Jan 2025, 05:16 18 Jan 2025, 13:07

                                        This post is deleted!
                                        J 1 Reply Last reply 23 Jan 2025, 05:17 Reply Quote 0
                                        • J
                                          Jetson Nano @Jetson Nano
                                          last edited by 23 Jan 2025, 05:17

                                          @Alex-Kushleyev can you check the above mentioned approach

                                          A 1 Reply Last reply 23 Jan 2025, 05:29 Reply Quote 0
                                          • A
                                            Alex Kushleyev ModalAI Team @Jetson Nano
                                            last edited by 23 Jan 2025, 05:29

                                            @Jetson-Nano , I am sorry, I don't have this hardware set up right now, so I can't actually test what you are trying to do. I will check with the team regarding who can test it.

                                            Alex

                                            1 Reply Last reply Reply Quote 0
                                            13 out of 32
                                            • First post
                                              13/32
                                              Last post
                                            Powered by NodeBB | Contributors