Execute Vector SDK Python3 code via Shell Script

Posted on
Fri Dec 21, 2018 11:43 pm
DVDDave offline
Posts: 341
Joined: Feb 26, 2006
Location: San Jose, CA

Execute Vector SDK Python3 code via Shell Script

I purchased an Anki Vector robot and have been playing around with the python based SDK that was recently released. Since it requires Python version 3 (3.6 I think), I thought I was out of luck with trying to add Indigo into the mix. However, I found that if I placed a shell script in the Indigo Scripts folder containing a command to execute a python3 script, it runs just fine with an Indigo shell script action..

I'm a real novice when it comes to python programming so I don't know if this is a big deal or not. Since I saw a few threads lamenting the inability of Indigo to run python3 code, I thought it might be of interest.

I also thought it might be of interest to Vector owners since this gives far more options for controlling the robot without manually running a program on another device. It could even be used to pass Siri or Alexa commands to Vector. And since Vector is now an Alexa conduit, the commands could even be issued by talking to the robot itself. The mind boggles! :idea:

--Dave

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest