diff --git a/include/roscontroller.h b/include/roscontroller.h index f009be4..29a201a 100644 --- a/include/roscontroller.h +++ b/include/roscontroller.h @@ -86,6 +86,8 @@ private: ros::ServiceClient mission_client; + std::string current_mode; // SOLO SPECIFIC: just so you don't call the switch to same mode + void Initialize_pub_sub(ros::NodeHandle n_c); /*Obtain data from ros parameter server*/ @@ -141,8 +143,6 @@ private: void Arm(); - void SetMode(); - void SetMode(std::string mode, int delay_miliseconds); void Subscribe(ros::NodeHandle n_c); diff --git a/launch/rosbuzz-testing-sitl.launch b/launch/rosbuzz-testing-sitl.launch index d832e25..7dd98ff 100644 --- a/launch/rosbuzz-testing-sitl.launch +++ b/launch/rosbuzz-testing-sitl.launch @@ -1,5 +1,5 @@ - + +--> + - + @@ -35,9 +35,11 @@ - + + +