RESTful HATEOAS bridge for robotkernel-hal
bridge_rest exposes the internal services of robotkernel-hal as a RESTful web service using JSON payloads. It enables read and write access (e.g., CANopen, EtherCAT) via HTTP, facilitating integration with web-based frontends or remote systems.
This bridge follows REST and HATEOAS principles and is designed to be lightweight, real-time-friendly, and embeddable.
- 🔗 JSON-based REST API
- 🌐 HATEOAS-compliant navigation of device trees
- 🧩 Minimal dependencies
- ⚙️ Compatible with PREEMPT-RT and embedded Linux
- 🛠️ Modular and extendable
curl http://localhost:8080/ap/v2.0Response:
{
"slaves": "/slaves",
"_links": {
"self": { "href": "/" },
"slaves": { "href": "/slaves" }
}
}Please make sure that the prerequisites are installed. These are:
robotkernel
Then you should be able to build module_tty with:
git clone https://github.com/robotkernel-hal/module_tty.git
cd module_tty
./bootstrap.sh
autoreconf -i -f
mkdir build && cd build
../configure
make
sudo make installContributions welcome! Please ensure:
- No compiler warnings
- Code follows robotkernel coding rules
- Tests included for new features
Licensed under the LGPL-V3 License. See the LICENSE file.
Robotkernel HAL Project – powering real-time robotics infrastructure with modular, modern C++