File tree 2 files changed +4
-2
lines changed
nexus_system_orchestrator/src
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -860,7 +860,7 @@ void SystemOrchestrator::_halt_job(const std::string& job_id)
860
860
std::make_shared<endpoints::RemovePendingTaskService::ServiceType::Request>();
861
861
req->task_id = task_id;
862
862
const auto resp =
863
- this ->_workcell_sessions .at (task_id )->remove_pending_task_client ->
863
+ this ->_workcell_sessions .at (wc_id )->remove_pending_task_client ->
864
864
send_request (req);
865
865
if (!resp->success )
866
866
{
Original file line number Diff line number Diff line change @@ -105,7 +105,9 @@ WorkcellRequest::make_goal()
105
105
void WorkcellRequest::on_feedback (
106
106
endpoints::WorkcellRequestAction::ActionType::Feedback::ConstSharedPtr msg)
107
107
{
108
- this ->_ctx ->task_states .at (this ->_task .id ) = msg->state ;
108
+ // Will insert a new state if one was not created at work order creation time
109
+ // i.e. for transportation requests that are done after task assignments
110
+ this ->_ctx ->task_states [this ->_task .id ] = msg->state ;
109
111
this ->_on_task_progress (this ->_ctx ->task_states );
110
112
}
111
113
You can’t perform that action at this time.
0 commit comments