Go bindings for eCAL 6 (currently unreleased). Inspired from Blutkoete/golang-ecal.
Run the demo:
go run .
- eCAL 6 compatible (unreleased)
- Pure cgo; no SWIG dependency
- Custom C interface implementation
- Direct deserialization from subscriber buffer to Go types
Provides Go interfaces for:
- Core
- Configuration
- Publisher
- Zero Copy
- Subscriber
- Message Types
- Generic
- String
- Protobuf
- Logging
- Services
- Monitoring
- Publisher/Subscribers
- Processes
- Server/Clients
- Registration
- Topic callbacks
If eCAL is not installed in a default search path or you wish to use a specific
install of eCAL there is a helper CMake project to generate a package_user.go
with the correct cgo
flags.
cmake -S . -B build -DCMAKE_PREFIX_PATH=/path/to/cmake/install
go run .
To help write the C and C++ wrapper use the CMake project to generate a
compile_commands.json
.