Raspberry Pi 3B+ mit Pololu Maestro verbinden, Installationshilfe

Heute ist Stammtischzeit:
Jeden Donnerstag 20:30 Uhr hier im Chat.
Wer Lust hat, kann sich gerne beteiligen. ;)
  • Hallo,

    ich bin ein absoluter Anfänger des Raspberry Pi und Raspian Himbeer.

    Ich habe einen Raspberry Pi 3B+ und als Betriebssystem Raspian Himbeer und möchte eine Pololu Maestro Servosteuerung per USB verbinden und steuern, um zwei Roboterarme zu bewegen.

    Mein Problem liegt in der Installation des Maestro Control Centers (Software).

    Könnte mir bitte jemand Schritt für Schritt bei der Installation helfen.

    grüße Zottel386

    Nochmal ne Anmerkung. Das Maestro Control Center findet man unter Google Suche.

    Ich möchte entweder dass das Center per Autostart mit Raspian startet oder auf der Benutzeroberfläche als startbares Symbol(Programm) verfügbar ist.

  • Raspberry Pi 3B+ mit Pololu Maestro verbinden, Installationshilfe? Schau mal ob du hier fündig wirst!

  • Das Maestro Control Center findet man unter Google Suche.

    hast du es schon gefunden? wo ist der Link?

    lasst die PIs & ESPs am Leben !
    Energiesparen:
    Das Gehirn kann in Standby gehen. Abschalten spart aber noch mehr Energie, was immer mehr nutzen. Dieter Nuhr
    (ich kann leider nicht schneller fahren, vor mir fährt ein GTi)

  • Also das libmono ist installiert.

    sud udevadm control gestartet

    jetzt soll ich eingeben " ./MaestroCC" dann erfolgt Datei oder verzeichniss nicht gefunden.

    wo habe ich den fehler gemacht?

    ist MCC noch gar nicht installiert? runergladen habe ichs

    sorry für schreibfehler (funktasta)

    Beim Installationsversuch kommt:

    pi@raspberrypi:~ $ sudo apt-get install /home/pi/Downloads/maestro-linux/MaestroControlCenter

    Paketlisten werden gelesen... Fertig

    E: Unsupported file /home/pi/Downloads/maestro-linux/MaestroControlCenter given on commandline

    Gibt es einen "öffne Programm"-befehl unter linux? oder muss ich einfach

    /home/pi/Downloads/maestro-linux/MaestroControlCenter

    eingeben zum Starten des Programms?

    mit oder ohne Punkt?

    Ich hab Center offen!!!!!

    Wie kann ich es ev unter Autostart starten lassen?

    Oder auf dem Desktop "als Symbol zum anklicken " ablegen.

  • Guten Abend

    Also kurze Zusammenfassung: Raspberry 3B+, Betriebssystem Raspbian with Pixel,

    dazu eine Servosteuerung von Pololu, Maestro 12 (für 12 Servos) Software Maestro Control Center zu finden hier: https://www.pololu.com/docs/0J40/3.b .

    Folgendes Problem : Laut Readme- Datei soll ich Mono Lib usw Installieren, das mache ich gerade. Schliesst auch fehlerfrei ab.

    Jetzt soll ich die datei " 99-pololu.rules " in das Verzeichniss " /etc/udev/rules.d/ " kopieren, wobei er mir Antwortet das mir die Rechte fehlen das es nicht gehen würde.

    Wie muss ich jetzt weiter Verfahren? Könnte mir ab hier jemand weiter helfen, bitte, bitte. Möglichst Schritt für Schritt eben für Laien.

    Vielen Dank im Vorraus

    • Offizieller Beitrag

    Hallo Zottel386,

    Jetzt soll ich die datei " 99-pololu.rules " in das Verzeichniss " /etc/udev/rules.d/ " kopieren, wobei er mir Antwortet das mir die Rechte fehlen

    mit dem Dateimanager auf dem Desktop? Dann öffne ein Terminalfenster und gib dort: sudo pcmanfm ein. Dann sollte sich der Dateimanager mit root-Rechten öffnen.

  • Vielen Dank, kopieren hat geklappt.

    Aber öffnen lässt sich s Programm immer noch nicht.

    Bildschrimausgabe

    pi@raspberrypi:~ $ /home/pi/Downloads/maestro-linux/MaestroControlCenter

    * Assertion at mini-codegen.c:807, condition `i == sel' not met

    Stacktrace:

    at <unknown> <0xffffffff>

    at System.Windows.Forms.TextBoxBase.Draw (System.Drawing.Graphics,System.Drawing.Rectangle) <0x000ab>

    at System.Windows.Forms.TextBoxBase.OnPaintInternal (System.Windows.Forms.PaintEventArgs) <0x00063>

    at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message&) <0x0017f>

    at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&) <0x00217>

    at System.Windows.Forms.TextBoxBase.WndProc (System.Windows.Forms.Message&) <0x00313>

    at System.Windows.Forms.TextBox.WndProc (System.Windows.Forms.Message&) <0x001d3>

    at System.Windows.Forms.Control/ControlWindowTarget.OnMessage (System.Windows.Forms.Message&) <0x0002b>

    at System.Windows.Forms.Control/ControlNativeWindow.WndProc (System.Windows.Forms.Message&) <0x0003b>

    at System.Windows.Forms.NativeWindow.WndProc (intptr,System.Windows.Forms.Msg,intptr,intptr) <0x0028b>

    at System.Windows.Forms.XplatUIX11.SendMessage (intptr,System.Windows.Forms.Msg,intptr,intptr) <0x0038b>

    at System.Windows.Forms.XplatUIX11.UpdateWindow (intptr) <0x00073>

    at System.Windows.Forms.XplatUI.UpdateWindow (intptr) <0x0002b>

    at System.Windows.Forms.Control.Update () <0x00033>

    at System.Windows.Forms.Control.Refresh () <0x0003f>

    at System.Windows.Forms.Control.OnEnabledChanged (System.EventArgs) <0x002bb>

    at System.Windows.Forms.Control.OnParentEnabledChanged (System.EventArgs) <0x0002f>

    at System.Windows.Forms.Control.OnEnabledChanged (System.EventArgs) <0x0037f>

    at System.Windows.Forms.Control.OnParentEnabledChanged (System.EventArgs) <0x0002f>

    at System.Windows.Forms.Control.OnEnabledChanged (System.EventArgs) <0x0037f>

    at System.Windows.Forms.Control.OnParentEnabledChanged (System.EventArgs) <0x0002f>

    at System.Windows.Forms.Control.OnEnabledChanged (System.EventArgs) <0x0037f>

    at System.Windows.Forms.Control.OnParentEnabledChanged (System.EventArgs) <0x0002f>

    at System.Windows.Forms.Control.OnEnabledChanged (System.EventArgs) <0x0037f>

    at System.Windows.Forms.Control.set_Enabled (bool) <0x000ab>

    at System.Windows.Forms.TabPage.set_Enabled (bool) <0x0001b>

    at (wrapper remoting-invoke-with-check) System.Windows.Forms.TabPage.set_Enabled (bool) <0xffffffff>

    at Pololu.MaestroControlCenter.MainWindow.updateFormFromDeviceAndRegistry () <0x00157>

    at Pololu.MaestroControlCenter.MainWindow.MainWindow_Shown (object,System.EventArgs) <0x001f7>

    at System.Windows.Forms.Form.OnShown (System.EventArgs) <0x00077>

    at System.Windows.Forms.Form.SetVisibleCore (bool) <0x0060b>

    at System.Windows.Forms.Control.set_Visible (bool) <0x00033>

    at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.set_Visible (bool) <0xffffffff>

    at System.Windows.Forms.Application.RunLoop (bool,System.Windows.Forms.ApplicationContext) <0x0026f>

    at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext) <0x0005f>

    at System.Windows.Forms.Application.Run (System.Windows.Forms.Form) <0x0002b>

    at Pololu.MaestroControlCenter.Program.Main () <0x0003b>

    at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>

    Native stacktrace:


    Debug info from gdb:

    [New LWP 25057]

    [New LWP 25056]

    [New LWP 25053]

    [Thread debugging using libthread_db enabled]

    Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".

    0x76e1bef8 in __libc_waitpid (Cannot access memory at address 0x3

    pid=25058, stat_loc=0x7eca8350, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40

    40 ../sysdeps/unix/sysv/linux/waitpid.c: Datei oder Verzeichnis nicht gefunden.

    Id Target Id Frame

    4 Thread 0x76963430 (LWP 25053) "cli" 0x76e19a40 in do_futex_wait (isem=isem@entry=0x3181a4) at ../nptl/sysdeps/unix/sysv/linux/sem_wait.c:48

    3 Thread 0x732b8430 (LWP 25056) "cli" 0x76e177a4 in __pthread_cond_wait (Cannot access memory at address 0x1

    cond=0x74f8a8, mutex=0x74f88c) at pthread_cond_wait.c:187

    2 Thread 0x72fff430 (LWP 25057) "cli" 0x76d92b80 in poll () at ../sysdeps/unix/syscall-template.S:81

    * 1 Thread 0x76f2b000 (LWP 25051) "cli" 0x76e1bef8 in __libc_waitpid (Cannot access memory at address 0x3

    pid=25058, stat_loc=0x7eca8350, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40

    Thread 4 (Thread 0x76963430 (LWP 25053)):

    #0 0x76e19a40 in do_futex_wait (isem=isem@entry=0x3181a4) at ../nptl/sysdeps/unix/sysv/linux/sem_wait.c:48

    #1 0x76e19af4 in __new_sem_wait (sem=0x3181a4) at ../nptl/sysdeps/unix/sysv/linux/sem_wait.c:69

    #2 0x00219f98 in mono_sem_wait ()

    #3 0x0019091c in ?? ()

    Backtrace stopped: previous frame identical to this frame (corrupt stack?)

    Thread 3 (Thread 0x732b8430 (LWP 25056)):

    Cannot access memory at address 0x1

    #0 0x76e177a4 in __pthread_cond_wait (cond=0x74f8a8, mutex=0x74f88c) at pthread_cond_wait.c:187

    #1 0x001f6ae8 in ?? ()

    Cannot access memory at address 0x1

    Backtrace stopped: previous frame identical to this frame (corrupt stack?)

    Thread 2 (Thread 0x72fff430 (LWP 25057)):

    #0 0x76d92b80 in poll () at ../sysdeps/unix/syscall-template.S:81

    #1 0x73198848 in ?? () from /usr/lib/arm-linux-gnueabihf/libusb-1.0.so

    Backtrace stopped: previous frame identical to this frame (corrupt stack?)

    Thread 1 (Thread 0x76f2b000 (LWP 25051)):

    Cannot access memory at address 0x3

    #0 0x76e1bef8 in __libc_waitpid (pid=25058, stat_loc=0x7eca8350, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40

    #1 0x000c0ba4 in ?? ()

    Cannot access memory at address 0x3

    Backtrace stopped: previous frame identical to this frame (corrupt stack?)

    =================================================================

    Got a SIGABRT while executing native code. This usually indicates

    a fatal error in the mono runtime or one of the native libraries

    used by your application.

    =================================================================

    Abgebrochen

    pi@raspberrypi:~ $

    Einmal editiert, zuletzt von Zottel386 (21. Juni 2018 um 21:09)

  • ++++Update++++

    Nachdem das Control Center durch diesen Fehler weiterhin verschlossen blieb:

    RasPi 3 B+ und mit Noobs v 2.8.1 installiertes Betriebssystem Raspian (vers. unbekannt) + Maestro Control Center

    Nach der Installation des Betriebssystems den Anweisungen der Readme.datei des Maestros gefolgt:

    Lib mono und Libusb installiert, mit meckern auf eine andere Version der Lib mono umzusteigen. Aber funktioniert!!

    Mit dem Tipp von " hyle " fortgefahren und die 99-pololu* Datei ins richtige Verzeichniss kopiert.

    Anbei noch die config.txt bearbeitet, da mein 7" Monitor ebenfalls nicht funktionierte, beides läuft nun.

    Per USB den Controller angeschlossen, hier sollte ich nochmals die " Libusb 1.0 0 dev "-Datei installieren.

    Controller wird nun auch per USB erkannt.

    Damit bedanke ich mich bei allen die geholfen haben:

    DANKE

    • Offizieller Beitrag

    Hallo Zottel386,

    erstmal schön dass es nun funktioniert!

    Eine Empfehlung hätte ich aber noch. NOOBS ist eine gute Sache um sich am Anfang einen gewissen Überblick über verschiedene Betriessysteme zu verschaffen, als produktives System würde ich das allerdings auf Dauer nicht verwenden. Das könnte Dir irgendwann um die Ohren fliegen. :denker:

    Deshalb wäre es imho eine gute Idee, wenn Du auf einer anderen SD-Karte nochmals die Installation mit einem "reinen" Raspbian durchführst. Beim ersten Versuch hast Du ja vermutlich irgendetwas verkonfiguriert. ;)

  • Nach meinem Urlaub bin ich nun zurück.

    Hallo an alle.

    Also sollte ich NOOBS loswerden. Da die Version vom Betriebssystem und meine "Spielereien" so gut harmonieren möchte ich natürlich versuchen ohne NOOBS das Betriebssystem wiederzufinden.

    Dazu müsste ich Allerdings wissen was da installiert ist. Wo kann ich das ablesen?

    Einmal editiert, zuletzt von Zottel386 (10. Juli 2018 um 22:28) aus folgendem Grund: Es hat sich bereits erledigt.

Jetzt mitmachen!

Du hast noch kein Benutzerkonto auf unserer Seite? Registriere dich kostenlos und nimm an unserer Community teil!