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

Revision history [back]

click to hide/show revision 1
initial version

Afaict, std is a namespace. But std_srvs::Empty is a type, not a namespace, so you can't bring it out by a using declaration.

Afaict, std is a namespace. But std_srvs::Empty is a type, not a namespace, so you can't bring it Request or Response out by a using declaration.

Afaict, std is a namespace. But std_srvs::Empty is a type, type (in the std_srvs namespace), not a namespace, namespace itself, so you can't bring Request or Response out by a using declaration.

See this random post on SO that deals with the same issue.