Skip to content
Snippets Groups Projects
Commit ee751c82 authored by roangel's avatar roangel
Browse files

starts client without starting drone. Then scripts

parent 91d9e133
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
if [ "$#" -ne 4 ]
if [ "$#" -ne 4 ]
then echo "usage: safe_controller_setpoint <x> <y> <z> <yaw>"
else rostopic pub -1 /$ROS_NAMESPACE/SafeControllerService/Setpoint d_fall_pps/Setpoint "{x: $1, y: $2, z: $3, yaw: $4}";
fi
......
......@@ -277,7 +277,7 @@ int main(int argc, char* argv[]){
ros::Subscriber commandSubscriber = nodeHandle.subscribe("Command", 1, commandCallback);
//start with safe controller
crazyflieEnabled = true;
crazyflieEnabled = false;
usingSafeController = true;
loadSafeController();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment