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

navderm's profile - activity

2015-10-28 18:14:26 -0500 received badge  Famous Question (source)
2015-09-11 15:21:11 -0500 marked best answer rotating the depth image about lowest row in 3D

I have a depth image which I want to rotated about a point to project the points in another plane which is at an angle t from the plane about the col axis so, [r2 c2]' = [ct st ; -st ct] [r c]' Should give me a rotation about angle t, with the column axis of the lowest row (479th row) as the pivot. Lets think about it as seeing the optical plane from one side and seeing only the row axis Now, the problem is that I can't have the same depth values once I rotate the image. I don't know how the depth values would change. Can someone help me figure this out.

2015-09-11 15:19:24 -0500 marked best answer emacs + gdb + roslaunch all at once .

I run a launch file from within emacs. But when i have gdb debugging turned on, it always opens up a new window for gdb terminal. I can use gdb in emacs when not using a ros node but can't do so while debugging a ros node. How do I do this ??

The command I use is : launch-prefix="xterm -ex gdb --args"

EDIT: The primary reason for doing this is to get the gdb-many-windows to run so that by debugging is not a typing nightmare !

2015-05-02 20:03:51 -0500 received badge  Good Question (source)
2015-05-02 20:03:49 -0500 received badge  Favorite Question (source)
2014-10-06 03:58:40 -0500 received badge  Famous Question (source)
2014-01-28 17:29:59 -0500 marked best answer problem getting topic remaps in the code

I am unable to get topic names using

ros::param::get(info_topic, input_info_topic_);

where info_topic and input_info_topic_ are:

  std::string input_info_topic_;
  std::string namespace_ = pnh_.getNamespace();
  std::string info_topic = namespace_ + "/input_info_topic";

A little more detail :

My classes are :

namespace mynamespace 
{   
   class A : public nodelet::Nodelet
   {    
        ...
        boost::shared_ptr<ClassD> di;
   };
}

namespace mynamespace
{
    class ClassD
    {
        //constructor
        ClassD(ros::NodeHandle& n, ros::NodeHandle& pnh);

        //all the ros::param::get() are in definition of this class. 
    };
}

When I try to remap topics, it doesn't work. The end result is always an empty string and hence I can't get any images in. What am I doing wrong.

I have tried to provide all the information that might be relevant. If I am missing something kindly please let me know.

2014-01-28 17:28:54 -0500 marked best answer pointer for sensor_msgs::LaserScan

So,

I have sensor_msgs::LaserScanPtr& scan_msg being passed in a function. the first line is BOOST::ASSERT(!scan_msg); the second line is BOOST::ASSERT(!scan_msg->ranges);

Problem: it has a compilation error : ! not defined for shared pointer so, I make a change BOOST::ASSERT(!scan_msg->ranges.get()) Now it has compilation error : get not defined for ranges .

What am I supposed to do to see if ranges is not empty ??? (I have considered operator precendence and applied all the parenthesis I could, to no avail).

~Cheers! navderm

2014-01-28 17:24:40 -0500 marked best answer ROS Background

Hi All, I have been working on ros for a few months now. I wish to know the basic building philosophy and the design of ROS to be able to 1. understand why / hows of ROS 2. to become a better programmer as such.

Is there anything online (I couldn't find any) which gives the very base level design structure in complete detail. I could go through the code and I have been doing that but any documentation on that would be quite helpful .

Thanks. Neeraj

2014-01-28 17:23:17 -0500 marked best answer Synchronizing two or more image_transport subscriptions

Hi All,

I wish to be able to take two subscriptions from two image_transports and synchronize them using boost::bind and message_filters::Synchronizer. But message_filters::Synchronizer only uses sensor_msgs::Image and message_filters::Subscriber.

How do I synchronize image_transport and not message_filters::Subscriber ? so that I can finally use the input with cv_bridge to get a cv::Mat .

2014-01-28 17:22:39 -0500 marked best answer Problem compiling (making) motion_planning_common/planning_environment package

Hi All, I was trying to install motion_planning_common and while it is making planning_environment it shows me some errors. I have the errors pasted in the pastebin and this is the address of the same.

http://pastebin.com/cWzHLLJ0

kindly could someone tell me what is going wrong and whether it is the problem of version changes as i am using electric and the package was written for some other version of ros. If this is not the case, is it dependent on any of my computer configurations ??

~Cheers! navderm

2014-01-28 17:22:38 -0500 marked best answer Problem starting openni in ros electric

Hi All, I recently downloaded ros/electric. I was trying to run openni node with command : roslaunch openni_launch openni.launch.
The result of this run is not stable. I get it to run at times and at other times, it just doesn't run. It hangs and neither the topic /camera/depth_registered/points shows up anything with rostopic hz nor does rviz show anything.
Also, there is always an error I can see I have no clue why this error exists. It exists even when the node hangs and doesn't publish anything . I am using kinect. Any Help appreciated. ~Cheers! Neeraj

2014-01-20 14:34:49 -0500 marked best answer rosnode for creative interactive gesture camera

I was trying to use the interactive gesture camera but could not find any ros node written for the same. Is there some node for 'creative interactive gesture camera' available. ?

2013-11-25 08:36:01 -0500 received badge  Nice Question (source)
2013-11-19 20:20:32 -0500 received badge  Notable Question (source)
2013-11-19 20:20:32 -0500 received badge  Popular Question (source)
2013-10-05 19:34:53 -0500 received badge  Notable Question (source)
2013-10-05 19:34:53 -0500 received badge  Famous Question (source)
2013-09-23 08:32:48 -0500 received badge  Nice Question (source)
2013-09-22 17:49:07 -0500 received badge  Famous Question (source)
2013-08-19 18:11:28 -0500 received badge  Notable Question (source)
2013-08-19 18:11:28 -0500 received badge  Popular Question (source)
2013-06-05 16:26:38 -0500 received badge  Popular Question (source)