Fixed service name confilict
This commit is contained in:
@ -76,10 +76,10 @@ namespace mg {
|
|||||||
|
|
||||||
sv_rotate = rclcpp_action::create_server<Rotate>(
|
sv_rotate = rclcpp_action::create_server<Rotate>(
|
||||||
this,
|
this,
|
||||||
"MoveStraight",
|
"Rotate",
|
||||||
std::bind(&MgNavigationServer::handle_goal<Rotate>, this, _1, _2, "MoveStraight"),
|
std::bind(&MgNavigationServer::handle_goal<Rotate>, this, _1, _2, "Rotate"),
|
||||||
std::bind(&MgNavigationServer::handle_cancel<Rotate>, this, _1, "MoveStraight"),
|
std::bind(&MgNavigationServer::handle_cancel<Rotate>, this, _1, "Rotate"),
|
||||||
std::bind(&MgNavigationServer::handle_accepted<Rotate>, this, _1, "MoveStraight"));
|
std::bind(&MgNavigationServer::handle_accepted<Rotate>, this, _1, "Rotate"));
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user