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

rfn123's profile - activity

2022-12-10 07:45:18 -0500 received badge  Famous Question (source)
2022-12-10 07:45:18 -0500 received badge  Notable Question (source)
2022-11-17 02:56:52 -0500 marked best answer How to get list of all tf frames programatically?

Hi all,

I have a question on how to obtain tf frames in a ros node (preferrably Python). I am aware of the method tf2_ros.Buffer.lookup_transform(), however, one has to specify source and target frame for that.

Lets say I have an array of known markers, but only a subset of them are detected by the camera. I want to know which of these markers are detected by looking at the existing tf frames. Is there a more elegant way to do so instead of looping over all possible markers and try to lookup the transform in a try catch block?

Thanks in advance!

P.S I am using kinetic on Ubuntu 16.04


EDIT:
In the tutorial TfUsingPython I found the method allFramesAsString() but it seems to use tf, not tf2. would there be an equivalence in tf2? Or is it generally a bad practice to mix the use of tf and tf2?

2022-07-06 21:44:14 -0500 received badge  Nice Answer (source)
2021-07-19 01:39:38 -0500 received badge  Famous Question (source)
2020-12-23 09:12:30 -0500 received badge  Notable Question (source)
2020-12-03 02:48:22 -0500 received badge  Popular Question (source)
2020-11-27 08:19:07 -0500 marked best answer Do multiple convex collision instances in URDF increase performance?

The documentation of the URDF says: " Note: multiple instances of <collision> tags can exist for the same link. The union of the geometry they define forms the collision representation of the link."

I was wondering how the collision check (e.g. in Moveit) will be performed. Let's say I do a convex decomposition on the mesh of a link and include the convex component in seperate collision instances. Would this increase the performance compared to the case where I put the convex components in a single file and thus a single collision instance? Will the collision checker first check whether the specified mesh is convex and then check for collisions or does the collision checker first combines the convex components and then does the collision check? In the latter case the combined shape is not necessarily convex anymore and thus more computation heavy to check.

Thanks!

2020-11-27 07:53:33 -0500 marked best answer Can't use slidebar of joint_state_publisher window in Rviz

I've created a xacro file for my robot arm and successfully visualized it in Rviz with the display.launch launchfile from the urdf_tutorials package. However, i can't slide left or right with the slidebar to control the joint movements in the joint_state_publisher GUI window, the only thing I can click is the randomize button below the slide bars. The robot is then moving accordingly, so I think there is no problem with my xacro file.

I have to mention though that I haven't included collision and inertia tags in the xacro file yet, could this be the reason?

Can anyone tell me why I can't use those slidebars, or how I can fix this problem? Thanks a lot!! :)

2020-11-27 07:52:44 -0500 marked best answer How to use UR3 with JointGroupPositionController?

So the background is that I want to use the moveit_servo package with a real UR3.

I have some questions regarding implementation of the JointGroupPositionController and the UR drivers:

1) The github page of ur_modern_driver states that the package is deprecated, and the new release is ur_robot_driver. However, I have UR software version 3.4 and the new driver only supports versions >=3.7. Is it correct that I still have to use ur_modern_driver then?

2) Is it in general possible to control the UR3 with a JointGroupPositionController? If yes, how? Do I need a hardware_interface for this or can I use the existing one in the ur_robot_driver package just with a new config file?

I am using Ubuntu 18.04 with ROS melodic.

2020-11-27 07:52:39 -0500 received badge  Famous Question (source)
2020-11-27 07:50:08 -0500 asked a question Do multiple convex collision instances in URDF increase performance?

Do multiple convex collision instances in URDF increase performance? The documentation of the URDF says: " Note: multipl

2020-08-28 10:21:56 -0500 commented answer Issue with message_filters and rospy.spin() not running

You defined cv2.waitKey() without parameter, this means it blocks the process and will wait indefinitely for a key press

2020-08-28 10:18:20 -0500 commented question image_saver and image_viewer have different images.

Could also be because your depth image is saved in 16 bit (16UC1), thus the range is 0-65535. This would explain why you

2020-08-27 12:08:19 -0500 commented question Image to Pointcloud 1-1 correspondence

Are you only computing the distance (I.e. Depth) to the object or the 6D pose of the object with respect to the camera f

2020-08-27 08:46:54 -0500 commented question Image to Pointcloud 1-1 correspondence

Are you using an RGBD camera? One thing is not quite clear to me: if the point cloud gets rotated with the camera, why i

2020-08-27 04:27:01 -0500 commented question Issue with message_filters and rospy.spin() not running

rospy.spin() is needed because without it the callbacks will never get called. Did you verify e.g. with rostopic echo th

2020-08-27 03:54:33 -0500 commented question image_saver and image_viewer have different images.

This might be a problem of the image being float (range 0-1) or int (0-255). It looks like you have to convert the image

2020-08-27 03:49:34 -0500 commented question Issue with message_filters and rospy.spin() not running

