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

aswin's profile - activity

2023-03-04 15:36:15 -0500 received badge  Good Question (source)
2023-03-02 12:11:43 -0500 marked best answer Math functions for geometry_msgs?

Hi all, What is the best practice for doing simple math operations such as 'calculating 3D euclidian distance between two geometry_msgs::Points'?

I found a Linearmath folder in the 'tf' include for vectors, but did not find any related documentation.

2023-03-02 12:11:38 -0500 received badge  Nice Question (source)
2022-09-20 10:08:21 -0500 received badge  Nice Question (source)
2022-09-20 04:13:48 -0500 received badge  Famous Question (source)
2021-12-25 06:04:47 -0500 received badge  Nice Question (source)
2020-06-30 09:51:37 -0500 received badge  Good Question (source)
2020-06-30 09:51:34 -0500 marked best answer Camera calibration and fish eye cameras

HI all, Can camera_calibration package be used to calibrate fish eye cameras?

2019-10-15 02:15:59 -0500 marked best answer freenect on ARM

Hi all, I am able to run the freenect_stack on my x86 13.04 Hydro without any problems. However, I dont get any data when running on my beaglebone black 13.04 Hydro. Following is the output:

Number devices connected: 1
1. device on bus 000:00 is a Xbox NUI Camera (2ae) from Microsoft (45e) with serial id 'A00363A02841103A'
Searching for device with index = 1
Starting a 3s RGB and Depth stream flush.
Opened 'Xbox NUI Camera' on bus 0:0 with serial number 'A00363A02841103A'
rgb_frame_id = '/camera_rgb_optical_frame' 
depth_frame_id = '/camera_depth_optical_frame' 
Camera calibration file /home/hope/.ros/camera_info/rgb_A00363A02841103A.yaml not found.
Using default parameters for RGB camera calibration.
Camera calibration file /home/hope/.ros/camera_info/depth_A00363A02841103A.yaml not found.
Using default parameters for IR camera calibration.
Stopping device RGB and Depth stream flush.
Device timed out. Flushing device.
Starting a 3s RGB and Depth stream flush.
Stopping device RGB and Depth stream flush.
Device timed out. Flushing device.

...and this repeats

I installed the stack using sudo apt-get install ros-hydro-freenect-stack.

Any suggestions welcome.

2019-10-05 08:54:57 -0500 marked best answer H.264 video server

Hi all, Does anyone know of any H.264 video server that runs on ROS? I am aware of the mjpeg server. However, mjpeg takes up al lot of bandwidth.

Any other non ROS implementation will also help.

Cheers

2019-08-27 09:41:30 -0500 marked best answer How do I set global cmake flags catkin

Hi all, So far I have only used catkin to do a normal build using catkin_make and a release build using catkin_make -DCMAKE_BUILD_TYPE=Release.

However, I would like to set more CMAKE_CXX_FLAGS and various other options globally for multiple packages in my workspace. How do I do this?

Do I modify the top level cmake? Are there any examples for the same?

2019-05-22 05:20:50 -0500 received badge  Good Question (source)
2019-01-22 18:41:21 -0500 received badge  Famous Question (source)
2018-12-18 04:57:15 -0500 marked best answer remove info and time from ROS_INFO

Hi all, I am hoping there is some way I could remove the following from ROS_INFO.

[ INFO] [1607321000.773203598]:

ROS_INFO is great, but the above takes up a lot of space on my screen. Any way to remove it? Alternatives?

Regards

2018-11-28 13:21:03 -0500 received badge  Notable Question (source)
2018-11-22 09:45:43 -0500 marked best answer How to run multiple rostests with one .test file and one gtest test case

I have a gtest test case that can be launched from a rostest .test file. I would like to run the same test with multiple parameters.

I came across using ARG in cmake we can set multiple params for the .test file, but can we use the same test file with different parameters to run the same tests with different inputs? i.e. different tests with same ${launch_file} and varying args

