Skip to content

Commit 8725e91

Browse files
authored
Merge pull request #380 from compas-dev/update-ghcomponents-install
Update gh component install
2 parents 6411922 + 9f02fe0 commit 8725e91

File tree

20 files changed

+47
-138
lines changed

20 files changed

+47
-138
lines changed

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
_Put an `x` in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code._
1515

16-
- [ ] I added a line to the `CHANGELOG.rst` file in the `Unreleased` section under the most fitting heading (e.g. `Added`, `Changed`, `Removed`).
16+
- [ ] I added a line to the `CHANGELOG.md` 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`).
1919
- [ ] I added new functions/classes and made them available on a second-level import, e.g. `compas_fab.robots.CollisionMesh`.

.github/workflows/build.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
name: [
1717
"windows-py38",
1818
"macos-py37",
19-
"ubuntu-py36",
2019
"ubuntu-py39",
2120
]
2221
include:
@@ -26,9 +25,6 @@ jobs:
2625
- name: "macos-py37"
2726
os: macos-latest
2827
python-version: 3.7
29-
- name: "ubuntu-py36"
30-
os: ubuntu-latest
31-
python-version: 3.6
3228
- name: "ubuntu-py39"
3329
os: ubuntu-latest
3430
python-version: 3.9

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313

1414
**Changed**
1515

16+
* Updated install process of GH components.
17+
1618
**Fixed**
1719

1820
**Deprecated**

src/compas_fab/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ def get(filename):
9595
__all_plugins__ = [
9696
"compas_fab.rhino.install",
9797
"compas_fab.rhino.artists",
98+
"compas_fab.ghpython.install",
9899
"compas_fab.ghpython.artists",
99100
"compas_fab.blender.artists",
100101
]

src/compas_fab/backends/kinematics/solvers/spherical_wrist.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ def inverse_kinematics_spherical_wrist(target_frame, points):
164164
axis1_angles += [a2] * 4
165165

166166
for i in range(2):
167-
168167
axis1_angle = axis1_angles[i * 4]
169168
Rot1 = Rotation.from_axis_and_angle([0, 0, 1], -1 * axis1_angle, point=[0, 0, 0])
170169
p1A = p1_proj.transformed(Rot1)

src/compas_fab/backends/ros/client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,6 @@ def get_configuration(self):
223223
pass
224224

225225
def follow_configurations(self, callback, joint_names, configurations, timesteps, timeout=60000):
226-
227226
if len(configurations) != len(timesteps):
228227
raise ValueError(
229228
"%d configurations must have %d timesteps, but %d given."

src/compas_fab/backends/ros/direct_ur_action_client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ def send_goal(self, goal, result_callback=None, timeout=None):
114114

115115

116116
def direct_ur_movel(ros_client, callback, frames, acceleration=None, velocity=None, time=None, radius=None):
117-
118117
action_client = DirectUrActionClient(ros_client, timeout=50000)
119118

120119
script_lines = []

src/compas_fab/backends/ros/messages/direct_ur.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ def msg(self):
113113

114114

115115
if __name__ == "__main__":
116-
117116
from compas.geometry import Frame
118117

119118
f1 = Frame((0.0, -193, 1001.0), (-1.0, 0.0, 0.0), (0.0, 0.0, -1.0))

src/compas_fab/backends/ros/messages/services.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ class MotionPlanResponse(ROSmsg):
173173
ROS_MSG_TYPE = "moveit_msgs/MotionPlanResponse"
174174

175175
def __init__(self, trajectory_start=None, group_name=None, trajectory=None, planning_time=None, error_code=None):
176-
177176
self.trajectory_start = trajectory_start or RobotState()
178177
self.group_name = group_name or ""
179178
self.trajectory = trajectory or RobotTrajectory()

src/compas_fab/ghpython/components/Cf_ConfigMerge/code.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
class ConfigMerge(component):
1010
def RunScript(self, config_a, config_b):
11-
1211
if config_a and config_b:
1312
return config_a.merged(config_b)
1413

0 commit comments

Comments
 (0)