Shop OBEX P1 Docs P2 Docs Learn Events
How can I make the gripper stay gripping while moving? — Parallax Forums

How can I make the gripper stay gripping while moving?

MeiresthaiMeiresthai Posts: 7
edited 2007-06-21 18:32 in Robotics
I'm sure I'm missing something really simple here, but I'd be grateful if someone could help me out here.

Whenever I try to make my boe-bot move after closing the gripper, it loosens it hold on whatever..

There's got to be a way, right? I hate how I always get stuck on really stupid things...

Comments

  • OSOKOSOK Posts: 35
    edited 2007-06-21 04:54
    Can you post your code?
  • D FaustD Faust Posts: 608
    edited 2007-06-21 10:20
    If you pulse the servo atached to the gripper with the right Pulse width every 20 ms then it should stay in that position.· It is just like controlling a cont. rotation servo while sensing the bot's enviornment.· I hope that this solves your problem.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    D Faust
  • BeanBean Posts: 8,129
    edited 2007-06-21 14:01
    D Faust is correct. You need to keep sending pulses to the gripper inside the loop that you are sending pulses to the wheels to move.

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    “The United States is a nation of laws -· poorly written and randomly enforced.” - Frank Zappa

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    www.hittconsulting.com
    ·
  • MeiresthaiMeiresthai Posts: 7
    edited 2007-06-21 18:32
    Oh! Thanks D Faust and Bean. I'll do that.
Sign In or Register to comment.