virantha / bricknil

Control LEGO Bluetooth Sensors and Motors with Python
https://virantha.github.io/bricknil
Apache License 2.0
142 stars 39 forks source link

Cannot connect to Large Angular Motor for a Technic Hub set #27

Open deslay1 opened 3 years ago

deslay1 commented 3 years ago

Hi!

I have trouble connecting to the position motor (called large angular motor) in the 6x6 Volvo Technic set (42114). I have followed the example script and was able to connect to the normal large and extra large linear motors with no problems. My problem is connecting to the angular motor.

I tried using a bunch of motors and nothing worked.

Is there something I'm missing? Is it not supported? Has anyone faced this kind of issue before?

Would appreciate any guidance and discussion!

justxi commented 3 years ago

I added the the angular motor used in the Volvo Dumper and @janvrany merged it into his fork. -> https://github.com/janvrany/bricknil/blob/63a125224beefeb77a3068c5a792a65b36017549/bricknil/sensor/motor.py#L604