Next version 'Nixie' is coming soon !

Help us to get ready with MyRobotLab version Nixie: try it !

Hi

We had a lot of fun yesterday working together on MRLComm and Arduino. Four people ( Grog, kwatters, camality and me ) working on the same sourcecode, discussing different options and ways to make the software better and add some more functionallity.

Sometimes we think in different ways, and sometimes its difficult to explain in a short shoutbox. So creating a post to describe something that is a bit larger is necessary. So thats what I'm doing now to explain the way I think about the i2c interface and the device drivers. Any comments are welcome. 

First Rule of MRLClub is everyone has an opinion and ideas, and you will treat each other with respect and kindness - even if you totally disagree....  its an easy first rule...

I'm always learning things in MRLClub.  Recently, I've learned how 5 people can successfully work together simultaneously on a piece of code ..  Whoa !   Very cool.

Here is my MRLClub log :

I very like the new mrlComm with sensor and servo regroup under a device structure. It will make it much more managable.

But i'm worrying about the memory usage

the default  inMoov hardware map have 10 servo and 5 sensors, so 15 "devices".

quickly looking at the device structure, each device will take about 70-80 bytes of memory

15 * 80 = 1200 bytes for all the devices.

compiling on the UNO, it say about 1350 bytes available. wich leave a very low amount of memory for the stack.

Its a very different time from when I began my software development career.  The world has change.  When I started we scrolled our algorithms alone on parchment paper under candlelight.  When we were done the master monk lead engineer would convert our parchment to cards so they could process on the automated loom computer.

Hi ! Program AB doesn't like quotes ( ex: I'M A BOT ) it must be ( I M A BOT ) I think

And I want to correct some ear values.

So how can i intercept WebkitSpeechRecognition  and replace some characters before ProgramAB read it.

Thanks !

Arduino: 1.5.8 (Windows 8), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

sketch_jun13a.ino:122:20: error: variable or field 'publishSensor' declared void

sketch_jun13a.ino:122:20: error: 'sensor' was not declared in this scope

sketch_jun13a.ino: In function 'void updateSensorsNew()':

sketch_jun13a.ino:1050:20: error: cannot convert 'sensor' to 'int' for argument '1' to 'void publishSensor(int, int, int, int)'

Error compiling.

 

I have the finger starter working independently of myrobotlab but would like to now use the software to control the finger with speech before printing out more parts :)

I am using an arduino uno using port 5 and pin 3 for the finger

I am using this inmoov script below the only modification was to change to the port from 8 to 5 - in the python tab I think I should see listening but the tab is blank

However when I review the java tab from the start I do see some concerning messaging