namespace fix
This commit is contained in:
parent
b129d26a02
commit
2d6d5d0d28
@ -987,7 +987,7 @@ void roscontroller::local_pos_callback(const geometry_msgs::PoseStamped::ConstPt
|
|||||||
{
|
{
|
||||||
cur_pos.x = msg->pose.position.x;
|
cur_pos.x = msg->pose.position.x;
|
||||||
cur_pos.y = msg->pose.position.y;
|
cur_pos.y = msg->pose.position.y;
|
||||||
set_currentNEDpos(msg->pose.position.y,msg->pose.position.x);
|
buzzuav_closures::set_currentNEDpos(msg->pose.position.y,msg->pose.position.x);
|
||||||
// cur_pos.z = pose->pose.position.z; // Using relative altitude topic instead
|
// cur_pos.z = pose->pose.position.z; // Using relative altitude topic instead
|
||||||
tf::Quaternion q(
|
tf::Quaternion q(
|
||||||
msg->pose.orientation.x,
|
msg->pose.orientation.x,
|
||||||
|
Loading…
Reference in New Issue
Block a user