-
Posts
338 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Everything posted by vascolp
-
Pybricks Q&A
vascolp replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
That is strange. In my experience, doing: m1.control.limits(speed=2000) before calling run() should work. Try also changing the acceleration, if I remember the default is a bit slow m1.control.limits(speed=2000, acceleration=2000) Have fun! -
Pybricks Q&A
vascolp replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Careful. The problem does exist as I described… not while playing but at initialization time, if you just do a run_target(0) and it happens to be in 4th. It is not difficult to avoid it, though. For instance do this at initialization: d.reset_angle() # Set initial angle to absolute 0 if d.angle()<0: # Go to absolute zero always in backwards direction d.run_angle(-300, 180, Stop.COAST, True) d.reset_angle() d.run_target(300, 0, Stop.COAST, True) Cool to see it alive! The approach described by @gyenesvi is definitely better... in fact thats what I use too..... -
Pybricks Q&A
vascolp replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
@gyenesvi is correct in everything! That means, don´t use run_angle() use run_target(). Notice the following. run_target() will choose the best path. So, for instance, when you turn it on, if your gearbox was left on 4th gear, the run_target() will probably run from 4th to 1st (instead of 3rd, 2nd, 1st). If you have a physical limiter to avoid jumps from 4th to 1st this might be a problem… On the other hand, if you have a physical limiter, you can use the run_until_stalled() method with a negative speed to go back to 1st speed and then do a reset_angle(0). This will set the zero to the current position, so you do not need to care with absolute zero of your motor, which might be useful sometimes. Lots of stuff to play with! -
Pybricks Q&A
vascolp replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
As a first approach you could try trunc(angle/90)*90. It requires: from math import trunc Good luck! -
[MOD] 42104 Race Truck RC
vascolp replied to vascolp's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Thank you! -
I Everybody! This is an RC version of LEGO 42104 Race Truck. Motorization is controlled by pybricks program Remote Bla Bla, so controlling is done by the LEGO Handset, no need for a mobile phone device. It was fun to include a hub and two motors in such a small scale, although the driving motor is kind of outboard. At the beginning it feels a bit clumsy compared to the original set but one gets used to it. It's a cute little truck! Steering at this scale is a bit wobbly, but it works fine enough. I wonder how it would be with the Small Angular Motor for steering. Probably both motors could fit... but I don't have one. Steering motor is embedded in the chassis. Drive motor is outboard in the rear. Two configurations are presented: Simple Drive Mode: Drive motor with two modes:on and off Steped Drive Mode: Drive motor with seven power steps More pictures in bricksafe; Instructions in rebrickable; Remote Bla Bla in github; Some pictures: and a video: Have fun!
-
The Future of Technic
vascolp replied to Paul B Technic's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
May be this could help you... -
Technic in Portugal
vascolp replied to u118224's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
It's like an ebay but no auctions, you deal directly with the seller. And you are on your own, no insurance. That's why I prefer face to face deals. -
Technic in Portugal
vascolp replied to u118224's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Tough question! Most of my Lego, new and second hand, was bought in olx.pt. You can try to see if you can get some good deal close to you. It seems that there is this Lego Fun Factory in Algarve, but I never heard anything about it. In Lisbon El Corte Ingles has a good collection, but expensive. Anyway I always thought that Lego in US would be cheaper than in Portugal... may be you can tell me about it later. Good luck! -
[sMOC] Remote Bla Bla
vascolp replied to vascolp's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Hi Everybody, A new version of RemoteBlaBla was just released, release v1.00, here. It now includes the following types of modes: Power: modes that set electrical power on the motor. No sensors are used, so any motor can be used. Speed: modes that use motor sensors to control speed. Speed is defined by the commands and the motor tries to follow the defined speed. Servo: modes that set 0 position and move 90º left or right, possibly with some steps. Steering: modes thar use sensors to detect staling and define movements from one limit to the other, possibly stepped. Stepper: modes designed to control gearboxes, mostly 90º steps gearboxes. Using absolute zero or finding gearbox limits. Up Down: inspired by the Zetros differential lock command which uses a sensor less motor. Runs the motor in one direction for a given amount of time. Also included is support for InventorHub and PrimeHub (6 motors but 4 commands only) but that remains to be tested, since I do not have any... The most difficult thing was to squeeze all this stuff into CityHub's small memory...it was just this close to the memory limit of CityHub. And here is a video of Zetros controlled by Remote Bla Bla: Hope you enjoy it!- 38 replies
-
- remote control
- pybricks
-
(and 2 more)
Tagged with:
-
GBC General Discussion
vascolp replied to Jim's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
It says it is adult content and that I must log to flickr to see it!?! Now I am curious!- 1,124 replies
-
Well, the main purpose of Remote Bla Bla is to be a general purpose tool that avoids the need for programming. So, I guess it will never be perfectly precise. And the lack of remote is of course a no go... I am already working on a newer version which includes modes for motor speed control (instead of controlling motors by power), so maybe later you can give it a try... Thank you for your answer!
-
Coaster Noordborg
vascolp replied to Jebbo's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Sonner or later a guy will come and say " Front paged"! Very very good. -
[sMOC] Remote Bla Bla
vascolp replied to vascolp's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Thank you!- 38 replies
-
- remote control
- pybricks
-
(and 2 more)
Tagged with:
-
[TC21] Plymouth SuperBIRD
vascolp replied to 2GodBDGlory's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Now imagine if you had used colors! :Congratualtions! -
[sMOC] Remote Bla Bla
vascolp replied to vascolp's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Cool! Thank you for testing it! Was documentation clear enough?- 38 replies
-
- remote control
- pybricks
-
(and 2 more)
Tagged with:
-
[sMOC] Remote Bla Bla
vascolp replied to vascolp's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
I everybody: At last, a simple video of Remote Bla Bla:- 38 replies
-
- remote control
- pybricks
-
(and 2 more)
Tagged with:
-
Generic Contest Discussion
vascolp replied to Jim's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
I like this ideia... maybe size and part number limit together, to avoid too much big parts usage. I like the idea of multiple entries per contestant... as long as grohl is not allowed to participate! Maybe a maximum of three entries per contestant.