-
Notifications
You must be signed in to change notification settings - Fork 323
Improve installation and testing documentation in README #140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: humble-devel
Are you sure you want to change the base?
Improve installation and testing documentation in README #140
Conversation
@saikishor can you review this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much for your contribution.
Very much appreciated
It would be cool, if you can modify to have only for ROS 2 , as ROS 1 is about to EOL
README.md
Outdated
* Visual servoing: track object and hand at the same time | ||
### Prerequisites | ||
- A compatible Ubuntu version for your chosen ROS distribution | ||
- ROS installed (ROS 1 or ROS 2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you mention the OpenCV versions as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure will do
README.md
Outdated
### 2. Creating a ROS Workspace | ||
|
||
```bash | ||
# Create a workspace folder | ||
mkdir -p ~/aruco_ws/src | ||
cd ~/aruco_ws/src | ||
``` | ||
|
||
### 3. Clone the aruco_ros Repository | ||
|
||
```bash | ||
# Clone the repository | ||
git clone https://github.com/pal-robotics/aruco_ros.git -b <distro>-devel | ||
``` | ||
Replace `<distro>` with your ROS distribution name (e.g., melodic, noetic, humble) | ||
|
||
### 4. Install Dependencies | ||
|
||
```bash | ||
# Navigate to the workspace root | ||
cd ~/aruco_ws | ||
# Install dependencies using rosdep | ||
rosdep install --from-paths src --ignore-src -r -y | ||
``` | ||
|
||
### 5. Build the Workspace | ||
|
||
For ROS 1: | ||
```bash | ||
# Build the workspace using catkin_make | ||
cd ~/aruco_ws | ||
catkin_make | ||
# Source the setup file to update environment | ||
source devel/setup.bash | ||
``` | ||
|
||
For ROS 2: | ||
```bash | ||
# Build the workspace using colcon | ||
cd ~/aruco_ws | ||
colcon build | ||
# Source the setup file to update environment | ||
source install/setup.bash | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All of this, I would set under a section Build from Source
And it would be great, if you can add a section "Using Binaries"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will do the required changes
README.md
Outdated
### 6. Installing REEM Robot Simulation (Optional) | ||
|
||
If you want to test with the REEM robot as in the examples below, you'll need to install the REEM robot packages from source: | ||
|
||
```bash | ||
# Create a workspace for REEM if you don't want to use your existing one | ||
mkdir -p ~/reem_ws/src | ||
cd ~/reem_ws/src | ||
|
||
# Clone the necessary repositories | ||
git clone https://github.com/pal-robotics/reem_robot.git | ||
git clone https://github.com/pal-robotics/reem_simulation.git | ||
git clone https://github.com/pal-robotics/pal_gazebo_worlds.git -b <distro>-devel | ||
|
||
# Install dependencies | ||
cd ~/reem_ws | ||
rosdep install --from-paths src --ignore-src -r -y | ||
|
||
# Build the workspace | ||
# For ROS 1: | ||
catkin_make | ||
source devel/setup.bash | ||
|
||
# For ROS 2: | ||
colcon build | ||
source install/setup.bash | ||
``` | ||
|
||
Replace `<distro>` with your ROS distribution name (e.g., noetic, humble) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this part
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for reviewing this!
@saikishor I've made all the requested changes to the README:
Could you please verify these changes? Let me know if anything else needs adjustment. |
@saikishor Did you get a chance to review this? If everything looks good, could you please close the PR? Thanks! |
Overview
This PR enhances the README.md documentation for the aruco_ros repository by adding comprehensive installation and setup instructions while preserving all existing content. These improvements aim to lower the barrier to entry for new users and make the repository more accessible.
Changes Made
Benefits
Testing Done
I've verified that these installation instructions work properly on Ubuntu 20.04 with ROS Noetic and Ubuntu 22.04 with ROS Humble. All commands and paths have been carefully checked for accuracy.
Motivation
I'm interested in contributing to this project as part of my GSoC application. After reviewing the repository, I identified documentation as an area where I could make an immediate positive impact while familiarizing myself with the codebase.
I look forward to any feedback and am happy to make additional changes as needed.