Hi,

*** It's fixed, all work well with the version 1.0.42 ***

 

I need help ! I'm installing MRL on a raspberry banana pi, and it won't work .

I've installed openJDK7 , but like a screenshot is better than talk, here it is !

In the terminal, the sentence " Aucun fichier ou dossier de ce type " mean " any file or folder of this type "

The prelog windows display all . It seem to have other lines, but it's just because i've tried to launch MRL few times ...

Thx for your help

wvantoorn

10 years 6 months ago

He beetle, Great! Saves me some work haha. But which lubuntu version did you use?

im waiting on the sd card so i can put lubuntu 14.04 on it, and use it with mrl 1.0.41

if needed ill ask you here, so there is a log for others to use as a guide.

 

gr. Wilco

wvantoorn

10 years 6 months ago

Indeed on the mrl 1.0.38 it was noworky, grog fixed on 1.0.40 and then it worked on linux based.

im trying to get it to work on the latest lubuntu, and with normal java get an error, so im gonna try  openjdk.

 

Hi,

 

I'm using Lubuntu 14.04 for banana v3 from lemaker.org : http://www.lemaker.org/resources/9-76/lubuntu_for_bananapi.html

The password for root and for the account "lemaker" is "bananapi"

And with synaptic package installer, i've installed OpenJRE7

I'm working to install VNCserver ( tightvnc) , it work well but i'm looking for make it launch itself at start.

 

I just found un problem with MRL : no sound with the speech an audiofile service . No problem of sound with the other aplications of lubuntu ...

No Worky It Beetlejuice !

Some of this page might help you out - http://myrobotlab.org/content/raspberry-pi-0 

Specifically the Auto-Start on Boot section :

 

Auto Start MRL on Boot

 

This was lifted from the excellent write up here - http://www.stuffaboutcode.com/2012/06/raspberry-pi-run-program-at-start-up.html
 

# move or copy your mrl installation under /opt
sudo myrobotlab.1660.20130826.0701 mrl
sudo mv mrl /opt/
# copy a script you want to use as your daemon boot script
sudo cp webgui.sh boot.sh
 
# create and edit the new mrl.sh script
sudo vi /etc/init.d/mrl.sh
 
#! /bin/sh
# /etc/init.d/mrl.sh
### BEGIN INIT INFO
# Provides:          mrl
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Simple script to start a program at boot
# Description:       The MRL start stop script - originally from www.stuffaboutcode.com
### END INIT INFO
 
# If you want a command to always run, put it here
 
# Carry out specific functions when asked to by the system
case "$1" in
  start)
    echo "Starting mrl"
    # the optional "big hammer" which kills all zombies
    # if you have other java processes don't use this
    killall java
    # run application you want to start
    # its important to cd to the proper directory and start it there
    cd /opt/mrl
    # this can be any script which starts mrl
    ./boot.sh &
    ;;
  stop)
    echo "Stopping mrl"
    # kill application you want to stop
    killall java
    ;;
  *)
    echo "Usage: /etc/init.d/mrl {start|stop}"
    exit 1
    ;;
esac
 
exit 0

 
 
# make it executable
sudo chmod 755 /etc/init.d/mrl.sh
 
# test it - this is important, if you get a script to hang on boot.. guess what?  Your raspi will get stuck :(
# make sure there are no problems and mrl is forked off like a good service
sudo /etc/init.d/mrl.sh start
sudo /etc/init.d/mrl.sh stop
 
# install it
sudo update-rc.d mrl.sh defaults

 

beetlejuice

10 years 6 months ago

Grog, i've sent you two no Worky, one for the problem of sound, and an other about the joystick service that don't want to install ...

 

The Joystick was a repo problem - its been fixed .. the audio problem seems a little weird - it looks error free - and it seems to play mp3s without errors .. do you have some other appliccation which can play the contents of the mp3s downloaded to the audioFile directory ?

Hi,

I've tested the mp3's downloaded in the audiofile directory, and the play well with the player installed with the banana pi lubuntu os .

But i see other problems ! Until now, i did not have tested other services, and i'm just testing Arduino's service : no COM port are found ! i've tested with version 1.0.43 ,1.0.42, and 1.0.41 but no change .

( I've forget to say you that i had already this problem under windows with the version 1.0.40 and 1.0.41 ...)

On Lubuntu , The arduino's IDE found well the COM port dev/ttyUSB0 for my arduino , and 3 other COM ports .

I've uploaded the sketch MRLcomm.ino V17 with it without problem .

And for finnish, the joystick service is still not found for install .

Oh ! The banana pi use an ARMv7 processor and the services seem to be for ARMv6 , this is a problem ?