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

    HITL with voxl 2

    Scheduled Pinned Locked Moved Ask your questions right here!
    24 Posts 4 Posters 5.9k Views 1 Watching
    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.
    • Tamas Pal 0T Offline
      Tamas Pal 0
      last edited by

      Is there any way to verify that FTDI cable is connected properly with J18 port ?

      Eric KatzfeyE 1 Reply Last reply Reply Quote 0
      • Eric KatzfeyE Offline
        Eric Katzfey ModalAI Team @Tamas Pal 0
        last edited by Eric Katzfey

        @Tamas-Pal-0 The easiest way would be to recompile the modalai_dsp PX4 driver to add more debug messages. But if you aren't comfortable with that then we'll need to come up with something else.

        1 Reply Last reply Reply Quote 0
        • Tamas Pal 0T Offline
          Tamas Pal 0
          last edited by Tamas Pal 0

          How to do that? Is there any other way to this ?

          Eric KatzfeyE 1 Reply Last reply Reply Quote 0
          • Eric KatzfeyE Offline
            Eric Katzfey ModalAI Team @Tamas Pal 0
            last edited by

            @Tamas-Pal-0 The simulator will be sending heartbeat messages out over the serial cable. You can use the screen program to see if anything is coming from voxl 2 in the serial cable.

            Tamas Pal 0T 1 Reply Last reply Reply Quote 0
            • Tamas Pal 0T Offline
              Tamas Pal 0 @Eric Katzfey
              last edited by

              @Eric-Katzfey How to use screen program in this case ?

              Eric KatzfeyE 1 Reply Last reply Reply Quote 0
              • Eric KatzfeyE Offline
                Eric Katzfey ModalAI Team @Tamas Pal 0
                last edited by

                @Tamas-Pal-0 screen is just a standard Linux program. There are many ways to check the output of the serial port. To start, you could always just do cat /dev/ttyUSB0 and see if anything is coming out. This post shows how to get a hex dump: https://superuser.com/questions/1402386/view-serial-device-output-in-console-in-hex

                1 Reply Last reply Reply Quote 0
                • Tamas Pal 0T Offline
                  Tamas Pal 0
                  last edited by Tamas Pal 0

                  The problem is solved. The problem was with ftdi cable. Thank you for your valuable inputs

                  Eric KatzfeyE 1 Reply Last reply Reply Quote 0
                  • Eric KatzfeyE Offline
                    Eric Katzfey ModalAI Team @Tamas Pal 0
                    last edited by

                    @Tamas-Pal-0 Excellent! How were you able to determine that it was the cable?

                    1 Reply Last reply Reply Quote 0
                    • Taylor PresleyT Offline
                      Taylor Presley
                      last edited by

                      @Eric-Katzfey @Tamas-Pal-0 For future users troubleshooting HITL setup, I was having the same issue as above. This cable would not allow me to set the latency or share data with the VOXL 2 through J18 port, but this cable works as intended.

                      Tamas Pal 0T 1 Reply Last reply Reply Quote 1
                      • Tamas Pal 0T Offline
                        Tamas Pal 0 @Taylor Presley
                        last edited by Tamas Pal 0

                        @Taylor-Presley Right. Some cables work some don't.

                        1 Reply Last reply Reply Quote 1

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post
                        Powered by NodeBB | Contributors