hey kas!!
long time no contact, i gave up on my project for a little bit there but decided my school might disapprove. might have some simple coding questions to come like if i could get away with completing the project with out a buzzer.
hey kas,
for your code for "Cube Mover hard coded Demo @kas2017\n" I'm having some troble as when i set the limits for closing the griper it works at the start and finish. however throughought the execution the gripers don't close enough, i can try provide video.
thanks
I'm having some troble as when i set the limits for closing the griper it works at the start and finish. however throughought the execution the gripers don't close enough, i can try provide video.
hey kas,
thanks for that i'll see if i can get a buzzer, but i should be able to run the code soon then.
here's a video of the cube, as you can see the gripper on the left is lose and the one on the right seems fine, these are what my limits are set to, i thought it might be because of the my limits being the oposite to yours (close is higher than open, yours is the opposite)
First make sure that your can manually increase claw closure
You may have reached the mechanical end stop of your left servo
Just unscrew, lift the driving arm and rotate it
i thought it might be because of the my limits being the oposite to yours (close is higher than open, yours is the opposite)
That's a possibility
Remove cube,
adjust DOWN/BACK_CLOSE/OPEN parameters one at a time and see the effect for yourself
For a good grip, without cube inserted, claw should close about 2mm more than the actual cube edge size and open 1 to 2mm more than cube diagonal
hey kas,
thanks, I'd already been playing with my limits, so I've decided to change servo and to add different cushioning thats more gripy as one of my gripers is able to grip the cube while the other obviously can't. I've also been drawing up to 2.5 amps during the uses, does what does yours draw?
thanks
that's strange do you know what the stall current of your servos are? but its no real pro blame I've just
increased my power supply
i changed the connections to the servos and they back gripper still doesn't hold the cube I'm a little lost about because the down claw holds the cube beautifully, but i did find that by prints aren't quite aligned so
i will need to upload a different frame for those that would like to use it.
i changed the connections to the servos and they back gripper still doesn't hold the cube I'm a little lost about because the down claw holds the cube beautifully
With cube removed, can you manually close the back gripper ??
How is the requested applied force compared to the down gripper ??
hey kas,
ive managed to solve the problem with the gripping, the claws werent aligned properly and i changed the foam that i was using on the claws.
however, i am now having some dificulties with the python, here's an image
any chance you know whats going on there, i changed the path that you set and it still didn't work.
hey kas,
the code you've refere to i couldn't find.
try:
f = urllib.request.urlopen(cubeExplorer + command)
print(cubeExplorer + command)
page = str(f.read())
except:
vSolve.set("No response from Cube Explorer")
that's what I've got...
-yes, i can launch cube512htm.exe and it runs perfectly
-"C:\Users\ben\Documents\school\systems\cube exporer\cube512htm.exe" is this what you need?
-I'm using windows
-"cubeExplorerPath = 'C:\Program Files\Cube Explorer\cube512htm.exe' ## Cube Explorer program path"
try:
f = urllib.request.urlopen(cubeExplorer + command)
print(cubeExplorer + command)
page = str(f.read())
except:
vSolve.set("No response from Cube Explorer")
that's what I've got...
This is not the right code snippet, I am refering to line #354
what is your absolute path to cube512htm.exe on your computer ??
"C:\Users\ben\Documents\school\systems\cube exporer\cube512htm.exe" is this what you need?
please copy paste the "cubeExplorerPath = ...." line from your actual python code
"cubeExplorerPath = 'C:\Program Files\Cube Explorer\cube512htm.exe' ## Cube Explorer program path"
Based on your information, your actual python code should read (line #26): cubeExplorerPath = C:\Users\ben\Documents\school\systems\cube exporer\cube512htm.exe
yeah I'm just trying to get to know python a bit better.
now that ive tested the code with the hardware but when i try to "scan colors" the text says " no response from cube explorer" and same when i try reset but not test. but the program opens cube explorer, any ideas
now that ive tested the code with the hardware but when i try to "scan colors" the text says " no response from cube explorer" and same when i try reset but not test. but the program opens cube explorer, any ideas
however the cube i am using and that you seem to be using are arranged that same, however you'll notice in the photo that my scan shows that the left it doesn't appear to be the same as the red and orange have switched sides or visa versa. i think this is because the claw scans in the wrong direction? as the scan asks to be in the order back then left then front etc. but it scans the wrong side second? would that effect it?s