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

    ROS2 VOXL2 Deserialization Errors

    Ask your questions right here!
    4
    10
    218
    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.
    • G
      GlennTee
      last edited by

      Hello,

      I'm in the process of trying to run a sample Python program from the PX4 website that allows my Starling drone to enter offboard mode, arm, fly to a specific height, and wait. However, when going to run my program, I experience deserialization errors. I suspect this is due to different definitions involving messages between the subscribers and publishers, but I'm not 100% sure. Would anyone know anything about resolving these specific errors?

      555818ce-fe60-4292-8555-d431b8e82796-image.png

      1 Reply Last reply Reply Quote 0
      • Zachary Lowell 0Z
        Zachary Lowell 0 ModalAI Team
        last edited by

        @GlennTee it looks like the version of px4 messages that was downloaded and built for the dds mismatches what px4 uorb messages are running in the system. I will take a look into this. Thanks!

        G C 2 Replies Last reply Reply Quote 0
        • G
          GlennTee @Zachary Lowell 0
          last edited by

          @Zachary-Lowell-0 Thank you. I just tried using a different SDK version (1.1.2) instead of the one I was originally using (1.1.4) just to see if that would help, but I am still experiencing the same errors. My guess right now is that it is a problem with message definitions within the repository itself.

          1 Reply Last reply Reply Quote 0
          • C
            claw @Zachary Lowell 0
            last edited by

            Hi @Zachary-Lowell-0 I'm working with @GlennTee on his capstone project as an advisor. We are hoping to use Starlings as infrastructure for algorithm research and development in our labs. In order to sell the idea to our sponsors we'll need basic (working) examples for researchers to get started with that don't require weeks of work to sort through just to establish a baseline. I've seen other posts with similar deserialization errors so I'm hoping that you can help to resolve this easily. We very much appreciate your help and eagerly await direction.
            Best Regards,
            Bill

            C 1 Reply Last reply Reply Quote 0
            • C
              claw @claw
              last edited by

              @Zachary-Lowell-0 If you won't be able to help here, is there someone that can? Thanks

              T 1 Reply Last reply Reply Quote 0
              • T
                teddy.zaremba @claw
                last edited by teddy.zaremba

                @claw Hi, sorry for the delay I'm testing this out. I believe you compiled the wrong version of PX4 mgs with your code but I'll find out the correct version and let you know today.

                T 1 Reply Last reply Reply Quote 0
                • T
                  teddy.zaremba @teddy.zaremba
                  last edited by teddy.zaremba

                  @claw @GlennTee voxl-px4 in SDK 1.1.2 is based off 1.14 so you should be building px4-msgs on branch release/1.14. Let me know if you're still running into issues after confirming this.

                  C G 2 Replies Last reply Reply Quote 0
                  • C
                    claw @teddy.zaremba
                    last edited by

                    @teddy-zaremba We were able to pull your suggested version and the deserialization errors are gone. Thank you for your help.

                    1 Reply Last reply Reply Quote 0
                    • G
                      GlennTee @teddy.zaremba
                      last edited by

                      @teddy-zaremba Thank you so much, using that specific version worked like a charm!

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        teddy.zaremba @GlennTee
                        last edited by

                        @GlennTee Great!

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Powered by NodeBB | Contributors