Line follower array not supported in scratch?


#21

Hi tommyvandenbempt,

You can find the example Arduino program for line follower array on the official website.

When you use the line follower array with Me Auriga board, you need figure out the pins for each RJ25 Port on Auriga board corresponding to which pins on Arduino Mega board, then you can modify the pin setting on the example program and you can use the line follower array with Auriga board.
For further program, you may need figure it out by yourself.


#22

Hi everybody!
We are interested in knowing the code in Mblock for the Simple ME LINE FOLLOWER, not in Arduino.
Is there any extension block we could use?
I mean aƱo extension block in Mblock as the one published before for the ME LINE FOLLOWER ARRAY.

Thank you for your help!


#23

There is a link to an extension further up in this thread. :slight_smile:


#24

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.


#25

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. :slight_smile:

There are coding examples in the Makeblock mBot tutorial (link) and I have an example in my eBook (link).


#26

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ā€¦


#27

Check out the link to the Makeblock tutorial that I posted earlier. It has an example of using the line follower. :slight_smile:


#28

Thank you


#29

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 :slight_smile:
Stivy


LineArray.h No such file or directory
#30

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?


#31

Hello @tec_support ! Many thanks for your reactivity :slight_smile:

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


#32

Hi again @tec_support,

Here is the last update, following your message :

  • On the latest version of mBlock we installed (3.4.11) on a laptop, now itā€™s working fine.
  • On the ChromeBook, we still have the error message with the mBlock app (cfr screenshot).

What should we do ?

Many thanks :slight_smile:


#33

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?


#34

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


#35

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.


#36

Hi @tec_support,

Waiting for your update !
Thanks from Belgium.


#37

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.


#38

Hi Stivy,

The problem is that the arduino compile server does not have this extension. Our engineer has fixed this issue, please check it.


#39

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 :smiley:

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


#40

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.