Skip to content

Commit 6d17547

Browse files
Compare to float
1 parent f35ec0b commit 6d17547

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

joint_trajectory_controller/src/joint_trajectory_controller.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ controller_interface::return_type JointTrajectoryController::update(
175175
if (traj_point_active_ptr_ && (*traj_point_active_ptr_)->has_trajectory_msg())
176176
{
177177
// is timeout configured?
178-
if (params_.cmd_timeout > 0)
178+
if (params_.cmd_timeout > 0.0)
179179
{
180180
if (time - last_msg_received_ > cmd_timeout_)
181181
{

0 commit comments

Comments
 (0)