Gripping action using sum of internal gains

RB1000, VS-H8PWM28V2 controller, DSR and RDS servos
9 postsPage 1 of 1
9 postsPage 1 of 1

Gripping action using sum of internal gains

Post by Ray » Sun Oct 12, 2008 5:17 am

Post by Ray
Sun Oct 12, 2008 5:17 am

By using the sum of gains of each servo, gripping object of variable size can be easily achieved, however, training is required to get good operation :lol:

phpBB [media]


Image
By using the sum of gains of each servo, gripping object of variable size can be easily achieved, however, training is required to get good operation :lol:

phpBB [media]


Image
Last edited by Ray on Wed Oct 29, 2008 11:36 am, edited 1 time in total.
Ray offline
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 230
Joined: Sun Apr 23, 2006 1:00 am
Location: HK

Post by mic2 » Sun Oct 12, 2008 8:18 pm

Post by mic2
Sun Oct 12, 2008 8:18 pm

Image

Cool! :P How you assign these PS gain? i.e. to control the specific servo? Please give more details.

In your final motion it pick up the box and then getup, how it can remember the variable width of the box? so that it can holding the box not too tight or too loose

Cheers
Image

Cool! :P How you assign these PS gain? i.e. to control the specific servo? Please give more details.

In your final motion it pick up the box and then getup, how it can remember the variable width of the box? so that it can holding the box not too tight or too loose

Cheers
mic2 offline
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 85
Joined: Thu Mar 01, 2007 6:52 pm

Post by Ray » Mon Oct 13, 2008 11:48 am

Post by Ray
Mon Oct 13, 2008 11:48 am

Hi mic,

The VS-RC003's latest firmware include a set of summing option of gains that bring up to 5 selected variables.

Please go to CPU option and select the servo setting as shown:

Image

you can see, for example, vb3 is the feedback from PS2 Left joystick x-position (Vb3[246]). In order to give it different gain in different motion file situration, we need to assaign a Slider gain, Va3[61]. This gain can be set to zero. (This is very important, because, some time, you don't need the Analog stick to be active in other motion file) The above variable numbers should refer to your variable table in your RobovieMaker CD.


I use variable[65], [65] and [66] to remember the Joystick value in a repeted loop until the break point occurs (where you release your motion assigned key)---you can use other method such as pressing a key in your loop (you can become specialist if you can try more :) )



Cheer

Ray
Hi mic,

The VS-RC003's latest firmware include a set of summing option of gains that bring up to 5 selected variables.

Please go to CPU option and select the servo setting as shown:

Image

you can see, for example, vb3 is the feedback from PS2 Left joystick x-position (Vb3[246]). In order to give it different gain in different motion file situration, we need to assaign a Slider gain, Va3[61]. This gain can be set to zero. (This is very important, because, some time, you don't need the Analog stick to be active in other motion file) The above variable numbers should refer to your variable table in your RobovieMaker CD.


I use variable[65], [65] and [66] to remember the Joystick value in a repeted loop until the break point occurs (where you release your motion assigned key)---you can use other method such as pressing a key in your loop (you can become specialist if you can try more :) )



Cheer

Ray
Ray offline
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 230
Joined: Sun Apr 23, 2006 1:00 am
Location: HK

Post by mic2 » Tue Oct 14, 2008 1:15 am

Post by mic2
Tue Oct 14, 2008 1:15 am

Thanks Ray, finally now I can get the best use out of the analog controls. From your video there are few motions happened after it got up and holding the box i.e. walk forward, turn left right and then release the box. Is it all these motions in the same motion file? I can’t see any forward left right walk command in your program above? :? or does it actually exit to another motion with the recorded joystick value? So it cans still holding the box and waiting for the release command to complete the mission.

Cheers.
Thanks Ray, finally now I can get the best use out of the analog controls. From your video there are few motions happened after it got up and holding the box i.e. walk forward, turn left right and then release the box. Is it all these motions in the same motion file? I can’t see any forward left right walk command in your program above? :? or does it actually exit to another motion with the recorded joystick value? So it cans still holding the box and waiting for the release command to complete the mission.

