GithubHelp home page GithubHelp logo

pr2_common_actions's People

Contributors

ahendrix avatar arne48 avatar k-okada avatar lindzey avatar lopsided98 avatar mintar avatar theclearpathdash avatar thedash avatar v4hn avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pr2_common_actions's Issues

pr2_tuck_arms_action doesn't abort on failure (ros ticket #5058)

{{{tuck_arms_main.py:183}}} refers to attributes {{{left}}} and {{{right}}} that don't exist:

{{{
rospy.logerr("Tuck or untuck arms FAILED: %d %d"%(result.left, result.right))
}}}

Traceback:

{{{
Exception in your execute callback: 'TuckArmsResult' object has no attribute 'left'
Traceback (most recent call last):
File "/opt/ros/diamondback/stacks/common/actionlib/src/actionlib/simple_action_server.py", line 294, in executeLoop
self.execute_callback(goal)
File "/opt/ros/diamondback/stacks/pr2_common_actions/pr2_tuck_arms_action/src/pr2_tuck_arms_action/tuck_arms_main.py", line 183, in executeCB
rospy.logerr("Tuck or untuck arms FAILED: %d %d"%(result.left, result.right))
AttributeError: 'TuckArmsResult' object has no attribute 'left'
}}}

trac data:

pr2_common_actions is missing dependency on laser_scan_geometry (ros ticket #4681)

In trunk, pr2_tilt_laser_interface needs laser_scan_geometry:

{{{
[rosbuild] Building package pr2_tilt_laser_interface
Failed to invoke /opt/ros/cturtle/ros/bin/rospack deps-manifests pr2_tilt_laser_interface
[rospack] couldn't find dependency [laser_scan_geometry] of [
{{{
pr2_tilt_laser_interface
}}}

See http://build.willowgarage.com/view/cturtle_stack_devel/job/auto_stack_devel_cturtle_pr2_common_actions_lucid_amd64/1/ for more details.
]
[rospack] missing dependency
}}}

trac data:

