Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ rosidl_generate_interfaces(${PROJECT_NAME}
"srv/GetSpeedLevel.srv"
"srv/GetState.srv"
"srv/GetSwitch.srv"
"srv/GetSwitchObstaclesAvoidance.srv"
"srv/GetVolume.srv"
"srv/Mode.srv"
"srv/Pose.srv"
"srv/Say.srv"
"srv/SetBrightness.srv"
"srv/SetSwitch.srv"
"srv/SetSwitchObstaclesAvoidance.srv"
"srv/SetVolume.srv"
"srv/SpeedLevel.srv"
"srv/SwitchGait.srv"
Expand Down
6 changes: 6 additions & 0 deletions srv/GetSwitchObstaclesAvoidance.srv
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Get switch obstacle avoidance

---
bool success
string message
int32 enable
52 changes: 52 additions & 0 deletions srv/Mode.srv
Original file line number Diff line number Diff line change
@@ -1,3 +1,55 @@
# The robot do something according to the mode
# The robot can:
# - Damp
# - BalanceStand
# - StopMove
# - StandUp
# - StandDown
# - RecoveryStand
# - Euler
# - Move
# - Sit
# - RiseSit
# - SwitchGait
# - Trigger
# - BodyHeight
# - FootRaiseHeight
# - SpeedLevel
# - Hello
# - Stretch
# - TrajectoryFollow
# - ContinuousGait
# - Content
# - Wallow
# - Dance1
# - Dance2
# - GetBodyHeight
# - GetFootRaiseHeight
# - GetSpeedLevel
# - SwitchJoystick
# - Pose
# - Scrape
# - FrontFlip
# - FrontJump
# - FrontPounce
# - WiggleHips
# - GetState
# - EconomicGait
# - FingerHeart
# - Dance3
# - Dance4
# - HopSpinLeft
# - HopSpinRight
# - LeftFlip
# - BackFlip
# - FreeWalk
# - FreeBound
# - FreeJump
# - FreeAvoid
# - WalkStair
# - WalkUpRight
# - CrossStep

string mode

---
Expand Down
2 changes: 1 addition & 1 deletion srv/SetSwitch.srv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Get switch.
# Set switch.

int32 enable

Expand Down
7 changes: 7 additions & 0 deletions srv/SetSwitchObstaclesAvoidance.srv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Set switch obstacle avoidance

int32 enable

---
bool success
string message