Cheers.
mic2 offline
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 85
Joined: Thu Mar 01, 2007 6:52 pm

Post by Ray » Tue Oct 14, 2008 3:29 am

Post by Ray
Tue Oct 14, 2008 3:29 am

hi mic,

I divided the PS2 keys into different mode set, e.g. SELECT + X
When I enter this page, I can use my created variables for every motions file in this page.

Here, I can call this page as Box lifting page. when I created the posture of the hands, I can remain their position. unless I reset it or I leave this page. You can refer to RobovieMaker manual for details. :wink:

Ray
hi mic,

I divided the PS2 keys into different mode set, e.g. SELECT + X
When I enter this page, I can use my created variables for every motions file in this page.

Here, I can call this page as Box lifting page. when I created the posture of the hands, I can remain their position. unless I reset it or I leave this page. You can refer to RobovieMaker manual for details. :wink:

Ray
Ray offline
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 230
Joined: Sun Apr 23, 2006 1:00 am
Location: HK

Post by mic2 » Sun Oct 19, 2008 1:40 am

Post by mic2
Sun Oct 19, 2008 1:40 am

From my understanding after you release L2 it then getup and carry the joystick values, at this point does it exit the lift box page? Still not sure how you passing the values to the next motion. Also about the “Subtract Offset” from your program what -= 127 for? :roll:
From my understanding after you release L2 it then getup and carry the joystick values, at this point does it exit the lift box page? Still not sure how you passing the values to the next motion. Also about the “Subtract Offset” from your program what -= 127 for? :roll:
mic2 offline
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 85
Joined: Thu Mar 01, 2007 6:52 pm

Post by Ray » Sun Oct 19, 2008 9:01 am

Post by Ray
Sun Oct 19, 2008 9:01 am

Well, the variable va[65] is a user defined variable, in theory, this value will perminantly stored unless I turn of the Robot, so, I need to correct it.

But, anyway, I only use this variable in the Box lifting page.
when you leave the lift box routine, the variable still hold the value.

the hand is a combination of joystick values and user variable values.
The important point here is how to use the joystick to adust the hand to grip the box and then transfer this value to the user variables.

If this is not handling property, the transition will make the hand shake and loose the box. ( This is a very practical experiance, hard to explain :? )

The 127 value is a offset to first make the robot's hand horizon to prepare to hold the box. my variables doesn't record this and so finally should add the offset again. :lol:

well, my program may not be a good design, try yours and show my your algorithm :D


here is my routine for your reference: 8)
http://robosavvy.com/Builders/Ray/Lift%20Box.txt


Ray
Well, the variable va[65] is a user defined variable, in theory, this value will perminantly stored unless I turn of the Robot, so, I need to correct it.

But, anyway, I only use this variable in the Box lifting page.
when you leave the lift box routine, the variable still hold the value.

the hand is a combination of joystick values and user variable values.
The important point here is how to use the joystick to adust the hand to grip the box and then transfer this value to the user variables.

If this is not handling property, the transition will make the hand shake and loose the box. ( This is a very practical experiance, hard to explain :? )

The 127 value is a offset to first make the robot's hand horizon to prepare to hold the box. my variables doesn't record this and so finally should add the offset again. :lol:

well, my program may not be a good design, try yours and show my your algorithm :D


here is my routine for your reference: 8)
http://robosavvy.com/Builders/Ray/Lift%20Box.txt


Ray
Ray offline
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 230
Joined: Sun Apr 23, 2006 1:00 am
Location: HK

Post by mic2 » Mon Oct 20, 2008 5:23 pm

Post by mic2
Mon Oct 20, 2008 5:23 pm

Thanks Ray, that should do the job :P

phpBB [media]
Thanks Ray, that should do the job :P

phpBB [media]
mic2 offline
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 85
Joined: Thu Mar 01, 2007 6:52 pm

Post by Ray » Thu Oct 23, 2008 11:20 am

Post by Ray
Thu Oct 23, 2008 11:20 am

Good work mic! :D
Good work mic! :D
Ray offline
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 230
Joined: Sun Apr 23, 2006 1:00 am
Location: HK


9 postsPage 1 of 1
9 postsPage 1 of 1
cron