0Home Page test forums PROGRAMMATION MYROBOTLAB 1er lancement myrobotlab sur raspberry

This topic contains 4 replies, has 2 voices, and was last updated by Profile photo of brice brice 2 months ago.

  • Author
    Posts
  • #10661
    Profile photo of brice
    brice
    Participant

    Bonjour à tous.

    Je me lance à mettre robotlab sur un raspberry pi3.

    J’ai suivi le tuto : http://myrobotlab.org/content/installing-mrl-raspberry-pi-3-noobs.

    Question bête , mais je me lance sur linux, donc ne me jeter pas la pierre.Je débute….

    Mais sur quoi on clic pour lancer myrobotlab dans Mrl ?

    C’est un peu déconcertant quand on à fait 30ans de windows.

    Merci .

  • #10768
    Profile photo of brice
    brice
    Participant

    Bonjour.

    Je ne trouve pas de solution sur mon raspberry. Si quelqu’un pouvait me donner un coup de main.
    Voici mon fichier start-inmoov.sh

    #!/bin/bash
    cd “$(dirname “$0″)”
    echo “——————————————————”
    echo ” INMOOV LAUNCHER”
    echo “——————————————————”
    echo “——————————————————”
    echo “LOG CLEAN UP to free space disk and send clean noworky”
    echo “——————————————————”
    rm myrobotlab.log.1
    mv myrobotlab.log myrobotlab.log.1
    sleep 1
    echo “.”
    echo “——————————————————”
    echo “UPDATE MRL INSTALLATION”
    echo “This may take a few minutes”
    echo “——————————————————”
    sleep 1
    mv ./myrobotlab-*.jar ./myrobotlab.jar
    if [ -f ./mrlNeedReinstall ]; then
    rm -r haarcascades
    rm -r hogcascades
    rm -r lbpcascades
    rm -r libraries
    rm -r pythonModules
    rm -r resource
    rm -r tessdata
    rm -r InMoov\chatbot\bots\de\aimlif
    rm -r InMoov\chatbot\bots\es\aimlif
    rm -r InMoov\chatbot\bots\en\aimlif
    rm -r InMoov\chatbot\bots\fr\aimlif
    rm -r InMoov\chatbot\bots\hi\aimlif
    rm -r InMoov\chatbot\bots\nl\aimlif
    rm -r InMoov\chatbot\bots\ru\aimlif
    rm ivychain.xml
    rm myrobotlab.log
    rm repo.json
    rm mrlNeedReinstall
    rm .myrobotlab/serviceData.json
    fi
    java -jar myrobotlab.jar -install
    chmod +x ./start_inmoov.sh
    echo “Done”
    echo “——————————————————”
    echo “START MRL & INMOOV”
    echo “——————————————————”
    clear
    # start the inmoov script
    java -jar myrobotlab.jar -service python Python -invoke python execFile ./InMoov/InMoov.py
    chmod +x ./start_inmoov.sh

    Merci

  • #10898
    Profile photo of brice
    brice
    Participant

    Bonjour à tous .
    J’ai modifier mon fichier startinmoov.sh par :

    Voici mon fichier start-inmoov.sh

    #!/bin/bash
    cd “$(dirname “$0″)”
    echo “——————————————————”
    echo ” INMOOV LAUNCHER”
    echo “——————————————————”
    echo “——————————————————”
    echo “LOG CLEAN UP to free space disk and send clean noworky”
    echo “——————————————————”
    rm myrobotlab.log.1
    mv myrobotlab.log myrobotlab.log.1
    sleep 1
    echo “.”
    echo “——————————————————”
    echo “UPDATE MRL INSTALLATION”
    echo “This may take a few minutes”
    echo “——————————————————”
    sleep 1
    mv ./myrobotlab-*.jar ./myrobotlab.jar

    java -jar myrobotlab.jar -install
    chmod +x ./start_inmoov.sh
    echo “Done”
    echo “——————————————————”
    echo “START MRL & INMOOV”
    echo “——————————————————”
    clear
    # start the inmoov script
    java -jar myrobotlab.jar -service python Python -invoke python execFile ./InMoov/InMoov.py
    chmod +x ./start_inmoov.sh

    J’ai enlevé quelques lignes et myrobotlab se lance mais reste sur une fenêtre avec python.

    La je ne sais plus quoi faire.

    Qui pourrait m’aider ?

    Merci.

    BRICE.

    Attachments:
    You must be logged in to view attached files.
  • #10901
    Profile photo of anthony
    anthony
    Moderator

    hello ! essaye uniquement avec :
    java -jar myrobotlab.jar -install
    java -jar myrobotlab.jar -service python Python -invoke python execFile ./InMoov/InMoov.py directement dans le terminal ( dans le dossier mrl )

    • This reply was modified 2 months ago by Profile photo of anthony anthony.
  • #10905
    Profile photo of brice
    brice
    Participant

    Anthony………….MERCI.
    Ça fonctionne .
    Formidable.

You must be logged in to reply to this topic.