Skip to content

Commit

Permalink
Merge pull request #1465 from tier4/fix/request-enable-autoware-control
Browse files Browse the repository at this point in the history
  • Loading branch information
HansRobo authored Dec 13, 2024
2 parents 081643a + d839c3e commit 02b0302
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ auto FieldOperatorApplicationFor<AutowareUniverse>::enableAutowareControl() -> v
{
task_queue.delay([this]() {
auto request = std::make_shared<autoware_adapi_v1_msgs::srv::ChangeOperationMode::Request>();
requestEnableAutowareControl(request);
requestEnableAutowareControl(request, 30);
});
}

Expand Down
1 change: 1 addition & 0 deletions simulation/traffic_simulator/src/api/api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ auto API::respawn(

entity_manager_ptr_->asFieldOperatorApplication(name).clearRoute();
entity_manager_ptr_->asFieldOperatorApplication(name).plan({goal_pose});
entity_manager_ptr_->asFieldOperatorApplication(name).enableAutowareControl();
entity_manager_ptr_->asFieldOperatorApplication(name).engage();
}
}
Expand Down

0 comments on commit 02b0302

Please sign in to comment.