Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
kevindlewis23 committed Jun 7, 2024
1 parent e1fa647 commit 707bf19
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ik_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
- name: Download wheels
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: x86_64
Expand Down
2 changes: 1 addition & 1 deletion ik_python/test/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def check_general_robot(self, bot):
bot.robot.set_kinematics(kinematics)

# Generate 100 random robot configurations
qVals = np.random.rand(20, 6) * pi + pi/2
qVals = np.random.rand(20, 6) * 2 * pi
for i, q in enumerate(qVals):
# Get the forward kinematics result and then run inverse to see if we get the same thing
forward_kinematics = bot.robot.forward_kinematics(q)
Expand Down

0 comments on commit 707bf19

Please sign in to comment.