Commit 81edc958 authored by bucyril's avatar bucyril
Browse files

more network fixes

parent c4c55f67
......@@ -225,7 +225,7 @@ int main(int argc, char* argv[]){
//this topic lets the PPSClient listen to the terminal commands
ros::Publisher commandPublisher = nodeHandle.advertise<std_msgs::Int32>("Command", 1);
ros::Subscriber commandSubscriber = nodeHandle.subscribe("PPSClient/Command", 1, commandCallback);
ros::Subscriber commandSubscriber = nodeHandle.subscribe("Command", 1, commandCallback);
//start with safe controller
crazyflieEnabled = true;
......
......@@ -280,7 +280,7 @@ int main(int argc, char* argv[]) {
loadParameters(nodeHandle);
ros::Publisher setpointPublisher = nodeHandle.advertise<Setpoint>("Setpoint", 1);
ros::Subscriber setpointSubscriber = nodeHandle.subscribe("SafeControllerService/Setpoint", 1, setpointCallback);
ros::Subscriber setpointSubscriber = nodeHandle.subscribe("Setpoint", 1, setpointCallback);
ros::ServiceServer service = nodeHandle.advertiseService("RateController", calculateControlOutput);
ROS_INFO("SafeControllerService ready");
......
Supports Markdown
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