grpc_client

command
v0.0.0-...-771ec77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2024 License: MPL-2.0 Imports: 16 Imported by: 0

README

(C) 2023 Ford Motor Company (C) 2023 Volvo Cars

gRPC client

To build:

$ go build

To run:

./grpc_client

The gRPC client UI provides a choice of four different request that can be issued:

{"action":"get","path":"Vehicle/Chassis/Accelerator/PedalPosition","requestId":"232"}
{"action":"subscribe","path":"Vehicle/Speed","filter":{"type":"timebased","parameter":{"period":"100"}},"requestId":"246"}
{"action":"unsubscribe","subscriptionId":"1","requestId":"240"}
{"action":"set", "path":"Vehicle/Body/Lights/IsLeftIndicatorOn", "value":"999", "requestId":"245"}

These can be issued multiple times, but there is a limitation in that the unsubscribe has a static subscriptionID that only applies to the first started subscription.

Documentation

Overview

* * (C) 2023 Ford Motor Company * (C) 2023 Volvo Cars * * All files and artifacts in the repository at https://github.com/covesa/vissr * are licensed under the provisions of the license provided by the LICENSE file in this repository. * *

Directories

Path Synopsis
* * (C) 2023 Ford Motor Company * (C) 2023 Volvo Cars * * All files and artifacts in the repository at https://github.com/covesa/vissr * are licensed under the provisions of the license provided by the LICENSE file in this repository.
* * (C) 2023 Ford Motor Company * (C) 2023 Volvo Cars * * All files and artifacts in the repository at https://github.com/covesa/vissr * are licensed under the provisions of the license provided by the LICENSE file in this repository.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL