Re: How to go about a simple object grabbing in python (given coordinates of arms and objects)
Alan Gauld via Tutor <[email protected]> Sun, 23 Jun 2024 09:27:04 +0100
| Newsgroups | gmane.comp.python.tutor,gmane.comp.python.general |
|---|---|
| Message-ID | <[email protected]> |
On 22/06/2024 13:41, marc nicole wrote: > So, given the x,y,z coordinates of a target object and the offset x,y,z of > arms of a robot, what is a good algorithm to perform to grab the object > between the hands (either from both sides or from below all using both > hands). > > Specifically, my problem is applied to a NAO robot environment where I > retrieve a target object coordinates using the following code: This is almost entirely outside the Python domain and all within your 3rd party environment. Do they have a user forum or mailing list? You will probably get better results asking there? Another possibility is that you are using a Python wrapper around a C (or other language) library and there might be FAQs, fora or lists supporting that. If so you should be able to translate their examples to your Python code? In terms of generic solutions the only thing I can suggest that might help is to research collision detection algorithms. Wikipedia is likely a good starting point. -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ http://www.amazon.com/author/alan_gauld Follow my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor