Fix code style
This commit is contained in:
parent
8abae8ac82
commit
35b2c106a1
2 changed files with 4 additions and 4 deletions
|
@ -185,7 +185,7 @@ Node::create_client(
|
|||
template<typename ServiceT>
|
||||
typename service::Service<ServiceT>::SharedPtr
|
||||
Node::create_service(
|
||||
const std::string &service_name,
|
||||
const std::string & service_name,
|
||||
typename rclcpp::service::Service<ServiceT>::CallbackType callback,
|
||||
rclcpp::callback_group::CallbackGroup::SharedPtr group)
|
||||
{
|
||||
|
|
|
@ -87,12 +87,12 @@ class Service : public ServiceBase
|
|||
public:
|
||||
typedef std::function<
|
||||
void (const std::shared_ptr<typename ServiceT::Request> &,
|
||||
std::shared_ptr<typename ServiceT::Response> &)> CallbackType;
|
||||
std::shared_ptr<typename ServiceT::Response> &)> CallbackType;
|
||||
|
||||
typedef std::function<
|
||||
void (const std::shared_ptr<rmw_request_id_t> &,
|
||||
const std::shared_ptr<typename ServiceT::Request> &,
|
||||
std::shared_ptr<typename ServiceT::Response> &)> CallbackWithHeaderType;
|
||||
const std::shared_ptr<typename ServiceT::Request> &,
|
||||
std::shared_ptr<typename ServiceT::Response> &)> CallbackWithHeaderType;
|
||||
RCLCPP_MAKE_SHARED_DEFINITIONS(Service);
|
||||
|
||||
Service(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue