Skip to content

Commit 585b1b8

Browse files
committed
pybricks.parameters.Side: Change Technic Hub orientation.
This makes it consistent with other hubs. See: pybricks/support#848 The IMU section was not included in V3.1 so it is not a breaking change, but we add a versionchanged comment just in case.
1 parent d9dfd0e commit 585b1b8

File tree

7 files changed

+71
-61
lines changed

7 files changed

+71
-61
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
## Unreleased
66

7+
### Changed
8+
- Updated "front" side of the Technic Hub to be consistent with
9+
the Prime Hub.
10+
711
## 3.2.0b6 - 2022-12-02
812

913
### Added

doc/main/cad/copy-renders.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ cp LPub3D/assem/main_1_hubs_1_hub-prime-*35_-35_0_ABS.png output/hub-prime.png
2424
cp LPub3D/assem/main_1_hubs_1_hub-prime-*45_45_0_ABS.png output/hub-prime-orientation.png
2525
cp LPub3D/assem/main_1_hubs_1_hub-prime-*90_0_0_ABS.png output/hub-prime-display.png
2626
cp LPub3D/assem/main_1_hubs_1_hub-technic-*35_-35_0_ABS.png output/hub-technic.png
27-
cp LPub3D/assem/main_1_hubs_1_hub-technic-*45_-135_0_ABS.png output/hub-technic-orientation.png
27+
cp LPub3D/assem/main_1_hubs_1_hub-technic-*45_45_0_ABS.png output/hub-technic-orientation.png
2828
cp LPub3D/assem/main_1_iodevices-*.png output/iodevice-all.png
2929
cp LPub3D/assem/main_1_iodevices_1_iodevice-dcmotor-*.png output/iodevice-dcmotor.png
3030
cp LPub3D/assem/main_1_iodevices_1_iodevice-pupdevice-*.png output/iodevice-pupdevice.png

doc/main/cad/devices.mpd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@
163163
1 71 0 0 0 1 0 0 0 1 0 0 0 1 22127.dat
164164
0 ROTSTEP 35 -35 0 ABS
165165
1 71 0 0 0 1 0 0 0 1 0 0 0 1 22127.dat
166-
0 ROTSTEP 45 -135 0 ABS
166+
0 ROTSTEP 45 45 0 ABS
167167
0 NOFILE
168168
0
169169
0 FILE hub-prime.ldr
@@ -837,5 +837,6 @@
837837
1 0 40 0 220 1 0 0 0 1 0 0 0 1 hub-city.ldr
838838
1 0 450 0 -40 1 0 0 0 1 0 0 0 1 hub-move.ldr
839839
0 ROTSTEP 40 -35 0 ABS
840+
0
840841
0
841842
0
4.42 KB
Loading
3.57 KB
Loading

doc/main/diagrams_source/orientation_technichub.svg

Lines changed: 59 additions & 58 deletions
Loading

doc/main/parameters/side.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,11 @@ Side
5656
.. figure:: ../../main/diagrams/orientation_technichub.png
5757
:width: 60%
5858

59+
.. versionchanged:: 3.2
60+
61+
Changed which side is the front.
62+
5963
**Tilt Sensor**
6064

6165
.. figure:: ../../main/diagrams/orientation_tiltsensor.png
62-
:width: 60%
66+
:width: 50%

0 commit comments

Comments
 (0)