segfault on task cancellation
cnboonhan opened this issue · comments
Charayaphan Nakorn Boon Han commented
I seem to segfault the fleet adapter when i try to cancel tasks using swagger api of rmf-web.
segfault.mp4
To reproduce, use this workspace: test.repos.txt then run
# RMF
ros2 launch rmf_demos_gz office.launch.xml server_uri:="ws://localhost:8001" headless:=1 use_sim_time:=false
# rmf-web
RMF_API_SERVER_USE_SIM_TIME=false rmf_api_server
npm run start:react
(in task panel in dashboard , Send Loop request)
# localhost:8000/docs, send this under POST /task/cancel_task
{
"type": "cancel_task_request",
"task_id": "patrol.dispatch-0",
"labels": [
"string"
]
}
Grey commented
This is fixed by open-rmf/rmf_task#57