Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(hesai_hw_interface): use new UDP socket implementation #235

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Commits on Nov 21, 2024

  1. feat(udp): a new UDP socket implementation

    Signed-off-by: Max SCHMELLER <[email protected]>
    mojomex committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    210a89a View commit details
    Browse the repository at this point in the history
  2. chore(udp): more error handling and doc comments

    Signed-off-by: Max SCHMELLER <[email protected]>
    mojomex committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    9d8ee7c View commit details
    Browse the repository at this point in the history
  3. chore(udp): always enable socket reuse

    Signed-off-by: Max SCHMELLER <[email protected]>
    mojomex committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    49ba10c View commit details
    Browse the repository at this point in the history
  4. chore(udp): clean up C-style code

    Signed-off-by: Max SCHMELLER <[email protected]>
    mojomex committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    c2819b9 View commit details
    Browse the repository at this point in the history
  5. chore(udp): remove unnecessary double parens

    Signed-off-by: Max SCHMELLER <[email protected]>
    mojomex committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    dfb64c5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fb11beb View commit details
    Browse the repository at this point in the history
  7. chore(udp): differentiate between socket and usage-related errors

    Signed-off-by: Max SCHMELLER <[email protected]>
    mojomex committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    56afd43 View commit details
    Browse the repository at this point in the history
  8. feat(udp): allow setting receive buffer size

    Signed-off-by: Max SCHMELLER <[email protected]>
    mojomex committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    55bed26 View commit details
    Browse the repository at this point in the history
  9. chore(udp): use uint8_t because std::byte is annoying to refactor int…

    …o everywhere
    
    Signed-off-by: Max SCHMELLER <[email protected]>
    mojomex committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    1bb6bc6 View commit details
    Browse the repository at this point in the history
  10. fix(udp): update state correctly when bind() is called

    Signed-off-by: Max SCHMELLER <[email protected]>
    mojomex committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    9c6522c View commit details
    Browse the repository at this point in the history
  11. feat(udp): monitor socket packet drops

    Signed-off-by: Max SCHMELLER <[email protected]>
    mojomex committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    65ef33d View commit details
    Browse the repository at this point in the history
  12. feat(udp): add explicit unsubscribe function to facilitate clean shut…

    …down
    
    Signed-off-by: Max SCHMELLER <[email protected]>
    mojomex committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    84e5493 View commit details
    Browse the repository at this point in the history
  13. feat(hesai): switch to new UDP socket implementation

    Signed-off-by: Max SCHMELLER <[email protected]>
    mojomex committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    de0ded4 View commit details
    Browse the repository at this point in the history
  14. fix(hesai): gracefully stop receiver thread on shutdown to prevent SE…

    …GFAULT
    
    Signed-off-by: Max SCHMELLER <[email protected]>
    mojomex committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    5fd3142 View commit details
    Browse the repository at this point in the history
  15. fix(hesai): warn the user if they try to use multicast with wildcard …

    …host address
    
    Signed-off-by: Max SCHMELLER <[email protected]>
    mojomex committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    91b7e0e View commit details
    Browse the repository at this point in the history