Skip to content

Commit

Permalink
Fix auton unit test, add spirv tools to ansible
Browse files Browse the repository at this point in the history
  • Loading branch information
qhdwight committed Apr 18, 2024
1 parent 8b0543e commit 14f406a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions ansible/roles/build/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
- ros-{{ ros_distro }}-rosbash
- libbullet-dev
- libglfw3-dev
- spirv-tools
- libx11-xcb-dev
- libnl-3-dev
- libnl-route-3-dev
Expand Down
4 changes: 2 additions & 2 deletions test/navigation/drive_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def test_turn_right(self):
print(cmd)
print(done)
self.assertLess(cmd.angular.z, 0.0)
self.assertEqual(cmd.angular.z, -1.0)
self.assertEqual(cmd.angular.z, -0.7)
self.assertEqual(cmd.linear.x, 0.0)

def test_turn_left(self):
Expand All @@ -59,7 +59,7 @@ def test_turn_left(self):
print(cmd)
print(done)
self.assertGreater(cmd.angular.z, 0.0)
self.assertEqual(cmd.angular.z, 1.0)
self.assertEqual(cmd.angular.z, 0.7)
self.assertEqual(cmd.linear.x, 0.0)

def test_straight_angle(self):
Expand Down

0 comments on commit 14f406a

Please sign in to comment.