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

Object learning does not service preempt in LEARN_MODEL state #104

Open
hawesie opened this issue May 5, 2016 · 1 comment
Open

Object learning does not service preempt in LEARN_MODEL state #104

hawesie opened this issue May 5, 2016 · 1 comment

Comments

@hawesie
Copy link
Member

hawesie commented May 5, 2016

^[[INFO] [WallTime: 1462437864.835321] Preempt on state machine requested!                                                                                                                                     │·····
[ERROR] [WallTime: 1462437864.836312] Failed to preempt contained state 'LEARN_MODEL': Traceback (most recent call last):                                                                                      │·····
  File "/opt/ros/indigo/lib/python2.7/dist-packages/smach/state_machine.py", line 396, in _preempt_current_state                                                                                               │·····
    self._preempted_state.request_preempt()                                                                                                                                                                    │·····
  File "/opt/ros/indigo/lib/python2.7/dist-packages/smach/state_machine.py", line 375, in request_preempt                                                                                                      │·····
    with self._state_transitioning_lock:                                                                                                                                                                       │·····
AttributeError: 'LearnObjectModel' object has no attribute '_state_transitioning_lock'    
@RaresAmbrus
Copy link
Member

@hawesie as far as I know, the metric mapping action server is preemptable, but I'm not sure about the others. I think the whole action is "cancelable", but maybe not preemptable. If you think it could be an issue I can take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants