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

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

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

saddddddd gravatar image

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

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

Comments

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 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
2

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

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
4

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

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

Question Tools

Stats

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

Seen: 2,127 times

Last updated: Jan 09 '13