
PRO
hello robo
USA
Asked

Hello,
I am trying to run ARCPi and EZBPi on a Raspberry Pi 3. I have tried installing them on two different versions of Raspbian, the latest release and the 11/13/18 (stretch) version, which was released closer to "DJ's 9th Live Hack" (I have been following that YouTube tutorial). When I execute ARCPi, I get the following error before ARC launches:
pi@raspberrypi:~/EZ-BuilderPi $ mono ARC.exe
Unknown heap type: #GUlD
Unknown heap type: #Blop
Unknown heap type: #GUlD
Unknown heap type: #Blop
The help viewer could not load. Maybe you don't have chmsee installed or haven't set MONO_HELP_VIEWER. The specific error message was: ApplicationName='chmsee', CommandLine='"https://synthiam.com/Software"', CurrentDirectory='', Native error= Cannot find the specified file
X11 Error encountered:
Error: BadMatch (invalid parameter attributes)
Request: 12 (0)
Resource ID: 0x1C013B8
Serial: 48245
Hwnd: Hwnd, Mapped:True ClientWindow:0x1C013B9, WholeWindow:0x1C013B8, Zombie=False, Parent:[Hwnd, Mapped:True ClientWindow:0x1C013B7, WholeWindow:0x1C013B6, Zombie=False, Parent:[]]
Control: System.Windows.Forms.Panel, BorderStyle: None at System.Environment.get_StackTrace () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Windows.Forms.XplatUIX11.HandleError (System.IntPtr display, System.Windows.Forms.XErrorEvent& error_event) [0x00000] in :0
at System.Drawing.GDIPlus.GdipCreateFromXDrawable_linux (System.IntPtr , System.IntPtr , System.IntPtr& ) [0x00000] in <1917aa1c39d94b1a91807b8cd9f03350>:0
at System.Drawing.Graphics.FromXDrawable (System.IntPtr drawable, System.IntPtr display) [0x00000] in <1917aa1c39d94b1a91807b8cd9f03350>:0
at System.Drawing.Graphics.FromHwnd (System.IntPtr hwnd) [0x00000] in <1917aa1c39d94b1a91807b8cd9f03350>:0
at System.Windows.Forms.Control.CreateGraphics () [0x00000] in :0
at System.Windows.Forms.TextBoxBase.CreateGraphicsInternal () [0x00000] in :0
at System.Windows.Forms.Document.owner_VisibleChanged (System.Object sender, System.EventArgs e) [0x00000] in :0
at System.Windows.Forms.Control.OnVisibleChanged (System.EventArgs e) [0x00000] in :0
at System.Windows.Forms.Control.OnParentVisibleChanged (System.EventArgs e) [0x00000] in :0
Once ARC launches, if I try to open a previously saved project, a window pops up with a similar message:
Version: 2019.05.08.00
System.IO.DirectoryNotFoundException: Directory 'EZ-Builder/Examples' not found.
at System.IO.Directory.ValidateDirectoryListing (System.String path, System.String searchPattern, System.Boolean& stop) [0x00091] in <8f2c484307284b51944a1a13a14c0266>:0
at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, System.IO.FileAttributes mask, System.IO.FileAttributes attrs) [0x00023] in <8f2c484307284b51944a1a13a14c0266>:0
at System.IO.Directory.GetDirectories (System.String path, System.String searchPattern) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
at System.IO.Directory.GetDirectories (System.String path) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
at EZ_Builder.FormOpenEZB.XtZsj07xQ5 () [0x0000b] in <8a9b654daa5e46dc9cae530155c2d0ff>:0
at EZ_Builder.FormOpenEZB..ctor (System.String folder) [0x0002d] in <8a9b654daa5e46dc9cae530155c2d0ff>:0
at (wrapper remoting-invoke-with-check) EZ_Builder.FormOpenEZB:.ctor (string)
at EZ_Builder.FormMain.MenuClick_Open (System.Object sender, System.EventArgs e) [0x00027] in <8a9b654daa5e46dc9cae530155c2d0ff>:0
at (wrapper delegate-invoke) :invoke_void_object_EventArgs (object,System.EventArgs)
at System.Windows.Forms.RibbonItem.OnClick (System.EventArgs e) [0x00042] in <8137470ea8f14440974ce9168ccc636e>:0
at System.Windows.Forms.RibbonButton.OnClick (System.EventArgs e) [0x0003f] in <8137470ea8f14440974ce9168ccc636e>:0
at System.Windows.Forms.RibbonMouseSensor.Control_MouseClick (System.Object sender, System.Windows.Forms.MouseEventArgs e) [0x00041] in <8137470ea8f14440974ce9168ccc636e>:0
at System.Windows.Forms.Control.OnMouseClick (System.Windows.Forms.MouseEventArgs e) [0x0001c] in :0
at System.Windows.Forms.Control.HandleClick (System.Int32 clicks, System.Windows.Forms.MouseEventArgs me) [0x0005d] in :0
at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m) [0x00071] in :0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x0016f] in :0
at System.Windows.Forms.Ribbon.WndProc (System.Windows.Forms.Message& m) [0x00191] in <8137470ea8f14440974ce9168ccc636e>:0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in :0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x0000b] in :0
at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x0008e] in :0
I searched Synthiam Community for a similar thread, so forgive me if this issue has been addressed in a previous post and I missed it. I am happy to answer any questions. Does anyone know what I could have done wrong during the installation?
Thanks Tim
Related Hardware Raspberry Pi
It took me sometime to test your suggestions because I damaged my Pi 3 B somehow. It now overheats minutes after it is powered on. I was a little over eager in assembling the robot and did not test all of the cables before connecting the Pi, Dynamixel servos, cooling fan, power supply, etc. Today I removed a Pi 3 B+ from a different robot and tried the steps suggested above. I still encountered the following errors:
I decided to start over with a fresh install of Raspbian Buster and I followed the install instructions for Raspbian 10 found here: https://www.mono-project.com/download/stable/#download-lin-raspbian
Unfortunately I am still having the same errors. Mono is also still not creating the "Examples" folder in /home/pi/EZ-BuilderPi/ARC when first running:
Lastly, when starting the camera, ARC still grinds to a halts after a few frames and eventually crashes. Please let me know if you can think of anything else that I maybe doing wrong. Thanks
Cool, what kind of Dynamixel driven robot are you building?
My experience is Raspian Stretch only, is Buster confirmed to be working with ARC? Did you check for issues concerning Mono and Buster?
You could also give it a try on Stretch, just to get started? Or keep running ARC on a Windows PC, because it will still be connecting to you EZBPi thru Wifi anyways... That is something we could put on a wishlist. Connection of an emulated EZ-B and ARC using Wifi, while hosted in the same Raspberry Pi, is a bit strange!
Let me know about your progress, I will try to think of other things that could be related to your issue!!
Try if this fixes the libpng warning...
sudo apt-get install libpng-dev
And try this to fix System.Windows.Forms errors...
apt-get install libmono-system-windows-forms4.0-cil
More info about Mono installs here... https://www.mono-project.com/download/stable/#download-lin-raspbian
I am working on two robots. The first robot is an updated version of my MAKI series. This is a robot which I've made available for download in the past (STL files). I also sell this robot fully assembled, primarily to university research labs. I was hoping to incorporate ARC in this platform so that it can be more accessible (most people use ROS or create their own software). I have incorporated Google AIY v1 into this platform as well. I am still finalizing the design, but here is an image of the current prototype:

