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

Update Coordinate-Transforms-using-TF.md #335

Open
wants to merge 2 commits into
base: melodic
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions gh_pages/_source/session3/Coordinate-Transforms-using-TF.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ Specifically, edit the service callback inside the vision_node to transform the
1. Add `tf2_ros::Buffer` and `tf2_ros::TransformListener` objects to the vision node (as class members variables).

``` c++
#include <tf2/buffer.h>
#include <tf2/transform_listener.h>
#include <tf2_ros/buffer.h>
#include <tf2_ros/transform_listener.h>
jdlangs marked this conversation as resolved.
Show resolved Hide resolved
#include <tf2_geometry_msgs/tf2_geometry_msgs.h>
...
tf2_ros::Buffer buffer_;
tf2_ros::TransformListener listener_;
Expand Down