How would i set up a web based application that could send pre programmed sequences to the ssc-32?
i.e fowards, backwards, turn left, turn right
i have the ssc-32 hooked up via sparkfuns bluesmirf
should i have put this in the sequencer forum?
How would i set up a web based application that could send pre programmed sequences to the ssc-32?
i.e fowards, backwards, turn left, turn right
i have the ssc-32 hooked up via sparkfuns bluesmirf
should i have put this in the sequencer forum?
The new SEQ update will have this ability. It’s so close to being finished. Just hold on a bit longer.
you’re my hero
If you want to “roll your own” web control, I put some info in the below link.
cheers man that’s pretty useful, i just skimmed the posts but from what i gathered it sends a single command to a single servo. i need to play whole sequences.
i’m sure it can be adapted although my programming skills are minimal to none. so i don’t fully understand the code.
it’s a great start though thanks.
What RobotDude is talking about is a new mod coming for the SSC Firmware and SEQ. It will allow the storage of Sequences in an EEPROM which can be played back with a single command.
This should fit in with what you are doing.
I’m waiting for the nod myself as there is something Im working on that requires it too.
The cgi application will send any string of servo commands that are followed by a carrage return. Below is a similar setup that operates two servos to pan/tilt a webcam.
Now that the new sequencer has been released what would i need to do to achieve a webpage with buttons that when click control my robot?
I have had a look at the socket server but still don’t fully understand how to send commands to the port it sets up. Am I on the right track?
Laurent is away for supper… I have not used it yet. But I believe the socket server will be able to receive commands to start sequences from the Advanced Play form. Any of the 29 buttons that are configured…
i’m not a PHP programmer,
but i know there’s a “socket” command in PHP,
with this function you can connect and send text (commands) to SEQ (to launch some sequences from the Advanced Play form,
or connect directly to the SSC-32 if you’re using a Wifi COM port on the robot + a WIFI modem.
well i’ve just started to uncover what php can do but here’s a quick example that i’ve managed
this script communicates with the seq socket server and retrieves the firmware version.
i’m now starting to put the theory behind this into a web page that can act the same as the adveanced play function.
<?php $connection = fsockopen ("192.168.0.13", 55000); if ($connection) { fwrite($connection, ""); echo fgets($connection, 10); } ?>replace the highlighted ip with the one in your socket server.
I look forward to seeing what other people come up with.
I’m working with Python and sockets now, and have mod_python as well as mod_php installed on my web servers. I can already send commands to an SSC-32 from Python.
We are going to need a new forum for web programming and controlling robots, SEQ, etc. I am thinking this is going to be a very active topic, especially with many of us starting to work with RoboRealm. I see a lot of possibilities for bringing this all together in one application - sockets, SEQ, RoboRealm, etc.
8-Dale