Frustrated: Missing classes in the Arduino GIT files?


#1

I’ve recently purchased the XY Plotter v2.0 along with some extras including a Bluetooth module. I have been tinkering in Arduino for two days now, and I’ve noticed that even some of the simple example sketches (like CarControl) that MakeBlock includes simply don’t compile because of missing classes in the libraries.

I’ve tried downloading the MakeBlock libraries off of Github, as well as the direct ZIP files. I am currently working with library V2.1.0625 which can be downloaded from the main page of the wiki. When I look at the code on the wiki for makeblock.h, sure enough there are classes that aren’t in the downloadable libraries.

What am I missing??? Here’s an example: MeSerial and MeBluetooth inherit from MeParams. MeParams only seems to exist on the wiki http://wiki.makeblock.cc/library/docs/class_me_params.html

…yet CarControl makes references to functions like paramAvailable and getParamValue. So when I click “verify” on Arduino, I get errors like CarControl:42: error: ‘class MeBluetooth’ has no member named ‘paramAvailable’.

Please help!


#2

Dear Jimbot,

Thanks for your post.
Our electronic engineers are working on this, we will update the example sketches one week later. Please wait and retry it later.
Kindly advise you can check more info here: http://learn.makeblock.cc/learning-arduino/.

Let me know if you have other question or email me:)

Best regards!
Christina
christina@makeblock.cc


#3

Great. Thanks for answering. I’m glad to know I wasn’t missing some obvious answer and that you guys are working on it.


#4

This issue wasn’t solved yet. I tried both git https://github.com/Makeblock-official/Makeblock-Library and the library that comes with Windows installation of the IDE.

CarControl was actually removed from git, nevertheless the missing function in MeBlootooth isn’t there (and where should get CarControl from anyway).

This is indeed frustrating given that this problem was reported more than 4 months ago (see also http://forum.makeblock.cc/t/ompilation-problem-in-carcontrol/658 ). Guys, I love your hardware it is very well made but the software and documentation is severely lacking.


#5

Hi,
I’ve the same problem: all intends of compiling the example found in “MakeBlock Robot Stater Kit\ Bluettoh_Control\CarControl.ino” , with Arduino IDE or with Codebender (https://codebender.cc/ a very useful tool I’ve discovered in this forum) , gives the same error:
“‘class MeBluetooth’ has no member named ‘getParamValue’”, but the examples o Bluetooh folder don’t give any problem (compiling) .

I want to program with Arduino IDE (or CodeBender), because, although in ScratchRobot all works perfectly : the Bluetooth connection works without any error and I can control the car with Bluetooth from the PC (I ask me if possible to “steal” the bluetooth code in Scratch and put in on makeblock library, but I don’t have enough skills to do this, perhaps Michal or somebody at MakeBlock has)

I want to expand it my Robot with more sensors, the robotic hand and some extra coding. If MakeBlock don’t give a solution I’ll try other systems with better support, but it’s sad because the hardware is very good, strong and reliable. Please, don’t give up the users and solve this little issue.


#6

@Jos: CarControl.ino is no longer supported. I think that the new official firmware is https://github.com/Makeblock-official/Makeblock-Firmware/tree/master/mblock_firmware

Depending on what you are trying to do, you’ll have to code your own sketch.

https://github.com/Makeblock-official/Makeblock-Library/tree/master/makeblock/examples/Makeblock_Robot_Starter_Kit/DualMode_Starter is a good starting point. Just read from Serial instead of MeInfraredReceiver


#7

I understand,; I can program with scratch and control the robot kit from the PC; but I want to expand with more sensors, a better algorithm to avoid obstacles, and I prefer to do it with Arduino IDE, and with a Processing or Unity program control the Robot from the PC (or phone); the problem is that all functions/sample programs related with bluetooth included in the examples installed in Arduino folder with makeblock libraries fails at compiling time
The dual mode starter you put hasn’t the Bluetooth control (it’s infrared control), and this is not useful to me; I think there isn’t any way to do that if Makeblock programmers can do that……
Anyway, if there isn’t more options I’ll do it with Scratch, but this is not a professional solution for a product that could be a semi-professional platform for robotics; only with a little effort form Makeblock it would be perfect…Please Makeblock, give a solution!
Thanks.


#8

Hi everyone,

Same problem here from my side. Missing classes for MeCompass and MeWifi module. Anybody knows where to get them?

Cheers,
Ton


#9

I have the same problem, the compass and wifi modules are useless without proper class information.

Mike


#10