ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Use pose for navigation

asked 2019-03-12 08:22:32 -0500

jksllk gravatar image

I am currently developing a robot which will use a camera system to read an ArUco marker to give the robot its pose. The ArUco part is sorted, however I am having trouble building the navigationstack for this usecase. The robot will drive from point-to-ponit inputted by the user and current pose being fed back from the cameras.

Any tips or similar applications I can look for?

Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-03-19 03:49:52 -0500

Choco93 gravatar image

You can look into following packages: detection and navigation

Steps to follow:

  1. Detect Aruco Marker, using existing package or you can use opencv (suggested), so you can actually understand parameters of the detector.
  2. Transform the detection. Since the detections you get are in different frame as what ROS uses so you need to transform them as follows

    x_in_ros = z_detection

    y_in_ros = - x_detection

    z_in_ros = y_detection

  3. Now you have distance of tag from the camera in ROS coordinates. You can give it as a goal using move_base action client or by just publishing to the goal topic of move_base.

  4. You can also use the navigation link I have provided, then you don't need to change detection, you need to pass them as it is to navigation and it will publish velocity command to get you there.

Hope this helps :)

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2019-03-12 08:22:32 -0500

Seen: 530 times

Last updated: Mar 19 '19