@@ -181,7 +181,8 @@ MotionClient::MotionClient(std::string name, std::shared_ptr<grpc::Channel> chan
181181 stub_ (service::motion::v1::MotionService::NewStub(channel)),
182182 channel_(std::move(channel)) {}
183183
184- bool MotionClient::move (const pose_in_frame& destination, const Name& component_name,
184+ bool MotionClient::move (const pose_in_frame& destination,
185+ const Name& component_name,
185186 const std::shared_ptr<WorldState>& world_state,
186187 const std::shared_ptr<Motion::constraints>& constraints,
187188 const ProtoStruct& extra) {
@@ -201,9 +202,12 @@ bool MotionClient::move(const pose_in_frame& destination, const Name& component_
201202}
202203
203204std::string MotionClient::move_on_map (
204- const pose& destination, const Name& component_name, const Name& slam_name,
205+ const pose& destination,
206+ const Name& component_name,
207+ const Name& slam_name,
205208 const std::shared_ptr<motion_configuration>& motion_configuration,
206- const std::vector<GeometryConfig>& obstacles, const ProtoStruct& extra) {
209+ const std::vector<GeometryConfig>& obstacles,
210+ const ProtoStruct& extra) {
207211 return make_client_helper (this , *stub_, &StubType::MoveOnMap)
208212 .with (extra,
209213 [&](auto & request) {
@@ -223,11 +227,14 @@ std::string MotionClient::move_on_map(
223227}
224228
225229std::string MotionClient::move_on_globe (
226- const geo_point& destination, const boost::optional<double >& heading,
227- const Name& component_name, const Name& movement_sensor_name,
230+ const geo_point& destination,
231+ const boost::optional<double >& heading,
232+ const Name& component_name,
233+ const Name& movement_sensor_name,
228234 const std::vector<geo_geometry>& obstacles,
229235 const std::shared_ptr<motion_configuration>& motion_configuration,
230- const std::vector<geo_geometry>& bounding_regions, const ProtoStruct& extra) {
236+ const std::vector<geo_geometry>& bounding_regions,
237+ const ProtoStruct& extra) {
231238 return make_client_helper (this , *stub_, &StubType::MoveOnGlobe)
232239 .with (extra,
233240 [&](auto & request) {
@@ -251,8 +258,10 @@ std::string MotionClient::move_on_globe(
251258}
252259
253260pose_in_frame MotionClient::get_pose (
254- const Name& component_name, const std::string& destination_frame,
255- const std::vector<WorldState::transform>& supplemental_transforms, const ProtoStruct& extra) {
261+ const Name& component_name,
262+ const std::string& destination_frame,
263+ const std::vector<WorldState::transform>& supplemental_transforms,
264+ const ProtoStruct& extra) {
256265 return make_client_helper (this , *stub_, &StubType::GetPose)
257266 .with (extra,
258267 [&](auto & request) {
@@ -271,7 +280,9 @@ void MotionClient::stop_plan(const Name& name, const ProtoStruct& extra) {
271280}
272281
273282std::pair<Motion::plan_with_status, std::vector<Motion::plan_with_status>> MotionClient::get_plan_ (
274- const Name& component_name, boost::optional<std::string> execution_id, bool last_plan_only,
283+ const Name& component_name,
284+ boost::optional<std::string> execution_id,
285+ bool last_plan_only,
275286 const ProtoStruct& extra) {
276287 return make_client_helper (this , *stub_, &StubType::GetPlan)
277288 .with (extra,
@@ -289,7 +300,8 @@ std::pair<Motion::plan_with_status, std::vector<Motion::plan_with_status>> Motio
289300 });
290301}
291302
292- Motion::plan_with_status MotionClient::get_plan (const Name& name, const std::string& execution_id,
303+ Motion::plan_with_status MotionClient::get_plan (const Name& name,
304+ const std::string& execution_id,
293305 const ProtoStruct& extra) {
294306 return get_plan_ (name, execution_id, true , extra).first ;
295307}
@@ -299,7 +311,8 @@ Motion::plan_with_status MotionClient::get_latest_plan(const Name& name, const P
299311}
300312
301313std::pair<Motion::plan_with_status, std::vector<Motion::plan_with_status>>
302- MotionClient::get_plan_with_replan_history (const Name& name, const std::string& execution_id,
314+ MotionClient::get_plan_with_replan_history (const Name& name,
315+ const std::string& execution_id,
303316 const ProtoStruct& extra) {
304317 return get_plan_ (name, execution_id, false , extra);
305318}
0 commit comments