Skip to content

Commit 3b75091

Browse files
committed
Update Dockerfile and demo setup instructions.
1 parent b4086e2 commit 3b75091

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ RUN apt-get update && apt-get install -y \
2626

2727
# RUN apt-get clean && rm -rf /var/lib/apt/lists/*
2828
RUN apt-get update && apt-get install -y python3.9
29-
RUN apt-get update && apt-get install -y python3-pip default-jre feh
30-
RUN python3 -m pip install -U python-dotenv catkin_tools && \
31-
python3.9 -m pip install -U langchain langchain-openai python-dotenv numpy
29+
RUN apt-get update && apt-get install -y python3-pip
30+
RUN python3 -m pip install -U python-dotenv catkin_tools
31+
RUN python3.9 -m pip install -U jpl-rosa
3232

3333
# Configure ROS
3434
RUN rosdep update
@@ -37,7 +37,6 @@ RUN echo "export ROSLAUNCH_SSH_UNKNOWN=1" >> /root/.bashrc
3737

3838
COPY . /app/
3939
WORKDIR /app/
40-
RUN python3.9 -m pip install --user -e .
4140

4241
# Run roscore in the background, then run `rosrun turtlesim turtlesim_node` in a new terminal, finally run main.py in a new terminal
4342
CMD /bin/bash -c 'source /opt/ros/noetic/setup.bash && \

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,14 @@ for ROS2 variants.
1717

1818

1919
# TurtleSim Demo
20-
We have included a demo that uses ROSA to control the TurtleSim simulator. You can run the demo using the following command:
20+
We have included a demo that uses ROSA to control the TurtleSim simulator.
21+
22+
## Configure your LLM
23+
You will need to configure your LLM by setting the environment variables found in `.env`. You will also need
24+
to ensure the correct LLM is configured in the `src/turtle_agent/turtle_agent.py` file, specifically in the
25+
`get_llm()` function.
26+
27+
After that is configured properly, you can run the demo using the following command:
2128

2229
```bash
2330
./demo.sh

src/turtle_agent/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
jpl-rosa

0 commit comments

Comments
 (0)