iRobotEducation / create3_examples

Example nodes to drive the iRobot® Create® 3 Educational Robot
BSD 3-Clause "New" or "Revised" License
51 stars 12 forks source link

DOCK/UNDOCK example request #28

Open BertVanAcker opened 1 year ago

BertVanAcker commented 1 year ago

Hello, I'm currently working on some own packages to work with the irobot create 3 robot. I'm running into problems when performing a dock/undock action. If i'm executing a dock/undock activity, I cannot check the status of the action. More specific, it seems that the action never finishes succesfully. Even with the CLI commands to dock and undock, I never reveive a "Goal finished with status: SUCCEEDED" message. Is it possible to provide a python example how to process the status of the docking, e.g. to wait to move to the next scheduled goals? Thanks in advance

alsora commented 1 year ago

Hi @BertVanAcker, the Create 3 dock and undock actions work as standard ROS 2 actions, they don't have anything special. You can find C++ examples for dock and undock.

Later today I plan to look in details at your code snippet and provide suggestions in the discussion https://github.com/iRobotEducation/create3_docs/discussions/131

I will keep this ticket open as a request to provide more general Python examples.