Skip to content
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

sdf_map_frame orientation #4

Open
sayali-purdue opened this issue Dec 12, 2020 · 5 comments
Open

sdf_map_frame orientation #4

sayali-purdue opened this issue Dec 12, 2020 · 5 comments

Comments

@sayali-purdue
Copy link

GraspPlanner publishes a map on sdf_map_topic. The reference frame of this map is set to sdf_map_frame. This frame is defined in a launch file that invokes grasp planner. E.g. offline_yumi.launch at line 74. I have a few questions about this frame:

  1. does the published map (described in this frame) represents the object to be grasped? Or is it a world-fixed frame?
  2. how/why did you decide on the orientation of sdf_map_frame to be 'forward-down-left', where Z-axis is not pointing up but to the left?

Would appreciate if someone could describe the sdf_map_frame.

Thank you!

@ksatyaki
Copy link

ksatyaki commented Dec 14, 2020

Hi, it has been a long time since I worked on this. I hope that @tstoyanov, @hoangcuongbk80 or @jsll can help you on this. :-)

@tstoyanov
Copy link
Member

It's been a long time since anyone has worked on this code base actually. Very glad that you are playing with it, but bear in mind that some parts might have broken down by now. Let me try from memory:

  1. This would be a workspace map, or at least the relevant parts of the workspace.
  2. No particular constraint here, the axes can be arbitrary of course. If memory serves me right, this particular choice was made because it was the closest orientation to the way the depth camera was pointing ( Z there is the camera axis). It just makes it easier to hand-calibrate and tune.

@sayali-purdue
Copy link
Author

Thanks for your response. ROS standard for frames is x=forward y=left and z=up as per REP https://www.ros.org/reps/rep-0103.html. Do you think this axis orientation standard can be used for sdf_map_frame so that it is easier for users to understand the code?

@tstoyanov
Copy link
Member

Sure. Make the change in the launch file and open a PR. It really does not matter from my point of view, as long as the parameters are encoded in the launch file, and someone has tested that it really works.

@sayali-purdue
Copy link
Author

Thanks. One more question: "Z there is the camera axis": does this mean the current z axis of the sdf_map_frame is in the same direction as z axis of the camera, and this z axis is pointing forward with respect to the camera?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants