Skip to content

Commit

Permalink
Updated the CI not running error and instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanjay Jayalakshmi Prabakar committed Sep 16, 2024
1 parent b7a2797 commit 0e24b5f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
9 changes: 7 additions & 2 deletions cadre_demo/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

# Base image
FROM osrf/space-ros:latest

Expand All @@ -20,7 +19,13 @@ RUN apt-get install -y \
python3-rosdep \
python3-setuptools \
python3-vcstool \
wget
wget \
# Install additional utilities
ros-humble-xacro \
ros-humble-rviz2 \
# Clean up to reduce image size
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# Install ROS 2 dependencies
RUN apt-get update && apt-get install -y \
Expand Down
12 changes: 6 additions & 6 deletions cadre_demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ Spawn coordinates[ x_,y_z_,roll_,pitch_yaw_]- location of the new rover

Follow these passages to build the docker image and start a docker container.

1. Clone this repository, change the directory to demos\CADRE_demo
1. Clone this repository, Go inside the directory to demos\CADRE_demo

2. Run the build script
``````
Expand All @@ -167,8 +167,7 @@ chmod +x build.sh
3. Start the container by executing

```
chmod +x run.sh
./run.sh
docker run -it --entrypoint /bin/bash openrobotics/cadre_demo
```

4. (optional) Additional terminals can be opened by executing
Expand All @@ -193,12 +192,13 @@ source /opt/ros/${ROS_DISTRO}/setup.bash
2. Build Your Workspace ex: CADRE_demo

```
cd ~/CADRE_demo/
cd ..
cd CADRE_demo/
colcon build --symlink-install
```
3. Source your workspace.
```
source ~/CADRE_demo/install/setup.bash
source install/setup.bash
```

4. Run the launch file.
Expand All @@ -216,7 +216,7 @@ With this, will start the gazebo simulator and Rviz with the three CADRE rovers
In another terminal,

1. Excutable Premmsion for python files.
```cd ~/CADRE_demo/src/robot_control/scripts/
```cd CADRE_demo/src/robot_control/scripts/
chmod +x joy.py
chmod +x mapping.py
```
Expand Down

0 comments on commit 0e24b5f

Please sign in to comment.