Welcome to Synthiam!

Program robots using technologies created from industry experts. ARC is our free-to-use robot programming software that makes features like vision recognition, navigation and artificial intelligence easy.

Get Started
Belgium
Asked — Edited

Python Script For Robosapien With Complete ARC Command Set

First, you will need to follow the instructions to modify your Robosapien so that it runs with an ezb.

Unzip these files and put the .py scripts in a folder.

robosapien.zip

You will also need to download the ARC from here: https://synthiam.com/Products/ARC

In a text editor, open the rosebud.py file you downloaded, and modify the two paths found near the top. They need to point to the location of the EZ_B.dll (found inside ARC installation folder) and robosapien_commands.py (wherever you put it). Note for non-Pythonistas: Python uses '\' rather than '/' for paths, even for scripts that run in windows?

The scripts need to be run inside IronPython, rather than Python, because of heavy dependencies on the .NET framework.

IronPython can be found here:

http://ironpython.net/download/

Once installed, run the IronPython console and type

[your path here] rosebud.py

Enjoy!


Related Hardware EZ-Robot EZ-B v4
AI Support Bot
Related Content
Synthiam
PRO
Synthiam
#1  
That is so cool:) This is the first time I've seen a python EZ-SDK code. Python is such a strange language to read. Thank you for sharing this.:D
Belgium
#2  
It's good for matrix algebra:)
PRO
Synthiam
#3  
I think the dependency of indentation is what bothers me. Feels so fragile when I think about using it. I'm very OCD about the appearance of my code and have super strict formatting rules. Many people hate working with me:) I have a document that defines the DJ Programming Standard haha

But, when it comes to Python, the code indentation is obviously mandatory in any language - but the dependency on it worries me. I also find some of the function syntax a little strange. It's like they re-invented the wheel with new words, just to be different.:)

I'm glad we have support for Python now, thanks to you!
Belgium
#4  
I'll try to gradually include other example libraries. I have some wiimote stuff working and I managed to move a servo with python today.
#5  
WOW DALEX very nice work,glad to see support to python.

I have a python code for my LIDAR for navigation ,may be if i post it you can take a look at it.

Since there are many of us that would love to have support for NEATO XV-11 LIDAR laser used for navigation,even sold a few to EZB robot builders
Belgium
#6  
I can promise to look at it:) I'm not a professional programmer, so it's always a struggle. It will take me a while to make sense of it, if at all.

Actually one of the things I am working toward is to make a LIDAR using a wiimote IR camera and a low power IR laser. For extra coolness, I was thinking of putting the Wiimote (without batteries) in one hand of my Robosapien and the IR laser mounted on the nunchuk in the other hand. The hard part is getting the Robosapien to coordinate the two:)
#7  
ITS very small script,on lower power laser the neato lidar is about 300ma and its 360 deg.

When i get to my house tonight ,since i am having a easter party at my moms and dads house i will post the file.

Was made by another programmer.
#8  
here is the python script for the neato lidar,would be very cool to others to have a interface to EZB for it.
xv-11_test.zip
#9  
Hey Dalex,

Do you know if this works with the latest versions of the SDK? I have a project that this could be useful on.

Thanks
David
#10  
It looks like he hasn't posted in about a year. Hopefully he is still browsing the forums or an email will get his attention. If not, I will just have to try it and find out:)
Unknown Country
#11  
The first link is no longer available so you have an archive?