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

    HTTP server on Sentinel

    Ask your questions right here!
    3
    4
    105
    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.
    • S
      soraminds
      last edited by

      Hello,

      I want to setup HTTP request & response server on Sentinel. Ideally, as Sentinel fly the route, I want sensors along the path to send data as HTTP post request.
      Down the load, I want to process the data on board.

      Is there any documentation that can help me get started?

      Thank you,

      groupoG Eric KatzfeyE 3 Replies Last reply Reply Quote 0
      • groupoG
        groupo @soraminds
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • groupoG
          groupo @soraminds
          last edited by

          @soraminds im not sure there is any but we did what I believe you are describing in reverse. We set up a shell script on the drone that sent web requests to a server running on our network. This requests contained the GPS information from voxl-inspect-gps.

          On our server, we set up a webserver using Perl and its HTTP::Server::Simple::CGI module. IIRC Perl was already on the drone so you might natively be able to do this in reverse, otherwise just install that package/module and look up some examples for it. That should get you there

          Only catch might be the IP address changing. Depending on your network perhaps your webserver IP (running on drone) may not be static. You would have to account for that somehow. In our case, our server was static and this point was moot. Good luck!

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

            @soraminds VOXL 2 is a Linux computer so you can just run Apache or any other standard web server. But be aware that voxl-portal is also a running web server so you would have to stop it or, even better, run your server on a different port.

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