-
Notifications
You must be signed in to change notification settings - Fork 121
Arduino Create Agent
With robots that are arduino compatible there is a possibility to utilise Arduino Create Agent for transferring the HEX of the program to the board. Currently several robots already support this feature and automatic detection and connection to the robot is done by Open Roberta.
In order to use Create Agent one must install it first. The last windows release that can be found in github repository seems to be broken, but the installer that can be downloaded from the Arduino Web Editor page is (was) working.
Links to installers:
A couple of things need to be changed for the Create Agent to work with RobertaLab:
- public key for signing the command line
- origins URL (if you are not using lab.open-roberta.org)
You can get a file from OpenRoberta git repository from Resources folder. Modify accordingly your origins URL. Do not modify the key though.
If you run into a problem that will be logged by the agent as "avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission denied" then you have two solutions: temporary one, just do sudo chmod 666 /dev/ttyACM0 and a permanent one that is writing a udev rule.
- Add a createagent group: sudo addgroup createagent
- Add yourself to this group: sudo usermod -a -G createagent username
- Create a file 45-createagent.rules with the following content:
# Bob3
SUBSYSTEM=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="0933", SYMLINK+="bob3", GROUP="createagent", MODE="0666"
# mBot
SUBSYSTEM=="usb", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="7523", SYMLINK+="mBot", GROUP="createagent", MODE="0666"
# BotNRoll
SUBSYSTEM=="usb", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", SYMLINK+="botnroll", GROUP="createagent", MODE="0666"
- Copy this file to /etc/udev/rules.d. From a console window type: sudo cp 45-createagent.rules /etc/udev/rules.d
Now your robot should always have correct read/write permissions. You will probably need to reboot your computer once for the rules to take effect.
Home | Community | Installation | Team
Installation Tutorials
- Instructions to run a openroberta lab server using DOCKER
- Instructions to run the Open Roberta Lab Server natively on ubuntu ‐ not recommended
- Raspberry Pi 2/3/4 and the Open Roberta Lab
- EV3 and leJOS
- EV3 and ev3dev
- Creating the OR leJOS image
- Arduino Create Agent
- Mbed DAL: Generation and automation
Development
-
Workflows
-
Architecture
-
Blockly
-
Software engineering issues
-
Misc
-
Notes on robots
Textual Representation
Contribution
Discussions on future development