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

Ugo's profile - activity

2020-09-12 20:07:37 -0500 received badge  Great Answer (source)
2018-10-17 23:12:39 -0500 marked best answer point cloud "box" filtering

I just wanted to know if a package doing a "box" filtering already exists. I'd just like to limit the field of view of the Kinect, by removing everything that's not in a given box. I googled a bit and couldn't find an already implemented solution.

If it doesn't exist, I guess I can create a node and use the passthrough filter, but I thought it would already be implemented.

2018-10-17 23:12:39 -0500 received badge  Nice Answer (source)
2018-08-14 07:20:15 -0500 marked best answer BRIDE compile error talkerConfig.h not found

After the great talk during ROSCon, I tried to create a node using BRIDE. The creation of the node went well, I generated the C++ code using BRIDE->ROS->Generate C++ code and it worked fine.

The problem I'm having is that when building the project, I get the following error:

11:15:39 **** Incremental Build of configuration Debug for project sr_talker ****
make all 
make: Warning: File `build/CMakeFiles/CompilerIdC/subdir.mk' has modification time 92 s in the future
Building file: ../ros/src/sr_talker_ros.cpp
Invoking: GCC C++ Compiler
g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"ros/src/sr_talker_ros.d" -MT"ros/src/sr_talker_ros.d" -o "ros/src/sr_talker_ros.o" "../ros/src/sr_talker_ros.cpp"
../ros/src/sr_talker_ros.cpp:5:39: fatal error: sr_talker/sr_talkerConfig.h: No such file or directory
compilation terminated.
make: *** [ros/src/sr_talker_ros.o] Error 1

11:15:41 Build Finished (took 1s.313ms)

As you can see, the sr_talkerConfig.h doesn't seem to be generated during compile. Looking in the console from which I started eclipse (rosrun bride eclipse) I get the following error message:

java.lang.UnsatisfiedLinkError: no spawner in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860)
at java.lang.Runtime.loadLibrary0(Runtime.java:845)
at java.lang.System.loadLibrary(System.java:1084)
at org.eclipse.cdt.utils.spawner.ProcessFactory.<init>(ProcessFactory.java:39)
at org.eclipse.cdt.utils.spawner.ProcessFactory.getFactory(ProcessFactory.java:51)
at org.eclipse.cdt.core.CommandLauncher.execute(CommandLauncher.java:189)
at org.eclipse.cdt.internal.core.BuildRunnerHelper.build(BuildRunnerHelper.java:238)
at org.eclipse.cdt.managedbuilder.core.ExternalBuildRunner.invokeExternalBuild(ExternalBuildRunner.java:128)
at org.eclipse.cdt.managedbuilder.core.ExternalBuildRunner.invokeBuild(ExternalBuildRunner.java:72)
at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:753)
at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:510)
at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:459)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:726)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
at org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:513)
at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:422)
at org.eclipse.ui.actions.GlobalBuildAction$1.run(GlobalBuildAction.java:180)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

I'm running ubuntu 12.04 64bits. Tried both the default install (sudo apt-get install ros-groovy-bride) and the source install. Also tried different versions of java, just in case. Any idea?

2018-07-11 04:40:37 -0500 received badge  Nice Question (source)
2018-04-24 08:42:04 -0500 marked best answer Simulated kinect rotation around X [bug?]

Hi,

In our robot, the Kinect can be mounted on the side of the arm, as shown in the screenshot below. When running the simulation in Fuerte, I found this weird behaviour. As you can observe on the image, the point cloud does not match the robot model (we see a partial image of the hand/arm at the bottom left of the screenshot, which should be on the robot model).

Rotate Kinect

As soon as I rotate the kinect against its X axis (so that the kinect is horizontal as you can see on the second screenshot), then the point cloud and robot model are aligned properly.

Horizontal Kinect

The kinect xacro and dae are the one from the turtlebot. I'm simply attaching them with a rotation:

<joint name="base_camera_joint" type="fixed">
  <origin  xyz="0.01216 0.1713 0.433"
       rpy="-${M_PI/2} ${M_PI/4} -${M_PI/12}" /> 
  <!-- This -pi/2 in origin rpy is the offending parameter -->

  <parent link="shadowarm_trunk"/>
  <child link="camera_link" />
</joint>

The code can be seen on github.

Any help is greatly appreciated!

2018-04-24 08:42:04 -0500 received badge  Good Answer (source)
2017-04-30 06:03:38 -0500 received badge  Great Answer (source)
2016-10-24 11:02:48 -0500 received badge  Good Answer (source)
2016-06-13 12:28:10 -0500 received badge  Good Answer (source)
2016-03-14 05:05:25 -0500 received badge  Nice Answer (source)
2016-03-03 09:29:20 -0500 marked best answer set revolute joint start angle

I'd like to know if it's possible to set a start angle which is not 0 directly in the urdf.

By default on our arm, when all the joints are at 0, the arm is pointing down (through the floor if you import it directly in Gazebo, without attaching it to a table). It would be better if I could specify default values for the joint angles.

2016-01-26 00:32:07 -0500 commented answer table top segmentation from kinect

That is strange, the link to the wiki above works for me. It's not a link to the code directly though, it's a wiki. Let me know if you can access it?

2016-01-06 08:50:29 -0500 received badge  Great Answer (source)
2016-01-06 08:50:29 -0500 received badge  Guru (source)
2016-01-05 09:27:45 -0500 commented answer table top segmentation from kinect

the tutorial in my answer is really old. You should probably take a look at this: http://wg-perception.github.io/tabletop

2015-11-02 09:31:49 -0500 received badge  Great Question (source)
2015-05-28 10:51:37 -0500 marked best answer tf::TransformListener lookupTransform time error

Hi,

I'm trying to listen to a transform using a tf::TransformListener, but I get the following error:

[ERROR] [1320937607.066118093]: Exception thrown while processing service call: 
Lookup would require extrapolation at time 1320937602.045533235, 
but only time 1320937602.055791850 is in the buffer, 
when looking up transform from frame [/base_link] to frame [/mid_obj_preg_0]

I don't understand why I'm getting this error: if you look at the 2 time stamps, they're very close, and I initialized my tf_listener with a big buffer of 60seconds.

I also ran the view frames, and you can see that there's a transform from /base_link to /mid_obj_preg_0. Frames

The transforms from /camera_rgb_optical_frame to /mid_obj_preg_0 are published by the same tf::TransformBroadcaster. Should I be using one broadcaster per transform?

2015-05-19 13:11:55 -0500 received badge  Notable Question (source)
2015-04-22 00:20:02 -0500 commented answer How to publish ROS program?

Sorry for the long delay in answering. If you're still looking for a shell script solution we have something like this ( https://github.com/shadow-robot/sr-bu... ). You'll need to modify it to reflect your install obviously. Cheers

2015-04-22 00:17:43 -0500 commented answer Using Orocos-BFL in ROS

Hi. You should add it to the CMakeLists.txt who uses orocos-bfl. Cheers

2015-04-10 07:30:32 -0500 received badge  Famous Question (source)
2015-03-30 02:18:52 -0500 received badge  Good Answer (source)
2015-03-09 07:07:18 -0500 answered a question Cannot find controller

Dear Nikitas,

This controller is unfortunately deprecated and we haven't had time to update to the new Joint Trajectory Action Controller yet. I reported the issue here. Pull requests are always appreciated :).

It is still possible to use the simulated arm and hand using direct position targets through the relevant topics as is.

Cheers,

Ugo

2015-02-28 14:40:16 -0500 received badge  Good Answer (source)
2015-01-07 12:50:04 -0500 received badge  Nice Answer (source)
2014-12-08 09:30:51 -0500 received badge  Taxonomist
2014-11-27 03:44:27 -0500 answered a question How to publish ROS program?

There are no "one click install" for ROS as far as I know. You could always send a virtual machine or look at solutions like ansible. We have some ansible configs available here if you're interested. It's a work in progress, mostly for internal use so it's not fully documented but it should hopefully help you get started.

2014-10-31 13:52:03 -0500 received badge  Popular Question (source)
2014-09-05 02:00:24 -0500 received badge  Notable Question (source)
2014-09-04 00:55:54 -0500 commented answer Add postinstall rule for deb package creation

Thanks for the clarification William!

2014-09-03 16:05:44 -0500 received badge  Nice Question (source)
2014-09-03 16:05:42 -0500 received badge  Popular Question (source)
2014-09-03 14:27:26 -0500 commented answer Add postinstall rule for deb package creation

great thanks

2014-09-03 03:32:00 -0500 asked a question Add postinstall rule for deb package creation

I'm trying to get a fork of the pr2-grant released for our ros_ethercat package as we find it very useful. In the pr2 repo, there were some post-install rules to set the sticky bit of pr2-grant.

Is there a way to do this with catkin / bloom?

Below is the debian/postinst rule

#!/bin/sh
set -e
PKG=pr2-grant
case "$1" in
 configure)
   chown root.root /usr/bin/pr2_grant
   chmod +s /usr/bin/pr2_grant
   chown root.root /usr/bin/pr2-grant
   chmod +s /usr/bin/pr2-grant
   ;;
 *)
       echo "postinst called with unknown argument \`$1'" >&2
       exit 0
   ;;   
esac
#DEBHELPER#

Thanks in advance!

2014-08-13 11:39:54 -0500 received badge  Nice Answer (source)
2014-08-13 02:24:13 -0500 commented answer Cannot find out arm_control_msgs

You'll have at least to integrate your robot with moveit (if it's not done already by someone else). Then it shouldn't too much trouble to adapt your code (just changing the message type might work, not exactly sure of what you're doing).

2014-08-13 02:20:41 -0500 commented answer Robot in Rviz flashes..

great, can you accept the answer to close the thread?

2014-08-12 08:19:03 -0500 answered a question Robot in Rviz flashes..

This might be due to a bad tf issue (if you have 2 different parent for the robot for example). Can you make sure the published tf are OK?

rosrun tf view_frames    # then look at the generated frames.pdf
roswtf                   # might also tell you if there's an issue with the tf tree.
2014-08-12 06:53:39 -0500 answered a question BFL - bind variables

from Enrico on BFL mailing list

This is a constrained optimization problem. I am afraid there is no "clean" way of doing this. If the state variables are defined by Gaussian pdfs, than by definition those span an infinite support.

You could try to make variables outside of the joint limits "highly unlikely" by filtering your measurements, and rejecting those outside a validation area, or carefully defining Process noise and Measurement Noise Covariance Matrices, but if you really want to use constraints, that you're actually solving an Estimation + Constrained Optimization problem, and you'll need different tools for that.

2014-08-12 04:12:22 -0500 answered a question Cannot find out arm_control_msgs

If I'm not mistaken this has now been replaced by moveit. It should be easy enough to migrate to use moveit, there are extensive tutorials on their website.

Hope this helps.

2014-08-11 08:41:17 -0500 asked a question BFL - bind variables

We're trying to use a Bayesian Filter to do some sensor fusion for estimating the joints positions on a joint based robot. For this we're using the BFL library as is done in the robot-pose-ekf package.

We now have two versions of the same filter (one using ExtendedKalmanFilter, the other one a particle filter: BootstrapFilter) that converges but haven't yet found a way of binding the BFL state representation variables. In our case, we'd like to make sure that each variable of the state stays within the joint limits.

Feel free to ask for more details as I'm not exactly sure what is most relevant.