Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add decision tree to Behavior README #302

Merged
merged 9 commits into from
Oct 17, 2023
Merged

Add decision tree to Behavior README #302

merged 9 commits into from
Oct 17, 2023

Conversation

scaredycode
Copy link
Collaborator

added decision tree

@scaredycode scaredycode changed the title Extend Behavior README Add decision tree to Behavior README Oct 16, 2023
@scaredycode scaredycode self-assigned this Oct 16, 2023
@scaredycode scaredycode added the documentation Improvements or additions to documentation label Oct 16, 2023
has no effect on functionality, other than getting rid of the possibility to get a fail when the 'stop' command is issued before a successful read, which is suboptimal and will be fixed here :)
@@ -369,24 +387,6 @@ def callback_command(self, command_msg):
rospy.logwarn('The audio preview is already playing.')
self.response_pub.publish('The audio preview is already playing.')

elif command_msg.behavior == "stop":
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you change this? @scaredycode

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To match the decision tree. It has no negative effects on the functionality. A positive effect is that we will no longer get the "No notes to play" Response for using the 'stop' command before a successful 'read'

Copy link
Collaborator

@yl-wang996 yl-wang996 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Flova Flova merged commit 93b4abb into main Oct 17, 2023
2 checks passed
@Flova Flova deleted the documentation/behavior branch October 17, 2023 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants