Skip to content

Commit

Permalink
add time to gear cmd (#128)
Browse files Browse the repository at this point in the history
Signed-off-by: Go Sakayori <[email protected]>
  • Loading branch information
go-sakayori authored Oct 2, 2024
1 parent 90863d8 commit 2185b71
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ void ManualController::update()
}
GearCommand gear_cmd;
{
gear_cmd.stamp = raw_node_->get_clock()->now();
const double eps = 0.001;
if (control_cmd.longitudinal.velocity > eps && current_velocity > -eps) {
gear_cmd.command = GearCommand::DRIVE;
Expand Down

0 comments on commit 2185b71

Please sign in to comment.