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

Revert Signal Fix 49d233f #67

Merged
merged 1 commit into from
Nov 10, 2015
Merged

Conversation

rethink-imcmahon
Copy link
Contributor

Reverts #64
This error:

 [ERROR] [WallTime: 1447099832.166541] bad callback: <bound method
 Gripper._on_gripper_state of <baxter_interface.gripper.Gripper object at
 0x7fc0b68d0710>>
 Traceback (most recent call last):
   File "/opt/ros/indigo/lib/python2.7/dist-packages/rospy/topics.py", line
 711, in _invoke_callback
     cb(msg)
   File
 "/data/users/qagroup/ros_ws/src/baxter_interface/src/baxter_interface/gripper.py",
 line 143, in _on_gripper_state
     self.on_moving_changed(state.moving == True)
   File
 "/data/users/qagroup/ros_ws/src/baxter_interface/src/baxter_dataflow/signals.py",
 line 43, in __call__
     for f in self._functions[:]:
 TypeError: 'WeakSet' object has no attribute '__getitem__'

Can be recreated by:

  1. init shell (either on robot or on workstation)
  2. enable robot
  3. launch keyboard control example ( 'rosrun baxter_examples
    joint_position_keyboard.py' )
  4. attempt to enable a gripper through keyboard control (left: '/' right:
    'b')
    a. noted output will be displayed
  5. close gripper through keyboard control (left: ',', right: 'c')
    a. noted output will be displayed
  6. open gripper through keyboard control (left: 'm', right: 'x')
    a. noted output will be displayed

rethink-imcmahon pushed a commit that referenced this pull request Nov 10, 2015
Revert Signal Fix 49d233f

Due to this error:
```
 [ERROR] [WallTime: 1447099832.166541] bad callback: <bound method
 Gripper._on_gripper_state of <baxter_interface.gripper.Gripper object at
 0x7fc0b68d0710>>
 Traceback (most recent call last):
   File "/opt/ros/indigo/lib/python2.7/dist-packages/rospy/topics.py", line
 711, in _invoke_callback
     cb(msg)
   File
 "/data/users/qagroup/ros_ws/src/baxter_interface/src/baxter_interface/gripper.py",
 line 143, in _on_gripper_state
     self.on_moving_changed(state.moving == True)
   File
 "/data/users/qagroup/ros_ws/src/baxter_interface/src/baxter_dataflow/signals.py",
 line 43, in __call__
     for f in self._functions[:]:
 TypeError: 'WeakSet' object has no attribute '__getitem__'
```
Can be recreated by:
 1. init shell (either on robot or on workstation)
 2. enable robot
 3. launch keyboard control example ( 'rosrun baxter_examples
 joint_position_keyboard.py' )
 4. attempt to enable a gripper through keyboard control (left: '/' right:
 'b')
    a. noted output will be displayed
 5. close gripper through keyboard control (left: ',', right: 'c')
    a. noted output will be displayed
 5. open gripper through keyboard control (left: 'm', right: 'x')
    a. noted output will be displayed
@rethink-imcmahon rethink-imcmahon merged commit 868a7a6 into development Nov 10, 2015
@rethink-imcmahon rethink-imcmahon deleted the revert-64-signals_fix branch December 18, 2015 16:38
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

Successfully merging this pull request may close these issues.

1 participant