Skip to content

Commit

Permalink
squash- bad name in multirotorrpclibserver
Browse files Browse the repository at this point in the history
  • Loading branch information
madratman committed Mar 25, 2020
1 parent 6780c8f commit 518d3e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ MultirotorRpcLibServer::MultirotorRpcLibServer(ApiProvider* api_provider, string
return getVehicleApi(vehicle_name)->goHome(timeout_sec);
});
(static_cast<rpc::server*>(getServer()))->
bind("moveByMotorPWMsAsync", [&](float front_right_pwm, float rear_left_pwm, float front_left_pwm, float rear_right_pwm, float duration, const std::string& vehicle_name) ->
bind("moveByMotorPWMs", [&](float front_right_pwm, float rear_left_pwm, float front_left_pwm, float rear_right_pwm, float duration, const std::string& vehicle_name) ->
bool { return getVehicleApi(vehicle_name)->moveByMotorPWMs(front_right_pwm, rear_left_pwm, front_left_pwm, rear_right_pwm, duration);
});
(static_cast<rpc::server*>(getServer()))->
Expand Down

0 comments on commit 518d3e0

Please sign in to comment.