Skip to content

Commit

Permalink
[CI] Test WalkingOnPlaneWaypoint.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmurooka committed Nov 1, 2023
1 parent 4ba9f7e commit f1077cb
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ jobs:
mpc-method: PreviewControlZmp
mpc-framework: OpenLoopMpc
motion-type: WalkingOnStairs # WalkingOnPlane
- os: ubuntu-20.04
catkin-build: catkin
build-type: RelWithDebInfo
mc-rtc-version: head
compiler: gcc
mpc-method: PreviewControlZmp
mpc-framework: OpenLoopMpc
motion-type: WalkingOnPlaneWaypoint # WalkingOnPlane
- os: ubuntu-20.04
catkin-build: catkin
build-type: RelWithDebInfo
Expand All @@ -72,6 +80,14 @@ jobs:
mpc-method: PreviewControlZmp
mpc-framework: OpenLoopMpc
motion-type: WalkingOnStairs # WalkingOnPlane
- os: ubuntu-20.04
catkin-build: standalone # catkin
build-type: RelWithDebInfo
mc-rtc-version: head
compiler: gcc
mpc-method: PreviewControlZmp
mpc-framework: OpenLoopMpc
motion-type: WalkingOnPlaneWaypoint # WalkingOnPlane
- os: ubuntu-20.04
catkin-build: standalone # catkin
build-type: RelWithDebInfo
Expand Down Expand Up @@ -281,7 +297,7 @@ jobs:
roscore > /dev/null 2>&1 < /dev/null &
ROSCORE_PID=$!
sleep 1s
if [ "${{ matrix.motion-type }}" == "WalkingOnPlane" -o "${{ matrix.motion-type }}" == "WalkingOnPlaneVel" ]; then
if [ "${{ matrix.motion-type }}" == "WalkingOnPlane" -o "${{ matrix.motion-type }}" == "WalkingOnPlaneWaypoint" -o "${{ matrix.motion-type }}" == "WalkingOnPlaneVel" ]; then
CNOID_FILE=sim_mc.cnoid
else
CNOID_FILE=sim_mc_comanoid_staircase.cnoid
Expand Down Expand Up @@ -320,6 +336,8 @@ jobs:
EXPECTED_BASE_POS="1.34 -0.41 0.8"
elif [ "${{ matrix.motion-type }}" == "WalkingOnStairs" ]; then
EXPECTED_BASE_POS="1.75 0.0 1.68"
elif [ "${{ matrix.motion-type }}" == "WalkingOnPlaneWaypoint" ]; then
EXPECTED_BASE_POS="0.82 0.57 0.8"
elif [ "${{ matrix.motion-type }}" == "WalkingOnPlaneVel" ]; then
EXPECTED_BASE_POS="0.74 -0.53 0.8"
else # if [ "${{ matrix.motion-type }}" == "WalkingWithFootstepPlanner" ]; then
Expand Down

0 comments on commit f1077cb

Please sign in to comment.