Get pr2_common_actions ready for release in C-turtle (ros ticket #4389)

Stack should include:

  • joint_trajectory_generator
  • pr2_arm_ik_action
  • pr2_tuck_arms_action
  • pr2_tilt_laser_profile
  • pr2_common_action_msgs
  • pr2_switch_controllers

To move into this stack:

  • stereo_wall_detection from pr2_plugs (when ported to PCL)

To remove:

  • pr2_switch_controllers (better to create action-based spawner interface in pr2_controller_manager).

What to do with?

  • joint_trajectory_action_tools

trac data:

Tuck arms script crashes in dturtle/unstable (ros ticket #4955)

Using common 1.3.1, pr2_common_actions 0.3.2

{{{
[ERROR] [WallTime: 1294688920.745819] [35.715000] Exception in your execute callback: 'TuckArmsResult' object has no attribute 'left'
Traceback (most recent call last):
File "/opt/ros/unstable/stacks/common/actionlib/src/actionlib/simple_action_server.py", line 326, in executeLoop
self.execute_callback(goal)
File "/opt/ros/unstable/stacks/pr2_common_actions/pr2_tuck_arms_action/src/pr2_tuck_arms_action/tuck_arms_main.py", line 183, in executeCB
rospy.logerr("Tuck or untuck arms FAILED: %d %d"%(result.left, result.right))
AttributeError: 'TuckArmsResult' object has no attribute 'left'

}}}

trac data:

PR2 tuck arms action fails when sent multiple goals in quick succession (ros ticket #5092)

The PR2 tuck arms action can't handle multiple goals if they are separated by less than a second or so. If multiple goals are received, the PR2 arms lock up, and don't respond for about 30 seconds.

The SimpleActionServer probably needs to be changed to an ActionServer. If a goal is received while the arms are tucking, only the new goal should be honored. If the goal is the same, (ex: someone sends tuck command twice), it should be ignored.

trac data:

IK action's error messages aren't helpful (ros ticket #4911)

I'm trying to send an IK goal using the IK action, and I get this on rosout:

{{{
/r_arm_ik_action: Aborted: IK invalid
}}}

What should I change about my goal? The goal looks like this:

{{{
pose:
header:
seq: 0
stamp:
secs: 1290474914
nsecs: 120568037
frame_id: torso_lift_link
pose:
position:
x: 0.6
y: 0.6
z: 0.1
orientation:
x: 0
y: 0
z: 0
w: 1
tool_frame:
header:
seq: 0
stamp:
secs: 0
nsecs: 0
frame_id: ''
pose:
position:
x: 0.0
y: 0.0
z: 0.0
orientation:
x: 0.0
y: 0.0
z: 0.0
w: 0.0
ik_seed:
header:
seq: 0
stamp:
secs: 0
nsecs: 0
frame_id: ''
name: ['r_shoulder_pan_joint', 'r_shoulder_lift_joint', 'r_upper_arm_roll_joint', 'r_elbow_flex_joint', 'r_forearm_roll_joint', 'r_wrist_flex_joint', 'r_wrist_roll_joint']
position: [-1.1200000000000001, -0.0, -1.5707963267948966, -2.0, 3.96, -0.66000000000000003, 13.32]
velocity: []
effort: []
ik_timeout:
secs: 0
nsecs: 0
move_duration:
secs: 3
nsecs: 0
}}}

trac data:

PR2 tuck arms fails in simulation, diamondback (ros ticket #5079)

This looks like a fairly straightforward problem with tuck arms. I think a message field name changed or something.

{{{

[ERROR] [WallTime: 1300313930.427826] [1.013000] Exception in your execute callback: 'TuckArmsResult' object has no attribute 'left'
Traceback (most recent call last):
File "/opt/ros/diamondback/stacks/common/actionlib/src/actionlib/simple_action_server.py", line 294, in executeLoop
self.execute_callback(goal)
File "/wg/stor5_home4/watts/ros_heaphy/pr2_common_actions/pr2_tuck_arms_action/src/pr2_tuck_arms_action/tuck_arms_main.py", line 183, in executeCB
rospy.logerr("Tuck or untuck arms FAILED: %d %d"%(result.left, result.right))
AttributeError: 'TuckArmsResult' object has no attribute 'left'
}}}

trac data:

tuck_arms.py fails to exit when requested (ros ticket #4504)

In learning ROS I noticed that tuck_arms.py doesn't seem to exit correctly when it should, either on an error condition or when quit_when_finished is true.

I've attached a diff for a modified version that calls rospy.signal_shutdown() instead of exit and appears to work correctly.

In the process I also added a usage() function to help newcomers understand how to use it.

Hope this might be helpful.

trac data:

tuck_arms_main.py doesn't work properly

This script is used by the tuck_arm app, and that app calls the main function of the script, assuming it will tuck the arms (https://github.com/PR2/pr2_apps/blob/hydro-devel/pr2_tuckarm/scripts/tuck_arms.py) - that's the way it was in Groovy. The most recent version of tuck_arms_main.py, however, only launches the server, and doesn't actually do anything. I'm not sure if this is a bug here or there, but I'm inclined to think here, because in Groovy it used to work, and the pr2_apps didn't change anything.

In short, tucking arms from the command line doesn't work in Hydro at all, which is frustrating - the only way to tuck arms is to write your own script.

tuck_arms_main.py calls main() before defining it (ros ticket #5184)

Can be trivially fixed by moving definition of {{{main()}}} before
{{{if name == 'main'}}}.

Workaround is to use {{{pr2_tuckarm}}} instead of {{{pr2_tuck_arms_action}}}.

How to reproduce:

{{{
$ rosrun pr2_tuck_arms_action tuck_arms_main.py

Traceback (most recent call last):
File "/opt/ros/electric/stacks/pr2_common_actions/pr2_tuck_arms_action/src/pr2_tuck_arms_action/tuck_arms_main.py", line 276, in
main()
NameError: name 'main' is not defined
}}}

trac data:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.