Skip to content

Commit 2373903

Browse files
committed
Merge branch 'main' of https://github.com/compas-dev/compas_fab into lazyload-vrep
2 parents 88cc770 + c803015 commit 2373903

28 files changed

+139
-860
lines changed

.bumpversion.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ tag = True
88
search = version = release = '{current_version}'
99
replace = version = release = '{new_version}'
1010

11+
[bumpversion:file:docs/getting_started.rst]
12+
search = {current_version}
13+
replace = {new_version}
14+
1115
[bumpversion:file:docs/doc_versions.txt]
1216
search = {current_version}
1317
replace = {new_version}

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ _Put an `x` in the boxes that apply. You can also fill these out after creating
1616
- [ ] I added a line to the `CHANGELOG.rst` file in the `Unreleased` section under the most fitting heading (e.g. `Added`, `Changed`, `Removed`).
1717
- [ ] I ran all tests on my computer and it's all green (i.e. `invoke test`).
1818
- [ ] I ran lint on my computer and there are no errors (i.e. `invoke lint`).
19-
- [ ] I added new functions/classes and made them available on a second-level import, e.g. `compas_fab.robots.Configuration`.
19+
- [ ] I added new functions/classes and made them available on a second-level import, e.g. `compas_fab.robots.CollisionMesh`.
2020
- [ ] I have added tests that prove my fix is effective or that my feature works.
2121
- [ ] I have added necessary documentation (if appropriate)

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
"windows-py38",
1818
"macos-py37",
1919
"ubuntu-py36",
20+
"ubuntu-py39",
2021
]
2122
include:
2223
- name: "windows-py38"
@@ -28,6 +29,9 @@ jobs:
2829
- name: "ubuntu-py36"
2930
os: ubuntu-latest
3031
python-version: 3.6
32+
- name: "ubuntu-py39"
33+
os: ubuntu-latest
34+
python-version: 3.9
3135
steps:
3236
- uses: actions/checkout@v2
3337
- name: Set up Python ${{ matrix.python-version }}

CHANGELOG.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,24 @@ Unreleased
1313
**Added**
1414

1515
* Added support for MoveIt on ROS Noetic
16+
* Added support for Python 3.9
1617

1718
**Changed**
1819

20+
* The `Configuration` class has moved to `compas.robots`, but is still aliased within `compas_fab.robots`
1921
* Lazily load `V-REP remoteApi` library
2022

2123
**Fixed**
2224

23-
* Fix ``repr()`` of ``ROSmsg`` class
24-
* Fix data type of secs and nsecs in ``Time`` ROS message
25+
* Fixed ``repr()`` of ``ROSmsg`` class
26+
* Fixed data type of secs and nsecs in ``Time`` ROS message
27+
* Fixed ``CollisionObject.to_collision_meshes``
28+
* Fixed serialization of joint names for ``compas_fab.robots.JointTrajectoryPoint``
2529

2630
**Deprecated**
2731

32+
* `compas_fab.robots.Configuration` is being deprecated in favor of `compas.robots.Configuration`
33+
2834
**Removed**
2935

3036
0.17.0

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
html_last_updated_fmt = '%b %d, %Y'
9393
html_copy_source = False
9494
html_show_sourcelink = False
95+
html_permalinks = False
9596
html_add_permalinks = ''
9697
html_experimental_html5_writer = True
9798
html_compact_lists = True

docs/examples/02_description_models/files/02_robot_artist_grasshopper.ghx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ robot = st[robot_key]
502502
<chunk name="Container">
503503
<items count="11">
504504
<item name="CodeInput" type_name="gh_string" type_code="10">import math
505-
from compas_fab.robots import Configuration
505+
from compas.robots import Configuration
506506

507507
if robot:
508508
joint_values = [a1, a2, a3, a4, a5, a6]

docs/examples/02_description_models/files/02_robot_artist_grasshopper_panda.ghx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ robot = st[robot_key]
497497
<chunk name="Container">
498498
<items count="11">
499499
<item name="CodeInput" type_name="gh_string" type_code="10">import math
500-
from compas_fab.robots import Configuration
500+
from compas.robots import Configuration
501501

502502
if robot:
503503
joint_values = [a1, a2, a3, a4, a5, a6, a7]
@@ -2651,7 +2651,7 @@ W = 3</item>
26512651
<items count="11">
26522652
<item name="CodeInput" type_name="gh_string" type_code="10">import math
26532653
from compas.robots import Joint
2654-
from compas_fab.robots import Configuration
2654+
from compas.robots import Configuration
26552655

26562656
if robot:
26572657
joint_values = [j1]

docs/examples/03_backends_ros/files/03_forward_kinematics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
from compas.robots import Configuration
12
from compas_fab.backends import RosClient
2-
from compas_fab.robots import Configuration
33

44
with RosClient() as client:
55
robot = client.load_robot()

docs/examples/03_backends_ros/files/03_forward_kinematics_urdf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from compas_fab.robots import Configuration
1+
from compas.robots import Configuration
22
from compas_fab.robots.ur5 import Robot
33

44
robot = Robot()

docs/examples/03_backends_ros/files/05_plan_cartesian_motion.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22

33
from compas.datastructures import Mesh
44
from compas.geometry import Frame
5+
from compas.robots import Configuration
56

67
import compas_fab
78
from compas_fab.backends import RosClient
8-
from compas_fab.robots import Configuration, CollisionMesh, AttachedCollisionMesh
9+
from compas_fab.robots import CollisionMesh, AttachedCollisionMesh
910

1011
with RosClient() as client:
1112
robot = client.load_robot()

0 commit comments

Comments
 (0)