-
Is there a way to control the create 3 with python? I've just been using the os module but it takes forever, and I wondered If there was a faster way. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Hi @TheInventor2023, ROS 2 has client libraries in several different languages, Python included. Find here an example on how to use rclpy library with create 3 to move the robot and change its lights https://github.com/iRobotEducation/create3_examples/tree/galactic/create3_examples_py |
Beta Was this translation helpful? Give feedback.
-
Thanks, It works now! Is there a list of different actions to call in python? |
Beta Was this translation helpful? Give feedback.
-
I agree with @alsora and @shamlian above :) Additionally, if you are looking for a slightly simpler way to interact with the Create 3 besides using ROS 2, you could always connect via Bluetooth and program it with Python using the iRobot Education Python Web Playground or the iRobot Education Python SDK 😄 |
Beta Was this translation helpful? Give feedback.
Hi @TheInventor2023, ROS 2 has client libraries in several different languages, Python included.
The client libraries are the recommended way to use ROS in real applications, while the command line tools are meant for quick tests and examples.
Find here an example on how to use rclpy library with create 3 to move the robot and change its lights https://github.com/iRobotEducation/create3_examples/tree/galactic/create3_examples_py