Skip to content

Commit

Permalink
fix(tier4_control_rviz_plugin): add time stamp for control command (#…
Browse files Browse the repository at this point in the history
…2154)

Signed-off-by: tanaka3 <[email protected]>

Signed-off-by: tanaka3 <[email protected]>
  • Loading branch information
taikitanaka3 authored Oct 26, 2022
1 parent 897794a commit 03b6ce4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,10 @@ ManualController::ManualController(QWidget * parent) : rviz_common::Panel(parent

void ManualController::update()
{
if (!raw_node_) return;
AckermannControlCommand ackermann;
{
ackermann.stamp = raw_node_->get_clock()->now();
ackermann.lateral.steering_tire_angle = steering_angle_;
ackermann.longitudinal.speed = cruise_velocity_;
if (current_acceleration_) {
Expand Down

0 comments on commit 03b6ce4

Please sign in to comment.