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

raahlb's profile - activity

2022-07-07 11:19:10 -0500 received badge  Nice Question (source)
2021-06-30 05:25:58 -0500 received badge  Good Answer (source)
2020-03-12 21:32:59 -0500 received badge  Good Answer (source)
2019-12-26 12:10:06 -0500 received badge  Nice Answer (source)
2018-01-31 11:15:26 -0500 received badge  Nice Answer (source)
2016-07-28 17:18:05 -0500 received badge  Good Answer (source)
2015-10-21 03:42:02 -0500 received badge  Nice Answer (source)
2014-12-12 10:44:49 -0500 received badge  Taxonomist
2014-07-22 14:59:47 -0500 received badge  Necromancer (source)
2014-01-28 17:27:18 -0500 marked best answer Cropped/displaced camera view in rviz (gscam)

I'm using gscam to stream the view from a USB camera. However, when viewing it in an rviz camera display only a cropped view is shown. It seems like the view is displaced by half the view size to the right and down, so only a quarter of the view is shown. When using image_view everything looks fine. Does anyone know what is causing this problem?

According to mplayer the camera image's resolution is 640x480.

I'm using the default camera_parameters.txt:

# Camera intrinsics

[image]

width
640

height
480

[default]

camera matrix
1.00000 0.00000 1.00000 
0.00000 1.00000 1.00000
0.00000 0.00000 1.00000 

distortion
0.00000 0.00000 0.00000 0.00000 0.00000 


rectification
1.00000 0.00000 0.00000 
0.00000 1.00000 0.00000 
0.00000 0.00000 1.00000 

projection
1.00000 0.00000 1.00000 0.00000 
0.00000 1.00000 1.00000 0.00000 
0.00000 0.00000 1.00000 0.00000 

and this is my GSCAM_CONFIG:

v4l2src device=/dev/video0 ! video/x-raw-rgb, width=640, height=480, framerate=30/1 ! ffmpegcolorspace ! identity name=ros ! fakesink"
2014-01-28 17:23:20 -0500 marked best answer Using GPL licensed packages in a commercial product

Hi, Using a GPL licensed package in a commercial product should not be a problem, right? It ought not force us to release all our own software in the product under the GPL? As long as we're not linking directly towards the package, but rather just send or receive messages from it, that is.

If I understand it correctly, if we use a secret message format that we don't explain to anyone we could get into trouble. But now it's just a Scan message. It should be fine, shouldn't it?

We will still have to distribute the source code of the GPL'ed package of course, if requested too.

Regards, Rasmus Ahlberg

2013-03-29 08:41:40 -0500 marked best answer Problems with laser_scan_mather sliding in dead-ends

Hi,

I'm using laser_scan_matcher to provide a /odom frame. I understand there are some situations where it will perform very badly, for example in a corridor, as it can be hard for it to detect the forward motion. But, I also have problems with it not being able to detect the forward motion when in a dead-end corridor.

To me, it seems like a dead-end corridor would be a perfect situation: the side walls will be used for detecting rotations, the end wall will be used to detected forward/backward motion. However, it only detects about a tenth of the forward motion, if even that. The robot is only moving forwards and backwards, not turning.

Is there some parameter that could help? Currently I'm more or less randomly changing them, trying to find something that will help. I was thinking that possibly 'outliers_maxPerc' was the culprit, as the corridor is not very wide, so there are few data points from the end wall, but setting it to 0.99 didn't help. I've also tried enabling the alpha-beta filter.

Regards, Rasmus Ahlberg

2013-03-29 08:41:40 -0500 received badge  Self-Learner (source)
2012-09-26 02:04:52 -0500 received badge  Notable Question (source)
2012-09-26 02:04:52 -0500 received badge  Famous Question (source)
2012-09-26 02:04:52 -0500 received badge  Popular Question (source)
2012-09-24 09:03:23 -0500 received badge  Popular Question (source)
2012-09-24 09:03:23 -0500 received badge  Famous Question (source)
2012-09-24 09:03:23 -0500 received badge  Notable Question (source)
2012-09-05 16:31:42 -0500 received badge  Popular Question (source)
2012-09-05 16:31:42 -0500 received badge  Notable Question (source)
2012-09-05 16:31:42 -0500 received badge  Famous Question (source)
2012-09-05 04:48:16 -0500 received badge  Notable Question (source)
2012-09-05 04:48:16 -0500 received badge  Famous Question (source)
2012-08-21 09:40:06 -0500 received badge  Popular Question (source)
2012-08-21 09:40:06 -0500 received badge  Notable Question (source)
2012-08-21 09:40:06 -0500 received badge  Famous Question (source)
2012-08-20 04:22:53 -0500 received badge  Popular Question (source)
2012-08-20 04:22:53 -0500 received badge  Notable Question (source)
2012-08-20 04:22:53 -0500 received badge  Famous Question (source)
2012-08-15 21:10:55 -0500 received badge  Enlightened (source)
2012-08-15 21:10:55 -0500 received badge  Good Answer (source)
2012-05-06 03:35:02 -0500 marked best answer Linking object files in another package

Hi,

Is there some way to directly link object files (.o) from another package, or is the only possible way to do it to change the build configuration of the second package so it creates a library file?

2012-05-03 05:17:02 -0500 received badge  Popular Question (source)
2012-03-04 20:32:07 -0500 marked best answer Math operations for geometry_msgs/Vector3

I have an IMU sensor mounted on my robot, but without properly aligned axes. To more get more easily processed data, I want to transform its output so the axes align. This is quite easily done with some calibration and usage of the dot product. However, there seem to be no math operations defined for Vector3 in geometry_msgs.

Is the proper way to do this to create a new vector of Eigen's format, do the calculations and then convert it back to Vector3? As I've understood there's no way to just cast between the types.