Shop OBEX P1 Docs P2 Docs Learn Events
S2 versus Scribbler using Java/C++/Python — Parallax Forums

S2 versus Scribbler using Java/C++/Python

konstanskonstans Posts: 1
edited 2011-06-06 17:02 in General Discussion
I received a few S2's for academic purposes and would like to integrate the robot into a programming class. I want to use a language that the students would likely use outside of robotics. Is the S2 also programmable in multiple languages like Java/C++/Python?

I googled a bit but I don't see a lot of information on other languages for the newer model, and wanted to know where to look for this kind of information.

Comments

  • MicrocontrolledMicrocontrolled Posts: 2,461
    edited 2011-06-06 13:52
    No, the Scribbler 2 can write in SPIN, Propeller Assembly, PropBASIC, and Catalina C (Catalina is name of the compiler).
  • John AbshierJohn Abshier Posts: 1,116
    edited 2011-06-06 15:17
    Betterbots http://www.betterbots.com/ sells a board that plugs into a Scribbler. I think it could be ported to an S2. The software http://wiki.roboteducation.org/Main_Page runs on the PC and talks to the robot via Bluetooth. It supports Python, Java, C++, Ruby, and Scheme.

    John Abshier
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2011-06-06 16:24
    The driver software (S2 object) for the S2 is written in Spin and PASM. Since I've never used PropBASIC or Catalina, I don't know whether it can be linked into programs written in either. If not, the driver would have to be rewritten from scratch.

    -Phil
  • WhitWhit Posts: 4,191
    edited 2011-06-06 17:02
    konstans,

    One of the design goals for S2 was backward compatablity with the Scribbler (the Blue one). The Scibbler was used by the IPRE using a device that plugged into the Serial Port called an IPRE Fluke. It was a card with a camera, sensors and a bluetooth device. Slave software was loaded on the Scribbler. Then, using a PC with bluetooth, software was written on the PC in Python and instructions sent to the slave Scribbler. The IPRE Fluke was sold at a time on Amazon.com

    The S2 is designed to work in this system, though I do not know if the slave software has been written for the S2 yet. Check it out here -http://wiki.roboteducation.org/Myro_Hardware and http://www.roboteducation.org/

    If it isn't ready now, it should be soon. Ken Gracey may have more info.

    Edit - This is the system that John describes above - I had not heard of Better Bots.
Sign In or Register to comment.