Skip to content

Commit 53ccefb

Browse files
committed
Merge branch 'master' into future
2 parents c003c3f + 7f1bcae commit 53ccefb

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

Diff for: .github/workflows/test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
runs-on: ${{ matrix.os }}
1414
strategy:
1515
matrix:
16-
os: [windows-latest, ubuntu-latest, macos-latest]
17-
python-version: [3.7, 3.8, 3.9, "3.10"]
16+
os: [windows-latest, ubuntu-latest]
17+
python-version: [3.7, 3.8, 3.9, "3.10", 3.11, 3.12]
1818
steps:
1919
- uses: actions/checkout@v2
20-
- name: Set up Python ${{ matrix.python-version }}
20+
- name: Set up Python ${{ matrix.python-version }} for ${{ matrix.os }}
2121
uses: actions/setup-python@v1
2222
with:
2323
python-version: ${{ matrix.python-version }}

Diff for: README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ orientation parallel to y-axis (O=+Y)).
197197
from spatialmath import SE3
198198

199199
Tep = SE3.Trans(0.6, -0.3, 0.1) * SE3.OA([0, 1, 0], [0, 0, -1])
200-
sol = robot.ik_lm_chan(Tep) # solve IK
200+
sol = robot.ik_LM(Tep) # solve IK
201201
print(sol)
202202

203203
(array([ 0.20592815, 0.86609481, -0.79473206, -1.68254794, 0.74872915,
@@ -239,14 +239,14 @@ We can also experiment with velocity controllers in Swift. Here is a resolved-ra
239239

240240
```python
241241
import swift
242-
import roboticstoolbox as rp
242+
import roboticstoolbox as rtb
243243
import spatialmath as sm
244244
import numpy as np
245245

246246
env = swift.Swift()
247247
env.launch(realtime=True)
248248

249-
panda = rp.models.Panda()
249+
panda = rtb.models.Panda()
250250
panda.q = panda.qr
251251

252252
Tep = panda.fkine(panda.q) * sm.SE3.Trans(0.2, 0.2, 0.45)
@@ -258,7 +258,7 @@ dt = 0.05
258258

259259
while not arrived:
260260

261-
v, arrived = rp.p_servo(panda.fkine(panda.q), Tep, 1)
261+
v, arrived = rtb.p_servo(panda.fkine(panda.q), Tep, 1)
262262
panda.qd = np.linalg.pinv(panda.jacobe(panda.q)) @ v
263263
env.step(dt)
264264

Diff for: pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ docs = [
9090
"sphinx_rtd_theme",
9191
"sphinx-autorun",
9292
"sphinx_autodoc_typehints",
93+
"sphinx-favicon",
9394
]
9495

9596

Diff for: rtb-data/setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
with open(os.path.join(here, "README.md"), encoding="utf-8") as f:
99
long_description = f.read()
1010

11-
release = "1.0.1"
11+
release = "1.1.0"
1212

1313
# list all data folders here, to ensure they get packaged
1414

@@ -22,7 +22,7 @@
2222

2323
def package_files(directory):
2424
paths = []
25-
for (pathhere, _, filenames) in os.walk(directory):
25+
for pathhere, _, filenames in os.walk(directory):
2626
for filename in filenames:
2727
paths.append(os.path.join("..", pathhere, filename))
2828
return paths

0 commit comments

Comments
 (0)