Skip to content

Commit

Permalink
Initialize collision scaling to 1.0 just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
sea-bass committed Sep 20, 2024
1 parent 3b2a7be commit db534c8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class CollisionMonitor
std::atomic<bool> stop_requested_;

// The scaling factor when approaching a collision.
std::atomic<double>& collision_velocity_scale_;
std::atomic<double>& collision_velocity_scale_ {1.0};

// The data structures used to get information about robot self collisions.
collision_detection::CollisionRequest self_collision_request_;
Expand Down

0 comments on commit db534c8

Please sign in to comment.