Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

You will gain money by an immoral action.


comp / comp.lang.python / Re: [Tutor] How to go about a simple object grabbing in python (given coordinates of arms and objects)

SubjectAuthor
o Re: [Tutor] How to go about a simple object grabbing in python (given coordinatemarc nicole

1
Subject: Re: [Tutor] How to go about a simple object grabbing in python (given coordinates of arms and objects)
From: marc nicole
Newsgroups: comp.lang.python
Date: Mon, 24 Jun 2024 09:23 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: mk1853387@gmail.com (marc nicole)
Newsgroups: comp.lang.python
Subject: Re: [Tutor] How to go about a simple object grabbing in python (given
coordinates of arms and objects)
Date: Mon, 24 Jun 2024 11:23:30 +0200
Lines: 50
Message-ID: <mailman.165.1719221044.2909.python-list@python.org>
References: <CAGJtH9SdZvsrgLHnC+NSmj9P9ykG8qXj2JXk27ai=HAYaam-GQ@mail.gmail.com>
<v58m8o$162k$1@ciao.gmane.io>
<CAGJtH9QgCX1fZ_xN4pfwPATX+s--d1JQJarYsf5dAGYPAQoyJw@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de nV2LnTxrvFsSxrjS8+YP9g9lX225AXbrOqpH/XX2R/MQ==
Cancel-Lock: sha1:DC3bBoiOk+1dZPxxAON2Lgy2o1A= sha256:TkKVT+ql7OGEMBzSxlUBpoqz4wRjx4RcGeqWuZiAnuU=
Return-Path: <mk1853387@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=W2tYzevw;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.013
X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:python': 0.06;
'translate': 0.07; '-\xc2\xa0': 0.09; 'code?': 0.09; '&gt;': 0.14;
'url:mailman': 0.15; 'that.': 0.15; '2024': 0.16; 'algorithms.':
0.16; 'flickr': 0.16; 'gauld': 0.16; 'photo-blog': 0.16;
'subject:simple': 0.16; 'url-ip:79.170.44.132/32': 0.16; 'url-
ip:79.170.44/24': 0.16; 'url-ip:79.170/16': 0.16; 'url-ip:79/8':
0.16; 'url:alan-g': 0.16; 'url:alan_gauld': 0.16;
'url:alangauldphotos': 0.16; 'url:tutor': 0.16; 'welcome.': 0.16;
'wikipedia': 0.16; 'wrapper': 0.16; 'wrote:': 0.16; 'problem':
0.16; 'python': 0.16; 'probably': 0.17; 'url:amazon': 0.19;
'to:addr:python-list': 0.20; 'subject:: [': 0.21; 'subject:] ':
0.21; 'to:no real name:2**1': 0.22; 'subject:How': 0.23; 'idea':
0.24; 'url-ip:188.166.95.178/32': 0.25; 'url-ip:188.166.95/24':
0.25; 'examples': 0.25; 'url:listinfo': 0.25; 'url-ip:188.166/16':
0.25; 'library': 0.26; 'object': 0.26; 'party': 0.26; 'perform':
0.26; 'email addr:python.org&gt;': 0.28; 'suggest': 0.28;
'environment': 0.29; 'skip:_ 40': 0.31; 'url-ip:188/8': 0.31;
'program': 0.31; 'checks': 0.32; 'retrieve': 0.32;
'subject:Tutor': 0.32; 'message-id:@mail.gmail.com': 0.32;
'mailing': 0.33; 'there': 0.33; 'able': 0.34; 'header:In-Reply-
To:1': 0.34; 'received:google.com': 0.34; 'following': 0.35;
'from:addr:gmail.com': 0.35; 'target': 0.36; 'change': 0.36;
'lists': 0.37; 'using': 0.37; 'author': 0.37; 'alan': 0.40;
'learn': 0.40; 'both': 0.40; 'should': 0.40; 'forum': 0.60;
'likely': 0.61; 'tutor': 0.61; 'point.': 0.62; 'follow': 0.62;
'between': 0.63; 'research': 0.64; 'your': 0.64; 'outside': 0.67;
'url-ip:18/8': 0.67; 'url:author': 0.69; 'within': 0.69; 'below':
0.69; 'site': 0.70; 'solutions': 0.70; 'terms': 0.70;
'unsubscribe': 0.72; 'detection': 0.76; 'domain': 0.77; '3rd':
0.81; 'angle': 0.84; 'nao': 0.84; 'robot': 0.84; 'subject: \n ':
0.84; '\xc3\xa9crit\xc2\xa0:': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1719221042; x=1719825842; darn=python.org;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:from:to:cc:subject:date:message-id:reply-to;
bh=oiCMUF/XP7RuXiLxdPt2K1itWQbIxlVGGOB9XOTUrBU=;
b=W2tYzevwWwI8A1LQzhqVl3sfRiGvtIU/QouOpgtlIM3nLpGaEQmcowK0LvhtVehaPd
zsqBMEMZhjZ1sEjBYCL0cNBorMiSY+xG6Rywo3waNRXhdB1fa4IaRoTKzCbCrNF2+fqU
0N+EKXNaT3hy3EVnqoi7pdXKfFyCUuOARcv1fUv/LNCYcMcgCmDgUyitmG4hrXi3cV3K
JVbzYCgWlJ5LlELSfUF6Cju8W/RLo3yniT1kmadbv+N8qtAo4ZNZG319ihWvKcrKygsH
cazm0aVbRwtrqiD+L6cCXxsnJ7a0tTD5o4qxfmIo8pAs7jI855Y3Bp7r4LCksyvrzUMl
lZFQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1719221042; x=1719825842;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=oiCMUF/XP7RuXiLxdPt2K1itWQbIxlVGGOB9XOTUrBU=;
b=wIXW1gH0elhnrxlKlAq5o902/nkgTAk//g+lFL6hFEU4xuDNAEwnsKg5RTkqETFQtY
0rbo6ti3cub09Kh+tV0Hwt/otGa2d21Q/5uvrLVqwhkqY6D4ui3ozJvsmTb2ZvuITocl
s1UaKdnQACYgxG1NY8YOOQc/1P+2FhYQihOgvlkZX+10EtLyv1m7cdX1WoY7QdOkvvHy
57arOVownYG7Xj0S20d8VCkizwJNBwRsCJ7FLUBIHD8uPiyL+lagDCmC901edYj92eoS
x1C6z92MO/p9/T+Uqup4bmjnIa91docBdf/BlF4ou4Ghc7yWbxdwru4awyks7mRedmqm
YLrQ==
X-Forwarded-Encrypted: i=1;
AJvYcCXYidN04UphAczW2lnUA0vaH3u+RbHgdEub/PbxPyebGcik1m42smG2/0iXOTcTB5lK1/IBfFXTBJInq0D26PfmGsrRNcDbHQDunXLsuUfYrJibOT1m4SiT
X-Gm-Message-State: AOJu0Yz85F3ZrbAy3uMXVKyRHatCZsoM1cMC4Cd7/9oqLVPWYnR1e0Yb
J4WKQmwW73ApQLRqN1cxbN9Fcd2TEA55boWT/ZvmA46eZSNG8s9XHAz9Nk3SlbeojZdGN0x0ciF
R5DWt8jYgEVpXJGKmeF6Cw/91Plx/foY8
X-Google-Smtp-Source: AGHT+IHlidRuKWsTHaNg4bRshEm0CM7hWvIW79Rn70j8ZO2YOkkDwFpuIcJsPsetGu6+Vjw1lHWN6/E1+vsABb0wM7k=
X-Received: by 2002:a0d:e6d1:0:b0:615:46dc:44db with SMTP id
00721157ae682-643ac22f55fmr33088337b3.35.1719221041808; Mon, 24 Jun 2024
02:24:01 -0700 (PDT)
In-Reply-To: <v58m8o$162k$1@ciao.gmane.io>
X-Content-Filtered-By: Mailman/MimeDel 2.1.39
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CAGJtH9QgCX1fZ_xN4pfwPATX+s--d1JQJarYsf5dAGYPAQoyJw@mail.gmail.com>
X-Mailman-Original-References: <CAGJtH9SdZvsrgLHnC+NSmj9P9ykG8qXj2JXk27ai=HAYaam-GQ@mail.gmail.com>
<v58m8o$162k$1@ciao.gmane.io>
View all headers

What are the parameters to account for in this type of algorithm? are there
some checks to perform the arm moves ? for example angle moves or cartesian
moves based on some distance thresholds? Any idea about the
pseudo-algorithm is welcome.

Thanks.

Le dim. 23 juin 2024 à 10:33, Alan Gauld via Tutor <tutor@python.org> a
écrit :

> 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 - Tutor@python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>

1

rocksolid light 0.9.8
clearnet tor