Skip to content
Snippets Groups Projects
  1. Nov 20, 2018
  2. Nov 19, 2018
  3. Nov 16, 2018
  4. Nov 15, 2018
  5. Nov 14, 2018
  6. Nov 13, 2018
    • Julian Oes's avatar
      mavlink: fix yawing to North for LOITER_TIME (#10828) · d7c34dde
      Julian Oes authored
      * mavlink: yaw should wrap at 2 pi, not pi
      * mavlink: use newer rad/deg conversion
      d7c34dde
    • Mara Bos's avatar
      Use unix sockets instead of pipes for posix daemon. (#10766) · 9594ebf7
      Mara Bos authored
      Unlike pipes, unix sockets provide bi-directional
      communication with each connected client.
      
      - No need to generate a unique uuid per client anymore.
      
      - The client doesn't have to create its own pipe anymore.
      
      - Since there is no risk of multiple client's writes getting mixed up,
        messages don't need to fit in a single write anymore, removing the
        limit on command length.
      
      - Since the server can detect a connection closing, the client no longer
        needs to handle signals. When the client is killed, the connection is
        automatically closed, which will cause the server to kill the related
        px4 thread.
        Since this does not rely on handling signals and the client sending an
        additional message, this is much more reliable.
      
      - Client is no longer a singleton.
      
      - The protocol is simplified. Standard output is directly written to the
        socket back to the client, without wrapping it in any protocol
        message.
      
      - Because of the simple protocol, one could now even use netcat to run a
        px4 command:
      
          $ echo hello | netcat -UN /tmp/px4-sock-0
      
      Also removes a few race conditions.
      9594ebf7
    • Hamish Willee's avatar
      TRAJECTORY message renamed · 9379c010
      Hamish Willee authored
      9379c010
    • Beat Küng's avatar
Loading