-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from ichiro-its/feature/using-grpc
[Sprint 22 / PD-50] - [Feature] Add implementation GRPC
- Loading branch information
Showing
2 changed files
with
100 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
syntax = "proto3"; | ||
|
||
package aruku_interfaces.proto; | ||
|
||
service Config { | ||
rpc GetConfig (Empty) returns (ConfigWalking) {} | ||
|
||
rpc SaveConfig (ConfigWalking) returns (Empty) {} | ||
|
||
rpc PublishConfig (ConfigWalking) returns (Empty){} | ||
|
||
rpc SetMainConfig (SetWalking) returns (Empty) {} | ||
|
||
rpc SetAppStatus (AppStatus) returns (Empty) {} | ||
} | ||
|
||
message Empty {} | ||
|
||
message Point2 { | ||
double x = 1; | ||
double y = 2; | ||
} | ||
|
||
message ConfigWalking { | ||
string json_kinematic = 1; | ||
string json_walking = 2; | ||
} | ||
|
||
message SetWalking { | ||
bool run = 1; | ||
double x_move = 2; | ||
double y_move = 3; | ||
double a_move = 4; | ||
bool aim_on = 5; | ||
} | ||
|
||
message Status { | ||
bool is_running = 1; | ||
double x_amplitude = 2; | ||
double y_amplitude = 3; | ||
double a_amplitude = 4; | ||
Point2 odometry = 5; | ||
} | ||
|
||
message AppStatus { | ||
bool action_manager_status = 1; | ||
} |