Apologies for this being so long and having so many questions but this project is moving forward so fast I just want to keep on rolling while I’m feeling inspired.
The web code I wrote is totally insecure for being out on the net as of yet but I do have the page password protected and port forwarded on an odd port to show my buddies what I’m doing. If you would like to see what I have, let me know and I will message you the info. Yesterday I mounted a webcam to the “wrist” of the arm and made it so the cam watching the arm and the arm cam itself sit side by side on the page. Also remember this is my initial testing phase so the arm is put together with black tape and some other pieces. I’m definitely not some kind of engineer hehe.
I have never been able to get Maestro or UscCmd to save the settings in Linux and yes I have been bouncing back and forth to Windows to adjust the script. It’s kind of a pain but I’m fine with it if this is how it is.
There are a few things I can’t quite grasp as of yet including the with param stuff. In an ideal situation I would be able to pass the distance, speed and acceleration to the servos but I’m not so sure if that is even possible. I did see the stuff in the documentation but there was no usage example so I’m not sure what a line would look like that has speed and/or accel set. If you could give me an example of the scripting for the bot (working from your previous example if possible) and how UscCmd would be used it would be greatly appreciated.
I believe if I could figure this out I could eventually write a PHP class that interacted with a pre-built maestro_settings file. Load the file, apply it to the bot, put the software somewhere safe on the server and write your own PHP interface for controls. If I do get to this point I will share it with the world if it seems workable.
on another note… I believe I seen somewhere in this forum talks about using an old serial joystick controller to operate the servos manually by wiring the joystick to the maestro somehow. If you have any links to detailed information regarding this I would greatly appreciate that as well.
Eventualy I would like to have an option to connect a Playstation 2 controller (in analog mode) via usb adapter to the Linux machine controlling the arm but I am sure this would require building some sort of software to link the two. This might be out there but I have a vision of being able to control all pieces of the arm independently using the joysticks and using the buttons for movement “macros”. Maybe this is too far fetched, I dunno. Although this is just a simple arm, my ultimate goal with this new hobby is to build myself some sort of eeepc powered bot that drives or walks around and is controlled over a wifi connection.
As far as near future goals are concerned, I want to create or buy some sort of grasping device to mount on the end of the arm, if you have any ideas where I could get an inexpensive pre-built unit, once again I would appreciate it immensely.
I’m also wondering what other types of things can interface with the unit. I seen the lights example but here is my curiosity:
I have a battery pack attached to the maestro to power the servos. I’d like to be able to turn the power to the pack on and off using UscCmd. This way I dont have to go out and shut it off when I am done playing with it and I can create a timer somehow in the page that detects large idle times and turns the battery power off. I read somewhere about using relays on a servo channel but once again, I just couldn’t quite grasp the concept.
Thanks for being so helpful.