-
Posts
267 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Everything posted by Cosmik42
-
Hi Mawe! Thanks for the kind words. I still need to release this SBrick support. Hopefully tonight, if not tomorrow. I don't own an SBrick Plus yet. So I don't support sensor from SBrick just yet. But as soon as I can find a device it will be done! Thanks for following my work. Hope it is helpful to you!
-
Synchronizing wasn't the issue, but making the mechanical part. I worked on it yesterday and I have a working prototype inspired by @Giottist link!
-
Hi everyone, I got a couple TrixBrix switch and I was wondering if any of you have already went through the puzzle of motorizing them efficiently? Thank you! Vincent.
-
If anyone, it would be you who would know! Thanks a lot!
-
So now the 'Wait(6000)' simply stop the execution for 6 seconds while letting any Ramp or other asynchronous things do what they are supposed to do. One last thing. I just did one more upload to try to fix your speed label. From the screenshot you shared I can tell your default windows font size is larger than mine, which is why the speed value doesn't show. I just increased slighted the width of that label. Let me know if that fixes it!
-
Indeed, PU seems to act more like 'float'. For now 'braking' is simply a 'Set Motor Speed to 0'. Maybe there is an official 'Stop'. Will investigate.
-
Yep It should. Do you have a case where it does not? It's poorly documented, indeed! I will make a full list of properties. The exemple you give failed because of a poor implementation of the 'Wait()' function. I actually fixed it this morning! Could you try again with this version? https://www.dropbox.com/sh/1tqcy0zuylgdn7p/AAAAwo-mzu5GcqLBRYiDOzNDa?dl=1 If this fixes your issue, I will deploy it in the next version. The latest version above actually contains a Ramp with a fromSpeed: public void RampMotorSpeed(string port, int fromSpeed, int toSpeed, int timeinms)
-
Powered Up. Actually, I wonder if reverting power for a short time would help decelerate faster.
-
Hi everyone, So when you have a train going full speed and cut its engine, it might be hard to predict exactly where a train will stop. Do you have any idea of 'braking system' to force a train to slow down and even stop? Thanks! Vincent.