Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
fireblonde committed Jul 12, 2024
1 parent 1948430 commit b2b8aa8
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions tasks/carry_my_luggage/src/carry_my_luggage/state_machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ def wait_cb(ud, msg):
"SAY_BAG",
Say(format_str="I need you to give me the bag on your {}."),
transitions={
# "succeeded": "CLEAR_COSTMAPS",
"succeeded": "START_HEAD_MANAGER",
"aborted": "failed",
"preempted": "failed",
Expand Down Expand Up @@ -204,22 +203,22 @@ def wait_cb(ud, msg):
"preempted": "failed",
},
)
# smach.StateMachine.add(
# "INITIALISE_PERSON_TRACK",
# smach_ros.ServiceState(
# "/cml/initialise_person_with_vision",
# InitialisePersonWithVision,
# request_cb=lambda ud, req: InitialisePersonWithVisionRequest(
# point=ud.person_point,
# ),
# input_keys=["person_point"],
# ),
# transitions={
# "succeeded": "FOLLOW",
# "aborted": "FOLLOW",
# "preempted": "FOLLOW",
# },
# )
smach.StateMachine.add(
"INITIALISE_PERSON_TRACK",
smach_ros.ServiceState(
"/cml/initialise_person_with_vision",
InitialisePersonWithVision,
request_cb=lambda ud, req: InitialisePersonWithVisionRequest(
point=ud.person_point,
),
input_keys=["person_point"],
),
transitions={
"succeeded": "FOLLOW",
"aborted": "FOLLOW",
"preempted": "FOLLOW",
},
)

smach.StateMachine.add(
"FOLLOW",
Expand All @@ -228,7 +227,6 @@ def wait_cb(ud, msg):
FollowAction,
),
transitions={
# "succeeded": "succeeded",
"succeeded": "SAY_HANDOVER",
"aborted": "failed",
"preempted": "failed",
Expand Down

0 comments on commit b2b8aa8

Please sign in to comment.