-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error transformation? #90
Comments
hi! the poses here are all coordinate frames (not transforms that take points from one coord frame to another), so this is correct. what issues are you experiencing right now? please let us know if you have any : ) |
Thanks for your reply. Here transformations and coordinate frames are equivalent. In other words, the transformation from goal to world is just the goal coordinate frame in world frame. So I still have this ISSUE. In the current codes self.robot.get_base_pose() returns identity so it affects nothing. |
sure let’s go with this terminology. if you don’t set the base pose of the robot of course it will be identity. can you clarify what is the issue here? this function computes target wrt base. this is achieved by base -> world -> target. |
@Lexseal I also have the same issue. (I'm new to robotics. Maybe I don't understand coordinate system transformations very well.) This is probably a really stupid question, but I'd like to know why the opposite multiplication should be done. Thanks! :) |
good question! so let’s say you have a frame B that is written with respect to frame A. that same frame B, if you see it as a transformation, takes points written with respect to coordinate B to coordinate A. i.e. frame and transforms are inverses of each other |
I also have a problem with this part. When I run demo, it reports an error 'TypeError: can't multiply sequence by non-int of type 'mplib.pymp.Pose' '. So I try to fix the problem as follows
I'm a beginner to this realm, maybe there are still some problems or better solutions, please tell me. |
can you attach the error message please? |
The detiled error messsage can be above. |
yeah sorry apparently the demos are not up to date : (( |
In https://github.com/haosulab/MPlib/blob/main/mplib/planner.py line 616-618:
the relative transformation from goal to base should be goal_to_world * world_to_base, resulting in
goal_pose * self.robot.get_base_pose().inv()
.The text was updated successfully, but these errors were encountered: