Skip to content
Snippets Groups Projects
Unverified Commit 1e17a86a authored by Beat Küng's avatar Beat Küng
Browse files

collisionprevention: fix typo in param description & minor code style

parent 053494c5
No related branches found
No related tags found
No related merge requests found
......@@ -49,8 +49,6 @@
#include <mathlib/mathlib.h>
#include <drivers/drv_hrt.h>
#include <uORB/topics/mavlink_log.h>
#include <uORB/Publication.hpp>
using uORB::Publication;
#include <uORB/uORB.h>
#include <systemlib/mavlink_log.h>
#include <lib/FlightTasks/tasks/FlightTask/SubscriptionArray.hpp>
......@@ -68,7 +66,7 @@ public:
*/
bool initializeSubscriptions(SubscriptionArray &subscription_array);
bool is_active() {return MPC_COL_PREV_D.get() > 0 ;}
bool is_active() { return MPC_COL_PREV_D.get() > 0; }
void modifySetpoint(matrix::Vector2f &original_setpoint, const float max_speed);
......
......@@ -42,7 +42,7 @@
/**
* Minimum distance the vehicle should keep to all obstacles
*
* Only used in Position mode. Collision avoidace is disable by setting this parameter to a negative value
* Only used in Position mode. Collision avoidace is disabled by setting this parameter to a negative value
*
* @min -1
* @max 15
......
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