mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
The simulator was using pthread APIs directly so calls to px4_getpid() would fail since the task ID was not known. Changed simulator to use px4_task_spawn_cmd. Signed-off-by: Mark Charlebois <charlebm@gmail.com>