ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

A basic question about writing ros c++ code file.

asked 2013-01-08 19:31:23 -0500

saddddddd gravatar image

updated 2014-04-20 14:09:30 -0500

ngrennan gravatar image

What shold I do if I don't kown some ros code means? Is there something like msdn in visual studio?

For example: I don't quite understand the code below means? what should I do? ros::service::waitForService("build_cloud");

edit retag flag offensive close merge delete


Thanks, but sometimes when I use the search engine, these has no results which may due to bad internet or something else. Is it normal when you use the Ros's wiki search engine.

saddddddd gravatar image saddddddd  ( 2013-01-10 13:22:00 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2013-01-09 02:31:51 -0500

thebyohazard gravatar image

Most of the packages have the APIs available if you know what package it's in. For example, waitForService is in roscpp. You can get to the API from the "package links" box on the right of the page. That will take you to the documentation where you can find a formal definition of waitForService.

edit flag offensive delete link more

answered 2013-01-08 19:41:20 -0500

ROS's wiki has a search engine that can be useful. I always use it when I don't know something.

For example, in your case, if you type "waitForService" in the search box, you will get pointers to related pages and likely you will get what you want

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-01-08 19:31:23 -0500

Seen: 2,028 times

Last updated: Jan 09 '13