Ask Your Question

Akhilesh's profile - activity

2017-07-18 09:16:41 -0500 commented question Can a node publish different types on one topic?

Can you specify what exactly you want to publish? Or add some piece of code to understand the need.

2017-06-07 01:51:40 -0500 commented question ImportError: No module named msg

@gvdhoorn: Actually, I have faced somewhat same problem that I fixed with the same as I mentioned above. If you think it

2017-06-06 09:36:44 -0500 commented question Kill and relaunch .launch file from bash script

yeah... that's a good way to do. if think my answer is helpful, upvote it.

2017-06-06 08:56:14 -0500 commented question Kill and relaunch .launch file from bash script

yeah... that's a way to do. if think my answer is helpful, upvote it.

2017-06-06 08:55:40 -0500 commented question Kill and relaunch .launch file from bash script

yeah... that a way to do. if think my answer is helpful, upvote it.

2017-06-06 06:58:18 -0500 commented question Kill and relaunch .launch file from bash script

hi @l4ncelot, since, right now, I am not working on ROS, so I am not very sure about log, but yes, you can check if the

2017-06-06 06:57:31 -0500 commented question Kill and relaunch .launch file from bash script

hi @l4ncelot, since right now I am not working on ROS, so I am not very sure about log, but yes, you can check if the RO

2017-06-06 04:12:33 -0500 commented question Kill and relaunch .launch file from bash script

Just add the required="true" option to one of the <node> tags in the launch file. e.g. <node ns="stereo" pkg="u

2017-06-06 04:10:01 -0500 commented question Proper way to shutdown /rosout (roscore).

Hi @Gieseltrud, try http://answers.ros.org/question/250182/terminate-ros-program/#250224

2017-06-06 04:04:44 -0500 commented question ImportError: No module named msg

Hi, add the following lines to the .bashrc file as well as update the current bash shell with it so that we don't get an

2017-06-06 04:04:27 -0500 commented question ImportError: No module named msg

Hi, add the following lines to the .bashrc file as well as update the current bash shell with it so that we don't get an

2017-05-25 01:36:19 -0500 commented question image_view to opencv

read this http://answers.ros.org/question/115346/what-does-roslibload_manifest-do/ for roslib.load_manifest('my_package'

2017-05-24 09:59:22 -0500 commented question image_view to opencv

Hi @hakimROS, can you provide the link of the tutorial that you are going through?? And mention the points as well that

2017-05-24 09:49:34 -0500 received badge  Famous Question (source)
2017-02-09 00:24:32 -0500 received badge  Scholar (source)
2017-01-05 23:56:24 -0500 commented question Can a node publish different types on one topic?

if you advertise a topic like node.advertise<camerainfo>("camera_info", 1); , so in CameraInfo class, there is more than one data types are available like uint32, string etc.

2017-01-05 08:32:22 -0500 commented question Can a node publish different types on one topic?

Hi, you can publish even more than two data types but it depends on what you want to send.

2017-01-05 08:32:22 -0500 received badge  Commentator
2017-01-03 09:03:24 -0500 received badge  Enthusiast
2017-01-02 12:11:32 -0500 commented question [view_navigation.launch] is neither a launch file in package

Ok, thanks. I will try without changing manually the path of ros.

2017-01-02 12:02:35 -0500 answered a question [view_navigation.launch] is neither a launch file in package

Ok, thanks. I will try to do it without manually changing the path.

2017-01-02 07:57:40 -0500 commented question [view_navigation.launch] is neither a launch file in package

Sorry,I think my earlier comment is not clear enough. So clearing it. ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:~/<path_to_work_space_of_ros>

and then $ source ~/.bashrc

2017-01-02 07:55:05 -0500 commented question [view_navigation.launch] is neither a launch file in package

But it worked for me.

2016-12-31 10:07:27 -0500 commented question [view_navigation.launch] is neither a launch file in package

Hi, add the following lines to the .bashrc file as well as update the current bash shell with it so that we don't get any build errors.

#Update ROS path to ROS environment export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:~/ROS_WS $ source ~/.bashrc

just replace ROS_WS with your ros work space directory.

2016-12-30 08:37:54 -0500 commented question How to correctly shutdown a rosnode?

Hi nansmallgong, can just show me your launch file?

2016-12-28 01:17:31 -0500 commented question ctrl-c wont shutdown python talker.py node when run with sudo

Hi ryanhowarth, just add required="true" in your tag.

2016-12-23 00:25:37 -0500 answered a question Node shutdown

Hi g.bardaro, check the 2nd answer on http://answers.ros.org/question/25018... It worked for me.

2016-12-19 04:11:48 -0500 received badge  Notable Question (source)
2016-12-17 01:27:44 -0500 received badge  Popular Question (source)
2016-12-17 00:30:26 -0500 commented question DSO missing from command line

Hi Ma8sa,

DSO missing is a run time error. So just check your make file where you are linking the library from. And correct it.

2016-12-17 00:22:18 -0500 received badge  Supporter (source)
2016-12-16 23:25:07 -0500 commented answer Terminate ROS program

So I followed one step that I have mentioned in my answer and now it is working properly and shutting down too.

2016-12-16 23:23:30 -0500 commented answer Terminate ROS program

Hi rbbg,

Thanks for responding. Actually I tried with the above step that you shared, but when I was calling ros::shutdown(), the node was being stopped but roslaunch was existing. Hence I was not able to come out of the program.

2016-12-16 23:13:44 -0500 answered a question Terminate ROS program

I found the solution. I added the required="true" option to one of the <node> tags in my launch file. e.g. <node ns="stereo" pkg="uvc_camera" type="tara_node" name="uvc_camera" output="screen" required="true">

2016-12-16 07:29:59 -0500 asked a question Terminate ROS program

Hi I am new in ROS. In my program, I am launching a launch file and through which my .cpp file is executing. In this .cpp, I check for a condition, if it doesn't satisfy I have to terminate the program. To terminate this I have tried ros::shutdown() but it not working enough. How should I terminate this.

Thanks a lot for your help.