Commit e26def18 authored by Ian McInerney's avatar Ian McInerney

Fixed bug in input setpoints

parent 24351cb6
......@@ -37,7 +37,7 @@
#define SET_X(quadNumber, setpoint) ( crazyflie_info[quadNumber-1].cflieCopter->setSetpointX( setpoint ) )
#define SET_Y(quadNumber, setpoint) ( crazyflie_info[quadNumber-1].cflieCopter->setSetpointY( setpoint ) )
#define SET_Z(quadNumber, setpoint) ( crazyflie_info[quadNumber-1].cflieCopter->setSetpointX( setpoint ) )
#define SET_Z(quadNumber, setpoint) ( crazyflie_info[quadNumber-1].cflieCopter->setSetpointZ( setpoint ) )
#define SET_YAW(quadNumber, setpoint) ( crazyflie_info[quadNumber-1].cflieCopter->setSetpointYaw( setpoint ) )
#define SET_FLIGHTMODE(quadNumber, mode) ( crazyflie_info[quadNumber-1].cflieCopter->setFlightMode( mode ) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment