Mblock wait() function is not accurate


#20

If you have taken the new user tutorial, then you will not hit a post limit for a while. (if you haven’t, just say

@discobot start new user

)

:slight_smile:

There are no resources, but you can do a code like this:

It might take some tweaking. I just threw it together on the spot :grimacing:.


#21

I have taken the new user tutorial.
I did hit a post limit once…
For some reason, upload mode works/…
Will try your code…
THanks!
Any other suggestions?


#22

Great!

If the code doesn’t work, mention me as @Best_codes. Also, first try changing the values of both the onboard gyro sensor blocks to y-axis or z-axis. If it still fails, try doing [block] - degrees instead of +.

As a last resort, change it all back and use turn left in the custom block instead. I will test the block tomorrow, and send you the mBlock project.

Hope that keeps you busy, and have a nice rest of your day / night? Hmm… @V205


#23

Night here for your info :slight_smile:

Well thank you!
I will tinker with that project today…


#24

OK, have a great rest of your night! (me too, so I better some rest soon. :confused:)


#25

hmmm.
It does not work…
Probably a bug.

Have a great night :slight_smile:


#26

Sorry, I will fix it tomorrow when I can test with my Ranger (if I have time).


#27

Thanks! :slight_smile:
No worries :slight_smile:


#28

Here, I tested this, I’ll get you the file later:


#29

File here @V205:

https://drive.internxt.com/sh/file/4e47bb8e-5c63-4e02-a9de-ebaf7039f564/04f56b6079c4618681c6bf8a24e189b4732a53b998be2b816fe14e7c67491304


#30

I have not downloaded the file yet.

That is using a CyberPi(using ranger here…)?


#31

Yes, the file I gave has the Ranger version @V205.


#32

Could I have a photo of the ranger version?
Don’t really want to download(no preview……)
Thanks


#33

Sure! Sorry about that.

@V205


#34

Ok thanks!
Will try it out later.
BTW, do you know how to take the plastic cover off the ranger’s auriga?
Thanks


#35

Yes. You can just pull it apart if you are careful. It is snap together., if I remember correctly. @V205


#36

No screws?
Ok Thanks!


#37

No problem! Be careful with it, though. You don’t want to mess up the wrong things. :grimacing:


#38

I haven’t got round to building Nervous Bird yet - but as far as I could tell, the balancing routines for MegaPi were built in to the default firmware for the board.

The following may be of some value:


#39

Thanks for the info @CommandeR. Did you mean to post this here: