Blogs

Tri to get back at My Robots

AdolphSmith's picture

Hi Guys. I tri to build Robots again but first i need MRL to work for play and test. So please tel me what do i do wrong. I have downgraded my Arduino software to get mrl.com loaded on it. I try every thing but When i connect comport to Arduino, my mrl program close and only web page stay open. What do i do wrong.

 

Please help.

Greetings Adolph

 


I wonder is this a personal blog?

Jim_K's picture

now is the time for all good men


Install Bug

Ray.Edgley's picture

In the past whenever I have installed MRL on a Raspberry Pi or even in Windows, I would create a dirctory MRL, copy the myrobotlab.jar file into that director, then open a terminal window and navigate to the directory.

From there I would run the command:

java -jar myrobotjab --install

After some time, particularly on a new build with a fresh OS image, the program would finish and leave me at the command prompt.
Launching then without the --install would start MRL up with all the services installed.


How to run Java 11 and Java 8 on the same machine

GroG's picture

The Manticore version of myrobotlab requires Java 8.
The Nixie version of myrobotlab requires Java 11.

What do you do ? 


Fixing Audio Output with Java 11 on the Raspberry Pi

Ray.Edgley's picture
Notes for when running on the Raspberry Pi with the Rasbian Buster OS.
 
When using Java 11 OpenJDK, you may find the audio from the Text To Speech coming out the HDMI port instead of the selected 3.5mm Audio socket on the side of the Raspberry Pi.
This is caused by Pulse Audio not following the requested settings and routing the audio from the Java apps to a different output, the HDMI like it or not.
The solution is to edit the Java sound.properties file.
 

For Grog

HaL's picture

For some reason the noworky would'nt send from my mrl so here it is:


MPU6050 Testing Matrix

Ray.Edgley's picture
MPU6050 Controller  OS ver  MRL ver Pi4J ver
Raspi 3 No Worky Buster 1.1.446 1.2
Raspi 4 No Worky

Pulling what's left of my hair out

Ray.Edgley's picture

Been trying to get the MPU6050 6 DOF accelerometer/gyroscope working in MRL.

I can get it to attach and even return some data, except the data doesn't make sense.

With the MPU6050 held stationary, the should always be an acceleration in the downward direction of 1G or between 9.8 and 10 m/s depending on where on the planet you are located. (the lower value closer to the equator)
There should also be a constant low speed rotation of about 0.00416 degrees per second (the planet turns fully once per day)