The node cannot be reconnected to the drone after the node is killed
RPS98 opened this issue · comments
Tell us about your environment
- Ubuntu version: 22.04
- Docker Version:
- ROS/ROS2 version: ROS 2 Humble
- Commit hash: main 94cfd3a
Steps to reproduce issue
- Launch PSDK wrapper and wait for connection
- Kill the node using SIGINT (Ctrl+C)
- Relaunch the PSDK wrapper and observe that the connection fails, as the DJI Core cannot be initialized
Expected behavior
Being able to reconnect to the drone without rebooting it.
Actual behavior
I must reboot the drone after each connection.
Are you willing to make a PR? If yes, add the PR link here.
I found a solution by calling the DJI Core and module Deinit
functions in PR #77
Closing this as the PR has been merged!