Skip to content

Commit 4038120

Browse files
lucaswbmagyar
authored andcommitted
I think this was responsible for at least some std::runtime_errors
Duration is out of dual 32-bit range that came from initializing a ros::Duration with an uninitialized double
1 parent a103c88 commit 4038120

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

joint_trajectory_controller/include/trajectory_interface/pos_vel_acc_state.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ struct PosVelAccState
7070
std::vector<Scalar> position;
7171
std::vector<Scalar> velocity;
7272
std::vector<Scalar> acceleration;
73-
Scalar time_from_start;
73+
Scalar time_from_start = Scalar(0);
7474
};
7575

7676
} // namespace

0 commit comments

Comments
 (0)