Added new robot descriptions for Robotoid
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
rplidar_node:
|
||||
ros__parameters:
|
||||
scan_mode: "ppbig"
|
||||
topic_name: "base-link"
|
||||
topic_name: "base_link"
|
||||
@@ -54,7 +54,7 @@ class MgScanner : public rclcpp::Node {
|
||||
double y = NAN;
|
||||
double rot = NAN;
|
||||
|
||||
auto tmsg = tf_buf_->lookupTransform("odom", "base-link", tf2::TimePointZero);
|
||||
auto tmsg = tf_buf_->lookupTransform("odom", "base_footprint", tf2::TimePointZero);
|
||||
|
||||
tf2::Transform t;
|
||||
tf2::convert(tmsg.transform, t);
|
||||
|
||||
Reference in New Issue
Block a user