Skip to content
Snippets Groups Projects
Commit fffee00a authored by bucyril's avatar bucyril
Browse files

adjusted scripts for network

parent e59c1fca
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,6 @@
if [ "$#" -ne 0 ]
then echo "usage: disable_crazyflie <no arguments>"
else rostopic pub -1 /PPSClient/Command std_msgs/Int32 4;
else rostopic pub -1 /$ROS_NAMESPACE/PPSClient/Command std_msgs/Int32 4;
fi
......@@ -2,6 +2,6 @@
if [ "$#" -ne 0 ]
then echo "usage: enable_crazyflie <no arguments>"
else rostopic pub -1 /PPSClient/Command std_msgs/Int32 3;
else rostopic pub -1 /$ROS_NAMESPACE/PPSClient/Command std_msgs/Int32 3;
fi
......@@ -2,6 +2,6 @@
if [ "$#" -ne 0 ]
then echo "usage: load_custom_controller <no arguments>"
else rostopic pub -1 /PPSClient/Command std_msgs/Int32 2;
else rostopic pub -1 /$ROS_NAMESPACE/PPSClient/Command std_msgs/Int32 2;
fi
......@@ -2,6 +2,6 @@
if [ "$#" -ne 0 ]
then echo "usage: load_safe_controller <no arguments>"
else rostopic pub -1 /PPSClient/Command std_msgs/Int32 1;
else rostopic pub -1 /$ROS_NAMESPACE/PPSClient/Command std_msgs/Int32 1;
fi
......@@ -2,6 +2,6 @@
if [ "$#" -ne 4 ]
then echo "usage: safe_controller_setpoint <x> <y> <z> <yaw>"
else rostopic pub -1 /SafeControllerService/Setpoint d_fall_pps/Setpoint "{x: $1, y: $2, z: $3, yaw: $4}";
else rostopic pub -1 /$ROS_NAMESPACE/SafeControllerService/Setpoint d_fall_pps/Setpoint "{x: $1, y: $2, z: $3, yaw: $4}";
fi
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