The second robot currently has an EZ-B board and camera; however, I really want an all-in-one (embedded PC) solution because it is mobile. Ideally, the final version of this platform will have a Raspberry Pi Zero or PI 3 A+. It also currently has an Adafruit Teensy, controlling the eyes:Thanks for the suggestion on using Stretch instead of Buster. Do you know what release of Stretch you are using? So far I have tried the versions released 2019-04-08 and 2018-11-13 and have still gotten the same errors.
Do you think I should just try installing mono-devel instead of mono-complete?
Here is where I notice problems when installing mono-complete (at the end of the install):
Here are some other things that I tried:
Thank you again for your help and please let me know if you can think of anything else for me to try.
I can confirm is working on my RPI 4B / buster. When I manually create the example directory the ARC is fine.
Camera: Not working, Error: Invalid IAsyncResult it seems related to this bug: https://github.com/mono/mono/issues/15364 mono version:
the solution (no solution): my mono version is: is an older version but it seems the issue is similar.please run the following commands:
Man, honestly...both of your robots are looking GREAT!! You should create a robot showcase here at the forum, so more people get to see them!! So clean and well build!! Personally I like the look and color scheme of the second one a lot!! It really needs a name though!!
Your idea of installing mono-devel could work...I dont know what I did to get it working, its been a while! Make sure to check... https://www.mono-project.com/download/stable/#download-lin-raspbian For all the necessary steps!
You got any Github or Project pages for your robots? Supercool!!!
btw...I am also using AIY Vision and Voice in my robot! Since Dynamixel Servos raise the cost significantly, I decided to go with the cheaper LX16A LewanSoul servos, they are a bit slower and are having a bit less options within the protocol, but are working fine for me!!