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

mkreddy477's profile - activity

2021-03-02 06:02:39 -0500 received badge  Famous Question (source)
2019-09-20 02:40:41 -0500 marked best answer RectifyNodelet was not subscribing to image_mono

I am trying to customize Imageproc node to add a time stamp on each input frame. The output from mono was perfectly fine. The Image from mono has time stamp on it.

But the RectifyNodelet was not able to subscribe to It. I have converted raw_msg to a cv::Mat and the used putText for stamping arrival time on it. Then converted the same to sensors:msg using CvImage().toImageMsg

Could anybody please let me know what might be the reason.

2019-09-20 02:40:21 -0500 received badge  Popular Question (source)
2019-05-20 02:32:00 -0500 marked best answer Thread Scheduling in ROS

Dear All,

Anybody had an idea about thread scheduling in ROS? Suppose I have a node which spawns multiple threads. How ROS handle scheduling of these user defined threads? Can anybody spread some light on these topics.

Thanks in advance Murali krishna

2019-05-20 02:31:14 -0500 received badge  Famous Question (source)
2019-05-20 02:31:14 -0500 received badge  Notable Question (source)
2019-02-11 08:41:05 -0500 received badge  Famous Question (source)
2018-10-22 11:37:33 -0500 received badge  Famous Question (source)
2018-10-22 11:37:33 -0500 received badge  Notable Question (source)
2018-08-08 01:47:21 -0500 marked best answer Crash while launching multiple instances of same nodelet

Hello, I am trying to load a nodelet multiple times. But the node is getting crashed once the second instance of the node let started executing.

Below snippet describes the way I am loading the nodelet.

std::string name = ros::this_node::getName() + "instance1";
my_argv.push_back("instance1");
my_argv.push_back("0");
my_argv.push_back("10");
manager.load(name, "myNodelet/exNodelet", remappings, my_argv);


my_argv.clear();
my_argv.push_back("instance2");
my_argv.push_back("0");
my_argv.push_back("10");
name = ros::this_node::getName() + "instance2";
manager.load(disparity_name, "myNodelet/exNodelet", remappings, my_argv);


