Fixed service name confilict
This commit is contained in:
1 parent
43da8a3a37
commit
9dee466e0e
1 file changed
+4
-4
@@ -76,10 +76,10 @@ namespace mg {
|
||||
|
||||
sv_rotate = rclcpp_action::create_server<Rotate>(
|
||||
this,
|
||||
"MoveStraight",
|
||||
std::bind(&MgNavigationServer::handle_goal<Rotate>, this, _1, _2, "MoveStraight"),
|
||||
std::bind(&MgNavigationServer::handle_cancel<Rotate>, this, _1, "MoveStraight"),
|
||||
std::bind(&MgNavigationServer::handle_accepted<Rotate>, this, _1, "MoveStraight"));
|
||||
"Rotate",
|
||||
std::bind(&MgNavigationServer::handle_goal<Rotate>, this, _1, _2, "Rotate"),
|
||||
std::bind(&MgNavigationServer::handle_cancel<Rotate>, this, _1, "Rotate"),
|
||||
std::bind(&MgNavigationServer::handle_accepted<Rotate>, this, _1, "Rotate"));
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user