inmoov chatbot stop answering... java 32 vs 64 bit



hello i am new to the world of myrobotlab and programing and i have a question about the chatbot ...i installed myrobotlab via the inmoov tutorial that i am now constructing...at first i installed everything with the 32 bit java version ....the chatbot was answering my questions and all....i noticed that i was running a 64 bit windows version ...so i installed the 64 bit java version....then the chatbot stoped answering ...????

kwatters's picture

welcome

Hi!  Welcome..  

So, it's very important that if you're running a 64 bit operating system. you must install myrobotlab with the 64 bit java.  

If you accidentally used 32 bit java on a 64 bit machine, you must delete your install directory..  upgrade to java 64 bit.  Once you know for certain that you're using 64 big java... then download myrobotlab.jar

and run the typical  "java -jar myrobotlab.jar -install" command

This will make sure you have the correct libraries installed.  Anything short of that will cause strange .. very strange.. behaviors.

Also,  have a look in the "myrobotlab.log" file.  You will likely see some error messages in there as to what might be happening.  

martoys1's picture

inmoov chatbot

ok thank you very much for your answer,,, i will follow your instructions, it make sens

i wll post back for the follow up 

martoys1's picture

chatbot

hello again ...i flushed everything and reinstalled  it ,,,and wow it all works well ...even a virtual inmoove thats talks to me ....but now i have to try to install vinmoov...the virtual version and also try to understand how to make my left hand move ..its all done with the finger sensors ...i also have to install the myrobotlab programe to my NUVISION win 10 tablet that will be running the robot.....i am doing baby steps in that sphere of expertise

thanks again for the help

Martin

wvantoorn's picture

I suggest that you first test

I suggest that you first test everything on your pc, because the tablet is much slower in power so to start and get to know everything it would be easier to look at a bigger screen. Then after you get how everything works you could setup on the tablet.

Good Times on the vinmoov!

martoys1's picture

learning myrobotlab

ok ...yes i will do what you suggest..i am in a learning process....still trying to understand how to make my inmoove left harm with sensors work ...

kwatters's picture

start simple build it up

Hey there!

  I think it's great, you've got the right apporach to learning MRL.  Keep it simple to start.  I'd recommend start by starting an arduino service, followed by starting a servo service.  Attach the servo the the arduino, and see that you can move it!  That's one big success!

Next,  add the rest of the servos...  move them!  Then add a mouth so it can speak, and an ear so it can hear, and a brain  (programab) so it can think about what it's heard and respond ...  

Add some eyes, so it can see (opencv) ..  add some memory so it can remember...

Tell us more about the sensors that you are using in the arm, perhaps we can give some guidance on how best to integrate and get them working!

good luck & happy roboting

martoys1's picture

arduino

hello again and thank you very much for the support...but the hole project is on hold because of one little problem i have and i want to resolve it before going any furthermore in the project
and working with myrobotlab (i have finished the hole left harm with finger sensors and i want to make it work with myrobotlab ,,,,but i want to succed with the simple finger sensor test first with Arduino)
so ,,,the finger starter ...i have done it, uploaded the finger starter Arduino code to a Arduino uno ,,,,everything work fine…
then i added the finger sensor to the finger tip …and connected all the wires on a bread board with a 10 k resistor …..then uploaded the Arduino code for the sensor alone….nothing moves
then tried to combine the 2 scripts together ...the only thing it does ...it comes back by itself if i pushe it all the way open 
there is something i am not doing right
here is a copy of the last sketch i tried .the compiling is good ..it is a combines the fingersensor and the fingerstarter 
but its not working
 
/* FSR simple testing sketch.

   Connect one end of FSR to power, the other end to Analog 0.

   Then connect one end of a 10K resistor from Analog 0 to ground

   For more information see www.ladyada.net/learn/sensors/fsr.html */

int fsrPin = 0; // the FSR and 10K pulldown are connected to a0

int fsrReading; // the analog reading from the FSR resistor divider

#include <Servo.h>

 

Servo servoindex;          // Define index servo

void setup(void) {

  // We'll send debugging information via the Serial monitor

  Serial.begin(57600);

servoindex.attach(3);//servoindex.attach(3);  // Set index servo to digital pin 3

}

void loop(void) {

  fsrReading = analogRead(fsrPin);

  Serial.print("Analog reading =0 ");

  Serial.print(fsrReading); // the raw analog reading

  // We'll have a few threshholds, qualitatively determined

  if (fsrReading < 50) {

    Serial.println(" - No pressure");

  } else if (fsrReading < 80) {

    Serial.println(" - Light touch");

  } else if (fsrReading < 100) {

    Serial.println(" - Light squeeze");

  } else if (fsrReading < 150) {

    Serial.println(" - Medium squeeze");

  } else {

    Serial.println(" - Big squeeze");

  }

  delay(1000);

  // Loop through motion tests

  //alltomiddle();        // Example: alltovirtual

  delay(4000);            // Wait 4000 milliseconds (4 seconds)

  alltorest();            //Uncomment to use this

  delay(4000);            //Uncomment to use this

  alltomax();             //Uncomment to use this

  delay(2000);            //Uncomment to use this

}
// Motion to set the servo into "virtual" 0 position: alltovirtual

void alltomiddle() {

  //  servoindex.write(90);

}

// Motion to set the servo into "rest" position: alltorest

void alltorest() {

  //  servoindex.write(0);

}
// Motion to set the servo into "max" position: alltomax

void alltomax() {

  //  servoindex.write(180);

}