Yes, I know, but it is for the ARRAY.
I just have the simple me LINE FOLLOWER .
This is the one Imam asking an extension for.
Yes, I know, but it is for the ARRAY.
I just have the simple me LINE FOLLOWER .
This is the one Imam asking an extension for.
There is no extension for the line follower. It is a block in mBlock and if you are using the Arduino environment, the object is MeLineFollower.
There are coding examples in the Makeblock mBot tutorial (link) and I have an example in my eBook (link).
Thank you.
What I would like is to see that arduino translated into scratch code. I know it is a block but instead of reading it in Arduino (which I do not understand), I would like to read those orders in scratch in Mblock…I don’t know if I explain myself crearly…
Check out the link to the Makeblock tutorial that I posted earlier. It has an example of using the line follower.
Hello,
I’ve just baught a LineArray v1.0 sensor for my students.
Obviously, the extension available in the app “MakeBlock” is not working : we have problem at the compilation stage.
In the extension center, I can see the library was updated two weeks ago, maybe it can be a part of the problem ? Can someone at MakeBlock can give me support @tec_support @chuckmcknight ?
It’s quite odd to sell HW without SW library…
I need this extension for a robotic challenge in two weeks, so it’s a bit urgent…
Thanks in advance for your support
Stivy
Hi Stivy,
Do you use the mBlock 3.4.11?
May we know what is your program and the compile error message?
Here we have tested an simple program with using the line follower array extension, there is no problem to compile and upload, you may try it and let us know if there is also compile error?
Hello @tec_support ! Many thanks for your reactivity
I’m happy to see that, normally, it should work.
At school, we use ChromeBook, then we program mbot with the mblock app IDE.
Everything is working fine, but as soon as we add the extension for the LineArray and we use it, the compilation fail with the message “File LineArray.h not found” (it’s not the exact message, but at the end, it just says he has some trouble with the #include “LineArray.h”).
Then we tried with a computer directly with mBlock, and once again, problem at the compilation with the file LineArray.cpp.o => I will ask my collegue to ensure we use the latest version of mBlock and try again, then copy/past the exact message as soon as possible.
Do you already have some clue ?
Many thanks,
Stivy
Hi again @tec_support,
Here is the last update, following your message :
What should we do ?
Many thanks
Hi Stivy,
Yes, we have realized you are using mBlock 4.x. There does have such error message when uploading program with line follower array extension block. Our engineers is checking on the problem, will let you know when there is update.
Actually, the mBlock 4.0.4 is experimental version, it is suggested to use the official version mBlock 3.4.11?
Are all the computers in the school Chromebook?
Hi @tec_support,
First, I really appreciate your reactivity. It’s always good to feel supported !!
Yes, all the students have a dedicated ChromeBook, so at the end, we’d like to be able to use the LineArray with the mBlock app for the robotic cup.
Were you aware of this problem ? Is it ‘easily’ and quickly solvable ?
Many thanks, from my students and from myself !
Stivy
Hi Stivy,
Thanks for your info.
Currently, I am unknown of the cause for this issue since there is fileLineArray.h in the extension.
When the engineers figured it out, they will let me know. Will keep you informed once there is any update.
Just a thought, but don’t the Chromebooks run on a custom version of the Linux kernel? If that’s the case, I would suggest checking for case sensitivity in the file name. The Windows operating system is still case-insensitive (especially the FAT32 system) so it might not pop up if the testing is occurring under Windows. I don’t have a Chromebook or I’d check it myself.
Hi Stivy,
The problem is that the arduino compile server does not have this extension. Our engineer has fixed this issue, please check it.
Hello @tec_support,
I’ve just realized I’ve never answered your last message ! Sorry !!
Indeed, with your modification it works fine - thank you very much for your great reactivity and support
At the end, it’s difficult to use with Scratch, since we can only match the entire array. We’d like to use only 3 or 4 sensors, but we are obliged to address all the possibilities ; so it’s relatively heavy to implement. With methods allowing to check a single sensor ; it would be much more useful. Is it in your roadmap ?
Have a nice day,
Stivy
Hi Stivy
It is okay! For your suggestion on the me line follow array’s mBlock extension, I have shared it to our product team. Will let you know when they have a decision on it.
Programming the mBot with the line sensor array is a real challenge. I managed to create it working. Check out my video: https://www.youtube.com/watch?v=7yglq2fK8Ms and my code: https://github.com/Tauvic/Technology-at-school/tree/master/Robots/Makeblock/develop/project_mBot
tech-support:
The line follow array extension has 3 graph programming commands (RAW,BIN, MATCH) and lists the following ports:
Which of the mainboards mcore, orion, megapi does it support?
The line follower array works on ports 1-4 on the mBot. On the Auriga, those ports are reserved for motors and the Orion appears to have ports 1-2 reserved for motors. The red colored motor ports deliver an output voltage of 6-12VDC and will likely short out any low-voltage sensors that you plug in to them.