Skip to content

Commit

Permalink
Update fuse_tutorials/src/three_dimensional_simulator.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Bilal Gill <[email protected]>
  • Loading branch information
henrygerardmoore and bgill92 authored Oct 2, 2024
1 parent a98ef09 commit ea4e374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fuse_tutorials/src/three_dimensional_simulator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ nav_msgs::msg::Odometry::SharedPtr robotToOdometry(const Robot& state)
*/
Robot simulateRobotMotion(const Robot& previous_state, const rclcpp::Time& now, Eigen::Vector3d external_force)
{
auto dt = (now - previous_state.stamp).seconds();
const auto dt = (now - previous_state.stamp).seconds();
auto next_state = Robot();
next_state.stamp = now;
next_state.mass = previous_state.mass;
Expand Down

0 comments on commit ea4e374

Please sign in to comment.