ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

felix's profile - activity

2022-04-17 11:00:34 -0500 received badge  Famous Question (source)
2021-01-08 06:50:26 -0500 received badge  Notable Question (source)
2020-07-09 13:37:17 -0500 received badge  Popular Question (source)
2020-01-27 08:00:50 -0500 commented question ROS not calling callbacks fast enough

In simulation, my experience is that time/clock is managed by the simulator and you get a lot of overhead because of thi

2019-10-09 06:52:59 -0500 commented question rviz odometry plugin does not respect keep value

I think I see where my problem is coming from. I used the robot frame as "fixed frame", so in this frame, odometry diffe

2019-10-09 06:52:41 -0500 commented question rviz odometry plugin does not respect keep value

I think I see where my problem is coming from. I used the robot frame as "fixed frame", so in this frame, odometry diffe

2019-10-09 06:38:48 -0500 commented question rviz odometry plugin does not respect keep value

I think I see where my problem is coming from. I used the robot frame as "fixed frame", so in this frame, odometry diffe

2019-10-09 05:10:38 -0500 asked a question rviz odometry plugin does not respect keep value

rviz odometry plugin does not respect keep value It seems that if the frame in which the odometry is displayed is the sa

2016-05-16 00:46:34 -0500 received badge  Good Question (source)
2016-05-01 14:11:15 -0500 received badge  Nice Question (source)
2014-01-28 17:21:47 -0500 marked best answer PR2 stacks (and actions) under Diamondback

I was trying to get ahead of my colleagues and port my OpenPRS/PR2 library under Diamondback, but it looks like the PR2 stacks and actions have not yet been released under Diamondback. Can somebody confirm?

I did the Desktop-Full Install: (Recommended)

sudo apt-get install ros-diamondback-desktop-full

and include such as pr2_common_action_msgs/TuckArmsAction.h are nowhere to be found.

2014-01-28 17:21:40 -0500 marked best answer cancelGoal crashes if called before any goal has been sent...

cancelGoal crashes if called before one goal has been sent.

OpenPRS comes with ABSOLUTELY NO WARRANTY.
[ERROR] [1298889427.632366743]: Trying to cancelGoal() when no goal is running. You are incorrectly using SimpleActionClient
[ERROR] [1298889427.632673206]: Trying to cancel() on an inactive ClientGoalHandle. You are incorrectly using a ClientGoalHandle
Segmentation fault

if you send at least one goal, then it just reports the problem but keep running.

[ERROR] [1298889509.884434617]: BUG: Got a transition to CommState [PREEMPTING] when in SimpleGoalState [DONE]

Is this normal? should I fill a ticket?

(I know, it is stupid to cancel something which does not yet exist... but it should not crash.)

Just to add that cancelAllGoals behaves better and does not crash. It does not even report any error.

By the way, where are the source for these functions (cancelGoal and cancelAllGoals), I cannot find them in my ubuntu virtual box appliance.

2014-01-28 17:21:40 -0500 marked best answer Getting error code "string" from ArmNavigationErrorCodes for MoveArm action

The MoveArm action returns an error_code in its result:

more MoveArmResult.msg
#An error code reflecting what went wrong
motion_planning_msgs/ArmNavigationErrorCodes error_code

which I can access then with:

result->error_code.val;

is there a way to get a string (which is more meaningful than an int) from this error code? something like the ENUM defined here:

/opt/ros/cturtle/stacks/motion_planning_common/motion_planning_msgs/msg/ArmNavigationErrorCodes.msg

# overall behavior
int32 PLANNING_FAILED=-1
int32 SUCCESS=1
int32 TIMED_OUT=-2

# start state errors
int32 START_STATE_IN_COLLISION=-3
int32 START_STATE_VIOLATES_PATH_CONSTRAINTS=-4

Thanks in advance,

2013-08-01 04:02:04 -0500 received badge  Popular Question (source)
2013-08-01 04:02:04 -0500 received badge  Notable Question (source)
2013-08-01 04:02:04 -0500 received badge  Famous Question (source)
2013-01-09 11:22:49 -0500 received badge  Famous Question (source)
2013-01-09 11:22:49 -0500 received badge  Popular Question (source)
2013-01-09 11:22:49 -0500 received badge  Notable Question (source)
2012-11-08 00:02:38 -0500 received badge  Famous Question (source)
2012-11-08 00:02:38 -0500 received badge  Popular Question (source)
2012-11-08 00:02:38 -0500 received badge  Notable Question (source)
2012-09-19 03:00:49 -0500 received badge  Famous Question (source)
2012-09-19 03:00:49 -0500 received badge  Notable Question (source)
2012-08-10 07:30:40 -0500 received badge  Popular Question (source)
2011-04-25 14:14:57 -0500 marked best answer Action server with more than one action...

I find the notion of action server "limited" to one goal rather restrictive... Is it possible to have a process with more than one action server?

There is a difference between limitation to one goal and limitation to one action server.

  • There is no limit to how many action servers a node can have. It is perfectly possible to have one ROS node with multiple action servers; just pass them different topic names on creation.
  • Each SimpleActionServer is limited to one goal; whenever there is a new incoming goal, the currently pending goal is cancelled. This behaviour is a simplification of the actionlib API which catches most use cases.
  • If you want to have a more sophisticated handling of goals, you are free to do so using the actionlib API directly (without the SimpleActionServer). You could have multiple goals executing in parallel, queue goals, and generally do whatever you want.

Just a side remark: if you have separate functionalities which you would ordinarily implement as separate ROS nodes, but which have to run in the same process for technical reasons, you could consider implementing them as nodelets.

2011-04-19 19:19:51 -0500 asked a question Action server with more than one action...

I find the notion of action server "limited" to one goal rather restrictive... Is it possible to have a process with more than one action server?

For example, imagine that your have a process handling a particular "functionality" on your robot, and you want this process to handle different types of action goals (which need to execute in the same memory space). Could it be possible to define multiple action server in this process, or there will be some problems (such as reentrance, etc).

Of course, you could define a "meta" goal and use one of its arguments to define which underlying action/goal to execute.

2011-03-17 08:36:20 -0500 received badge  Nice Question (source)
2011-03-17 01:21:43 -0500 answered a question PR2 stacks (and actions) under Diamondback

Thanks found them.

Just a side question... any particular reason to get WG PR2 Desktop for non WG people? I could not figure out what are the additional packages/stacks in it.

2011-03-16 08:13:04 -0500 marked best answer PR2 stacks (and actions) under Diamondback

Please follow the PR2-specific instructions for installing Diamondback:

http://www.ros.org/wiki/Robots/PR2/diamondback

Installation page for specific robots are linked off the ROS installation page:

http://www.ros.org/wiki/ROS/Installation

(5 robots and counting).

If you're really curious as to what a particular variant contains, you should look at REP 108 for the common entry point descriptions. If you're really, really curious, you can look at the rosinstall file for that variant:

http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=diamondback&variant=desktop-full&overlay=no