my_argv.clear();
my_argv.push_back("instance3);
my_argv.push_back("11");
my_argv.push_back("10");
name = ros::this_node::getName() + "instance3";
manager.load(name, "myNodelet/exNodelet", remappings, my_argv);

Can anyone give any clue on why the second instance(not instance2. If I launch instance2 first then it will run perfect. The instance, launched 2nd getting crashed.) getting crashed.

Note: I am using OpenCV library in my nodelet.

Edit: I have debugged the problem further. I have noticed, when I commented OpenCV call the nodelet is launched perfectly in the second instance.

Please have a look at the gdb trace below

#0 0x00007f81913e3525 in ?? () from /opt/ros/kinetic/lib/libopencv_calib3d3.so.3.1 #1 0x00007f81913e3cd7 in ?? () from /opt/ros/kinetic/lib/libopencv_calib3d3.so.3.1 #2 0x00007f81913e679f in ?? () from /opt/ros/kinetic/lib/libopencv_calib3d3.so.3.1 #3 0x00007f81ec556cb7 in stereo_vision::stereoReconstruct::process (this=0xff9960, l_image_msg=..., l_info_msg=..., r_image_msg=..., r_info_msg=...) at /home/swahana/Murali/catkin_ws_nodelets/src/stereo_vision/src/nodelet/stereoReconstruct.cpp:271 #4 0x00007f81ec56f606 in boost::function9<void, boost::shared_ptr<sensor_msgs::image_<std::allocator<void=""> > const> const&, boost::shared_ptr<sensor_msgs::camerainfo_<std::allocator<void> > const> const&, boost::shared_ptr<sensor_msgs::image_<std::allocator<void> > const> const&, boost::shared_ptr<sensor_msgs::camerainfo_<std::allocator<void> > const> const&, boost::shared_ptr<message_filters::nulltype const=""> const&, boost::shared_ptr<message_filters::nulltype const=""> const&, boost::shared_ptr<message_filters::nulltype const=""> const&, boost::shared_ptr<message_filters::nulltype const=""> const&, boost::shared_ptr<message_filters::nulltype const=""> const&>::operator() (a8=..., a7=..., a6=..., a5=..., a4=..., a3=..., a2=..., a1=..., a0=..., this=<optimized out="">) at /usr/include/boost/function/function_template.hpp:773

Thanks in advance

2018-08-08 01:39:49 -0500 marked best answer Nodelet performance vs number of instances

Hello,

If I launch 2 instances of a nodelet what will be the impact on the performance. Let's say the single instance of the nodelet was running at 30Hz. what will happen if multiple instances of the same nodlet was launched through a manager. I have observed a considerable amount of performance drop in the performance when two or more instances of nodelet was launched.

Please clarify me. If there is any performance issue how can I resolve the same.? Is there a way to affinitise the each instance of the nodelet to a specific core.?

Thanks in advance

2018-07-28 16:27:38 -0500 received badge  Famous Question (source)
2018-06-15 17:18:31 -0500 marked best answer Latency between nodelets

Dear all,

I have implemented stereo_image_proc with customized algorithms. Now I am trying to measure the latency in the pipeline.

I have observed that each nodelet has inconsistency latency ranging form 0 to 60ms. I have measured the latency as follows Ros_latency = (nodelet1_publishing_time - nodelet2_subscribing_time)

How can I minimize these delays so that making the whole system consistent.

Thanks in advance

2018-05-16 11:17:53 -0500 received badge  Notable Question (source)
2018-04-25 03:05:51 -0500 received badge  Famous Question (source)
2018-04-25 03:05:51 -0500 received badge  Notable Question (source)
2018-01-23 13:32:30 -0500 received badge  Notable Question (source)
2018-01-23 13:32:30 -0500 received badge  Popular Question (source)
2017-11-21 04:36:25 -0500 received badge  Famous Question (source)
2017-11-01 19:16:09 -0500 received badge  Popular Question (source)
2017-10-30 13:29:35 -0500 received badge  Notable Question (source)
2017-10-13 06:43:58 -0500 asked a question Deducing camera_info from cameraMatrix and distortionCoff

Deducing camera_info from cameraMatrix and distortionCoff Hello All, I have camera matrix and distortion coefficient ma

2017-10-13 06:43:56 -0500 asked a question Deducing camera_info from cameraMatrix and distortionCoff

Deducing camera_info from cameraMatrix and distortionCoff Hello All, I have camera matrix and distortion coefficient ma

2017-10-06 03:27:16 -0500 received badge  Popular Question (source)
2017-08-31 06:33:25 -0500 received badge  Popular Question (source)
2017-08-11 07:28:56 -0500 commented answer Thread Scheduling in ROS

Thanks for the clarification

2017-08-10 22:53:15 -0500 received badge  Popular Question (source)
2017-08-09 05:13:51 -0500 asked a question Thread Scheduling in ROS

Thread Scheduling in ROS Dear All, Anybody had an idea about thread scheduling in ROS? Suppose I have a node which spaw

2017-08-09 03:53:58 -0500 received badge  Famous Question (source)
2017-07-03 04:24:17 -0500 received badge  Popular Question (source)
2017-07-03 02:02:58 -0500 edited question Performance of the stereo reconstruction in ROS

Performance of the stereo reconstruction in ROS Dear all, I have done a performance test of stereoBm algorithm. In fir

2017-06-30 04:36:10 -0500 edited question Performance of the stereo reconstruction in ROS

Performance of the stereo reconstruction in ROS Dear all, I have done a performance test of stereoBm algorithm. In fir

2017-06-30 04:35:49 -0500 asked a question Performance of the stereo reconstruction in ROS

Performance of the stereo reconstruction in ROS Dear all, I have done a performance test of stereoBm algorithm. In fir

2017-06-30 01:07:27 -0500 received badge  Notable Question (source)
2017-06-28 06:48:22 -0500 edited question Processing time differs when used ros topic as input for disparity computation

Processing time differs when used ros topic as input for disparity computation Hello All, I have observed performance d

2017-05-10 05:53:31 -0500 received badge  Popular Question (source)
2017-05-10 01:12:13 -0500 edited question Processing time differs when used ros topic as input for disparity computation

Processing time differs when used ros topic as input for disparity computation Hello All, I have observed performance d

2017-05-04 06:23:13 -0500 asked a question Help me in understanding ros::CallbackQueue

Help me in understanding ros::CallbackQueue Hello, I am trying to understand how the ros::CallbackQueue is working in RO

2017-05-03 04:04:09 -0500 asked a question Processing time differs when used ros topic as input for disparity computation

Processing time differs when used ros topic as input for disparity computation Hello All, I have observed performance d

2017-05-01 22:56:24 -0500 received badge  Notable Question (source)
2017-05-01 22:46:33 -0500 answered a question Nodelet performance vs number of instances

I was able to solve the issue to some extent by using ros::MultiThreadedSpinner

2017-04-27 00:35:13 -0500 commented answer Nodelet performance vs number of instances

I have tried using the multi-threaded nodelet API which is also has the same behaviour. I also tried passing (true) to t

2017-04-27 00:34:25 -0500 commented answer Nodelet performance vs number of instances

I have tried using the multi-threaded nodelet API which is also has the same behaviour. I also tried passing (true) to t

2017-04-26 04:13:20 -0500 asked a question Linking error with opencv3

Linking error with opencv3 Dear all, I am facing a linker issue while running an application which was built on the ros-

2017-04-25 05:46:44 -0500 received badge  Famous Question (source)
2017-04-25 01:31:34 -0500 received badge  Popular Question (source)
2017-04-21 01:50:46 -0500 received badge  Notable Question (source)
2017-04-21 01:34:49 -0500 commented answer Nodelet performance vs number of instances

I have enough CPU resources to do the processing. Is there a way to affinities each instance to a seperate CPU core? I

2017-04-21 01:34:49 -0500 received badge  Commentator