instantiate hub with setting axis not possible #1396
JohnGottiGe
started this conversation in
General
Replies: 1 comment 2 replies
-
|
Here is an example you could try: https://docs.pybricks.com/en/latest/hubs/primehub.html#using-a-custom-hub-orientation Does your script include the following line? from pybricks.parameters import Axis |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Everyone,
I just installed pybricks on our inventor hub and since I want to use the inbuild PID to drive and we have our hub installed horizontally, with the right side as the front. So I have to change the axis during instansiation of the hub. So I tried myHub = PrimeHub(top_side=Axis.Z, front_side=Axis.Y), but this did not work, I get the error that Axis isn't defined.
Can somebody help with this issue?
Beta Was this translation helpful? Give feedback.
All reactions