You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my view, turtle is a great tool for exploring _polar_ coordinates. If you set emphasis to rectangular coordinates, there are many tools that are much better.
Second, your function might be ok for you, but it is really not suitable for standard library. Probably you meant something like (a method)
What other Turtle implementations support the teleport command?
begilbert-sys commented on Jul 12, 2021
begilbert-sysmannequin
MannequinAuthor
More actions
Turtle is the most accessible and well-known drawing module for kids to use so teleporting makes more sense in the context of drawing random shapes or small pictures around the screen. I've seen the penup/goto/pendown combo so often that I figure it at least warrants a suggestion. Also my crappy function was mostly just meant as an outline, haha.
Hello, my name is Liam, and I’m part of a student software engineer group of 4 at Carnegie Mellon. We’ve been tasked with contributing to an open source project, and this issue seems like a great first start. Would you mind assigning this to me (my group)? Also, you might see the same comment on 1-2 other issues, since we’ll likely be working on more than just one for our assignment.
https://wiki.ros.org/turtlesim#Services Robot Operating System (ROS) has a teleport-absolute and teleport-relative in its turtlesim. which takes an x y and theta angle. why it takes an angle isn't clear (i suppose to declare the new orientation); that isn't something i'd copy.
teleport is mirroring the existing goto/setpos/setposition absolute cartesian positioning API, but with more convenient semantics. A polar coordinate system teleport would be a different api and is out of scope for this feature request.
Thanks for your contribution Liam, merged. We don't often touch the turtle module as it's a bit of a leftover thing that we keep in the standard library because of its usefulness in educational settings, but this feature addition made sense.
Activity
begilbert-sys commentedon Jul 12, 2021
I use turtle pretty often in a teaching setting. It's extremely common that I'll define the following function at the top of my code:
Shouldn't this sort of method already exist within the turtle class?
vedgar commentedon Jul 12, 2021
In my view, turtle is a great tool for exploring _polar_ coordinates. If you set emphasis to rectangular coordinates, there are many tools that are much better.
Second, your function might be ok for you, but it is really not suitable for standard library. Probably you meant something like (a method)
serhiy-storchaka commentedon Jul 12, 2021
What other Turtle implementations support the teleport command?
begilbert-sys commentedon Jul 12, 2021
Turtle is the most accessible and well-known drawing module for kids to use so teleporting makes more sense in the context of drawing random shapes or small pictures around the screen. I've seen the penup/goto/pendown combo so often that I figure it at least warrants a suggestion. Also my crappy function was mostly just meant as an outline, haha.
liam-gersten commentedon Apr 17, 2023
Hello, my name is Liam, and I’m part of a student software engineer group of 4 at Carnegie Mellon. We’ve been tasked with contributing to an open source project, and this issue seems like a great first start. Would you mind assigning this to me (my group)? Also, you might see the same comment on 1-2 other issues, since we’ll likely be working on more than just one for our assignment.
gpshead commentedon Apr 28, 2023
FWIW I agree that a
teleportis a useful feature addition.Some existing other Turtle teleport references:
!turtle-teleportto x y coordinates.teleport-absoluteandteleport-relativein itsturtlesim. which takes an x y and theta angle. why it takes an angle isn't clear (i suppose to declare the new orientation); that isn't something i'd copy.teleportis mirroring the existing goto/setpos/setposition absolute cartesian positioning API, but with more convenient semantics. A polar coordinate system teleport would be a different api and is out of scope for this feature request.i'm reviewing the PR.
gh-88773: Added teleport method to Turtle library (#103974)
gpshead commentedon Apr 30, 2023
Thanks for your contribution Liam, merged. We don't often touch the turtle module as it's a bit of a leftover thing that we keep in the standard library because of its usefulness in educational settings, but this feature addition made sense.
Merge branch 'main' into supermon