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

Solve Dependency on irobot_create_msgs? #7

Closed slowrunner closed 2 years ago

slowrunner commented 2 years ago

The README explains there is a dependency, but I don't know where to put irobot_create_msgs and how to build it?

Posted detailed question at https://robotics.stackexchange.com/questions/22807/getting-a-head-start-with-irobot-create3-ros2

slowrunner commented 2 years ago

Is this the correct solution?

mkdir -p create3_examples_ws/src
cd create3_examples_ws/src
git clone https://github.com/iRobotEducation/create3_examples.git
git clone https://github.com/iRobotEducation/irobot_create_msgs.git   <--- seems to allow the build to proceed.
cd ..
colcon build
source install/local_setup.sh
alsora commented 2 years ago

The irobot_create_msgs dependency is a standard ROS 2 package, so there are no requirements on where to place it and how to build it (as long as the packages that depend on it, e.g. the create 3 examples, can find it).

The two most common options are:

slowrunner commented 2 years ago

Thank you. I'm only with ROS for a few months now creating very basic ROS2 nodes for my GoPiGo3 robot from scratch. Eager to learn about the Create3 ROS2 nodes created by folks that already understand ROS2.