add_rostest(${launch_file}
    DEPENDENCIES ${target}
    ARGS ...

In a more generic sense, would we be able to run parametrised rostests like eg. Gtest::Combine

2018-11-22 09:45:27 -0500 commented answer How to run multiple rostests with one .test file and one gtest test case

Thank you. I finally followed the example in this function and added numerous arguments for the same test

2018-11-22 09:06:53 -0500 received badge  Popular Question (source)
2018-11-20 14:55:30 -0500 commented question How to run multiple rostests with one .test file and one gtest test case

I just realized that if the first ARG is the same, then the output file where results are stored are same. Not sure if t

2018-11-20 14:55:18 -0500 edited question How to run multiple rostests with one .test file and one gtest test case

How to run multiple rostests with one .test file and one gtest test case I have a gtest test case that can be launched f

2018-11-20 14:54:48 -0500 commented answer How to run multiple rostests with one .test file and one gtest test case

Thank you for the response. Yes right now I am using something like add_rostest(check_thing.test ARGS case:=foo) multi

2018-11-20 14:54:15 -0500 commented answer How to run multiple rostests with one .test file and one gtest test case

I was using the ros::NodeHandle::getParam, but unfortunately I am using gazebo and require a fresh state each time. Rest

2018-11-20 14:52:22 -0500 commented answer How to run multiple rostests with one .test file and one gtest test case

Thank you for the response. Yes right now I am using something like add_rostest(check_thing.test ARGS case:=foo) multi

2018-11-20 13:28:58 -0500 edited question How to run multiple rostests with one .test file and one gtest test case

How to run multiple rostests with one .test file and one gtest test case I have a gtest test case that can be launched f

2018-11-20 12:59:14 -0500 asked a question How to run multiple rostests with one .test file and one gtest test case

How to run multiple rostests with one .test file and one gtest test case I have a gtest test case that can be launched f

2018-07-25 15:49:47 -0500 received badge  Famous Question (source)
2018-03-15 16:13:37 -0500 received badge  Nice Answer (source)
2018-01-03 20:01:50 -0500 answered a question Travis Build Fails on installing moveit_ros_planning_interface

I am using Dec 12 2017 travis trusty build and for me the issue was with mongo db. Doing a apt-get install mongodb befor

2017-10-26 22:04:48 -0500 marked best answer Access ObstacleLayer Costmap2D in localplanner

Hi,

Is there a way I can access Costmap2D of a layer in the local planner? I saw this question here, but I couldnt get it to work. The only way I can access the costmap is though layered_costmap_, but it is protected.

2017-10-26 22:04:48 -0500 received badge  Self-Learner (source)
2016-12-03 16:33:48 -0500 marked best answer ROS libraries

Hi all, I would like to add ROS support to my own software. What libraries do I add in my makefile?

Thanks

2016-10-31 12:38:38 -0500 received badge  Notable Question (source)
2016-10-31 12:38:38 -0500 received badge  Famous Question (source)
2016-09-22 06:12:24 -0500 received badge  Nice Question (source)
2016-09-08 23:14:35 -0500 received badge  Good Question (source)
2016-09-08 23:14:34 -0500 received badge  Notable Question (source)
2016-09-07 07:53:05 -0500 received badge  Nice Question (source)
2016-09-07 05:01:37 -0500 received badge  Popular Question (source)
2016-09-06 10:45:50 -0500 asked a question Restricting publish and subscribe to localhost only

Hi,

I have PC1 and PC2 that need to communicate over ROS. However, I only want to expose a few topics and services from PC1 to PC2. I understand that exposing a few topics and services is possible using multimaster. However, how do I restrict PC2 from listening to topics from PC1, if PC2 ROS_MASTER_URI=PC1:11311

2016-08-08 00:22:06 -0500 marked best answer marker causes rviz to be slower with time

Hi all,

Since I have upgraded to hydro in raring, I notice that rviz becomes slower for some marker types. I notice this specifically for CUBE_LIST and SPHERE_LIST. LINE_LIST does not have a problem. I am not sending more data over time. Rviz initially starts with 30fps and then slows down and hangs with time. I do not see any substantial memory leak. When I untick and tick the marker in rviz, the speed returns to 30fps and then slows down again with time.

Following is what I publish:

visualization_msgs::Marker marker;
marker.header.frame_id = "/planner_frame";
marker.header.stamp = ros::Time::now();
marker.ns = "path";
marker.type = visualization_msgs::Marker::SPHERE_LIST;
marker.action = visualization_msgs::Marker::ADD;
marker.scale.x = ROBOT_RADIUS*2.0;
marker.scale.y = ROBOT_RADIUS*2.0;
marker.scale.z = ROBOT_RADIUS*2.0;
geometry_msgs::Point pos;
std_msgs::ColorRGBA color;

for(unsigned int i=0; i<allRobots.size(); i++) {
  pos.x=allRobots[i].pose.position.x; pos.y=allRobots[i].pose.position.y; pos.z=allRobots[i].pose.position.z;
  marker.points.push_back(pos);
  color.a=0.8; color.r=1.0f; color.g=0.0f; color.b=0.0f;
  marker.colors.push_back(color);
}
pRobotMarker.publish(marker);

the publisher is declared as:

pDeadRobotMarker = n.advertise<visualization_msgs::Marker>("robot_marker", 1);
2016-05-17 05:10:02 -0500 marked best answer static layer on local costmap

Hi, I would like to use a static layer (in /map i.e. global frame) in the local costmap. So when the robot moves, I want the lethal obstacles in this static layer that are also in the local costmap, to be inflated. How do I do this?

I know static layers are usually added in the global costmap, but for a special case I want the local planner to access this information.

2016-05-08 15:15:51 -0500 marked best answer move_base global planner plans outside static map

Hi, The default global planner plans outside the static map i.e. unexplored area. Is there any parameter I have missed out?

planner_params.yaml

base_local_planner: dwa_local_planner/DWAPlannerROS
recovery_behaviors: []
planner_frequency: 0
planner_patience: 1000.0
controller_patience: 1000.0
recovery_behavior_enabled: false
clearing_rotation_allowed: false
controller_frequency: 20.0

global_constmap_params.yaml

global_costmap:
  global_frame: /map
  robot_base_frame: base_link
  update_frequency: 1.0
  static_map: true

Unfortunately during mapping, not all parts of the room was bounded by a wall i.e. black color cells in the occupancy map. The planner found a path that goes outside the static map from one end and then into the other side of the room.