How do you determine that info_sub does not subscribe anything? I my opinion stopping at rospy.spin() is actually the no

2020-08-26 11:28:01 -0500 received badge  Self-Learner (source)
2020-08-24 07:47:20 -0500 received badge  Rapid Responder (source)
2020-08-24 07:47:20 -0500 answered a question raw images topic output with colour contrast

ROS itself does not provide image processing capabilities, what you could do is to use OpenCV to process the image, then

2020-08-19 04:37:38 -0500 edited answer Issue with subscriber launch

EDIT: as corrected by @gvdhoorn The syntax for running a launchfile is roslaunch <package_name> <launchfil

2020-08-19 03:46:05 -0500 edited answer Issue with subscriber launch

The correct syntax for running a launchfile is roslaunch <package_name> <launchfile_name> You have to a

2020-08-19 03:45:35 -0500 answered a question Issue with subscriber launch

The correct syntax for running a launchfile is roslaunch <package_name> <launchfile_name> You have to add

2020-08-19 03:45:35 -0500 received badge  Rapid Responder (source)
2020-08-19 03:38:45 -0500 commented question what's the lower and upper limit for a floating joint in urdf?

I am not sure what your ROS version/ exact use case is, but maybe it is useful to keep in mind that floating joints are

2020-08-17 13:13:08 -0500 edited answer Apriltag_ros 'no image received'

EDIT: apriltag_ros requires the /camera_info topic to be published. You need a bagfile with that topic in it. ========

2020-08-17 13:10:00 -0500 commented answer Apriltag_ros 'no image received'

When looking at the ROS wiki for apriltag_ros, I see that the camera_info topic is required. You probably have to record

2020-08-17 13:06:32 -0500 commented answer Apriltag_ros 'no image received'

when you do rostopic echo /usb_cam/image_raw , is it empty while playing the rosbag?

2020-08-17 12:22:21 -0500 answered a question Apriltag_ros 'no image received'

So this did not fit into the comments section: The error in your question occurs when no image is published to the sub

2020-08-17 12:06:43 -0500 commented question Apriltag_ros 'no image received'

Ok, then we make it the other way round: we want to change the topic name where april tag node subscribes to. Which laun

2020-08-17 10:37:21 -0500 commented question Apriltag_ros 'no image received'

Then you can try to put it in a separate launchfile which you will launch when the rosbag plays

2020-08-17 10:07:21 -0500 commented question Apriltag_ros 'no image received'

try adding <node ns="usb_cam" name="image_proc" pkg="image_proc" type="image_proc"/> in your camera launch file

2020-08-17 08:44:07 -0500 commented question Apriltag_ros 'no image received'

@Davide_970 have a look at image_proc

2020-08-17 05:33:54 -0500 commented question Apriltag_ros 'no image received'

which image topic are you publishing to? Is this consistent with the topic the april tag node is subscribing to? Are the

2020-08-17 05:33:28 -0500 commented question Apriltag_ros 'no image received'

which image topic are you publishing to? Is this consistent with the topic the april tag node is subscribing to? Are the

2020-08-17 04:40:27 -0500 received badge  Notable Question (source)
2020-08-12 18:06:16 -0500 edited answer ros kinetic on raspberry pi 4

Hi, checkout this tutorial. I think the easiest way to use ROS on a raspberry pi is to install ubuntu on it. Like this

2020-08-12 18:04:07 -0500 edited answer ros kinetic on raspberry pi 4

Hi, checkout this tutorial. I think the easiest way to use ROS on a raspberry pi is to install ubuntu on it. Like this

2020-08-12 18:03:55 -0500 received badge  Rapid Responder (source)
2020-08-12 18:03:55 -0500 answered a question ros kinetic on raspberry pi 4

Hi, checkout this tutorial. I think the easiest way to use ROS on a raspberry pi is to install ubuntu on it. Like this

2020-08-12 04:27:22 -0500 commented question How to find template on LaserScan?

can you be more specific? Like do you have a 3D or 2D laser scanner?

2020-08-12 04:22:20 -0500 commented question nav_msgs/Odometry to tf2_msgs/TFMessage

What exactly do you want to publish to /tf? The pose of the robot or also the robot structure? For the latter you need t

2020-08-12 04:07:56 -0500 commented question How to find template on LaserScan?

If you want object detection with point clouds maybe you should look into PCL (Point cloud library)...I found this packa

2020-08-12 00:13:10 -0500 received badge  Popular Question (source)
2020-08-11 12:00:18 -0500 edited question How to use UR3 with JointGroupPositionController?

How to use UR3 with JointGroupPositionController? So the background is that I want to use the moveit_servo package with

2020-08-11 09:53:16 -0500 asked a question How to use UR3 with JointGroupPositionController?

How to use UR3 with JointGroupPositionController? So the background is that I want to use the moveit_servo package with

2020-08-11 09:36:16 -0500 commented answer I am getting while launching my turtlebot pn RVIZ

I am not sure if the urdf included in your link is the actual one you are using, but from the commented parts I see that