Skip to content

Commit

Permalink
Fix float default_value in proto
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasVautherin committed May 31, 2022
1 parent 236b6e8 commit 7acfcef
Show file tree
Hide file tree
Showing 4 changed files with 100 additions and 100 deletions.
22 changes: 11 additions & 11 deletions src/mavsdk/plugins/follow_me/include/plugins/follow_me/follow_me.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,20 +82,20 @@ class FollowMe : public PluginBase {
std::ostream& str, FollowMe::Config::FollowAltitudeMode const& follow_altitude_mode);

float follow_height_m{
8.0}; /**< @brief [m] Follow height in meters (recommended minimum 8 meters) */
float follow_distance_m{8.0}; /**< @brief [m] Follow distance to target in meters
(recommended minimum 4 meter) */
float responsiveness{0.1}; /**< @brief How responsive the vehicle is to the motion of the
target, Lower value = More responsive (range 0.0 to 1.0) */
8.0f}; /**< @brief [m] Follow height in meters (recommended minimum 8 meters) */
float follow_distance_m{8.0f}; /**< @brief [m] Follow distance to target in meters
(recommended minimum 4 meter) */
float responsiveness{0.1f}; /**< @brief How responsive the vehicle is to the motion of the
target, Lower value = More responsive (range 0.0 to 1.0) */
FollowAltitudeMode altitude_mode{}; /**< @brief Follow Altitude control mode */
float max_tangential_vel_m_s{
8.0}; /**< @brief [m/s] Maximum orbit tangential velocity relative to the target, in
meters per second. Higher value = More aggressive follow angle tracking. */
8.0f}; /**< @brief [m/s] Maximum orbit tangential velocity relative to the target, in
meters per second. Higher value = More aggressive follow angle tracking. */
float follow_angle_deg{
180.0}; /**< @brief [deg] Follow Angle relative to the target. 0 equals following in
front of the target's direction. Angle increases in Clockwise direction, so
following from right would be 90 degrees, from the left is -90 degrees, and
so on. */
180.0f}; /**< @brief [deg] Follow Angle relative to the target. 0 equals following in
front of the target's direction. Angle increases in Clockwise direction, so
following from right would be 90 degrees, from the left is -90 degrees, and
so on. */
};

/**
Expand Down
156 changes: 78 additions & 78 deletions src/mavsdk_server/src/generated/follow_me/follow_me.pb.cc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7acfcef

Please sign in to comment.