I would like to learn how to control an Arduino Bracchio via Linux.
I have the Bracchio here, and I have already installed the IDE and am able to upload code onto the microcontroller.
Now, first I wanted to look at the examples that are available pre-installed.
Some of them work ust fine, but when I want to upload the "ciaoBracchio" sketch, this is the error code I get:
In file included from /tmp/.arduinoIDE-unsaved20221122-6529-1etnitb.3on3/ciaoBraccio/ciaoBraccio.ino:26:0:
/home/michael/Arduino/libraries/Ciao/src/Ciao.h:42:2: error: #error CPU not yet supported
#error CPU not yet supported
^~~~~
Mehrere Bibliotheken wurden für "Servo.h" gefunden // Several libraries have been detected for "Servo.h".
Benutzt: /home/michael/Arduino/libraries/Servo // Used
Nicht benutzt: /home/michael/.arduino15/libraries/Servo // Unused
exit status 1
Compilation error: exit status 1
I cannot really figure out what this means, what do I need to do about this?
Ultimately I would like to get Bracchio to paint of a piece of paper.
Are there any ready-made sketches available that tell it to do that, so that I do not need to start writing a sketch from scratch?
Your topic was MOVED to its current forum category which is more appropriate than the original as it has nothing to do with Installation and Troubleshooting of the IDE
You have a third-party "Servo" library installed that is keeping you from using the built-in "Servo" library. You should move /home/michael/Arduino/libraries/Servo out of the Arduino directory and use the latest built-in version.
This is an Arduino Uno, if that is what is meant by model?
Yes, that is actually what I tried to do to solve the problem myself.
Now that I have removed the folder the second error message no longer appears, but the first one still does:
In file included from /tmp/.arduinoIDE-unsaved20221123-7751-1oplypi.go7m/ciaoBraccio/ciaoBraccio.ino:26:0:
/home/michael/Arduino/libraries/Ciao/src/Ciao.h:42:2: error: #error CPU not yet supported
#error CPU not yet supported
^~~~~
exit status 1
Compilation error: exit status 1
Still unanswered is my second question as to whether there are any ready-made sketches available for the Bracchio which tell it to paint simple forms. If there is a built-in example that tells Bracchio to throw away a sponge, it does not seem far-fetched that someone could have written a sketch like the one I am looking for before.
Where could I look for it?
If you are using Linux to control the arm, I would do the reverse kinematics calculations on the Linux machine and use Serial to send servo positions to the Arduino to pass directly to the servo outputs. This would put the complexity on the Linux machine where you have much more computer power.