diff --git a/crazyflie_py/crazyflie_py/crazyflie.py b/crazyflie_py/crazyflie_py/crazyflie.py index e5a7ea8b9..d2a5f5cd5 100644 --- a/crazyflie_py/crazyflie_py/crazyflie.py +++ b/crazyflie_py/crazyflie_py/crazyflie.py @@ -141,7 +141,8 @@ def __init__(self, node, cfname, paramTypeDict): self.status = {} # Query some settings - self.getParamsService = node.create_client(GetParameters, '/crazyflie_server/get_parameters') + self.getParamsService = node.create_client( + GetParameters, '/crazyflie_server/get_parameters') self.getParamsService.wait_for_service() req = GetParameters.Request() req.names = ['robots.{}.initial_position'.format(cfname), 'robots.{}.uri'.format(cfname)] @@ -485,7 +486,8 @@ def notifySetpointsStop(self, remainValidMillisecs=100, groupMask=0): # return np.array(position) def getParam(self, name): - """Returns the current value of the onboard named parameter. + """ + Returns the current value of the onboard named parameter. Parameters are named values of various primitive C types that control the firmware's behavior. For more information, see @@ -516,7 +518,6 @@ def getParam(self, name): param_value = future.result().values[0].double_value return param_value - def setParam(self, name, value): """ Change the value of the given parameter.