diff --git a/examples/follow_me/follow_me.cpp b/examples/follow_me/follow_me.cpp index 89e9ad7fe3..b350a4e18e 100644 --- a/examples/follow_me/follow_me.cpp +++ b/examples/follow_me/follow_me.cpp @@ -132,7 +132,7 @@ int main(int argc, char** argv) // And Follow direction as "Behind" (180 degrees) FollowMe::Config config; config.follow_height_m = 10.0; - config.follow_angle_deg = 180.0f + config.follow_angle_deg = 180.0f; FollowMe::Result follow_me_result = follow_me.set_config(config); if (follow_me_result != FollowMe::Result::Success) { diff --git a/src/integration_tests/follow_me.cpp b/src/integration_tests/follow_me.cpp index 81f1ef0cbd..d19ad58c9a 100644 --- a/src/integration_tests/follow_me.cpp +++ b/src/integration_tests/follow_me.cpp @@ -154,7 +154,7 @@ TEST_F(SitlTest, PX4FollowMeMultiLocationWithConfig) FollowMe::Config config; config.follow_height_m = 12.f; // increase min height config.follow_distance_m = 20.f; // set distance b/w system and target during FollowMe mode - config.responsiveness = 0.2f; // set to higher responsiveness + config.responsiveness = 0.2f; // Make it less responsive (higher value for the setting) config.follow_angle_deg = 0.0; // System follows target from FRONT side // Apply configuration @@ -192,7 +192,7 @@ void print(const FollowMe::Config& config) std::cout << "---------------------------" << '\n'; std::cout << "Height: " << config.follow_height_m << "m" << '\n'; std::cout << "Distance: " << config.follow_distance_m << "m" << '\n'; - std::cout << "Following from: " << config.follow_angle_deg << "[deg]" << '\n'; + std::cout << "Following angle: " << config.follow_angle_deg << "[deg]" << '\n'; std::cout << "Responsiveness: " << config.responsiveness << '\n'; std::cout << "---------------------------" << '\n'; }