Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 693 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 693 Bytes

OutGauge receiver in GO

Description:

Library for receiving OutGauge pakets from simulators like BeamNG.drive®

Also contains a test cli program which prints incoming packets in ./cli/main.go.

run it: go run main.go <listen ip> <listen udp port>

For information how setup the game checkout the Wiki

Usage:

go get github.com/worty/outgaugelistener

    import (
        "github.com/worty/outgaugelistener"
    )
    // listenaddr:= net.UDPAddr{.....}
    conn, err := outgaugelistener.Listen(&listenaddr)
    ...
    defer conn.Close()
    channel := conn.GetChannel()
    // recive data from channel
    ...