-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
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": |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
added decision tree