Skip to content

Commit

Permalink
setting default i2c value in simulation.env to 0 for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderBarbie committed Sep 8, 2024
1 parent 21e7aca commit af62e8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push-x64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Speed tests using Gazebo headless
working-directory: ./PiCar-X
run: |
i2c=/dev/i2c-0 docker compose -f docker-compose-dtp-headless-gazebo.yml up -d
I2C=/dev/i2c-0 docker compose -f docker-compose-dtp-headless-gazebo.yml up -d
docker exec picar-x-picarx-gazebo-control-1 /bin/bash -c "source ./install/setup.bash && sleep 30; python3 ./src/simulation/picarx_control/tests/steering_integration_test.py"
- name: Remove running containers after tests
Expand Down
2 changes: 1 addition & 1 deletion PiCar-X/env/simulation.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ROS_MASTER_URI=http://picarx-gazebo:11312
ROS_HOST_PORT=11312
I2C=/dev/i2c-1
I2C=/dev/i2c-0

0 comments on commit af62e8b

Please sign in to comment.