Skip to content

Commit

Permalink
Update gps listener to match the SensorGps update with RTK precision
Browse files Browse the repository at this point in the history
  • Loading branch information
jmackay2 authored and beniaminopozzan committed Jul 21, 2023
1 parent e18248d commit 8ea88bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/examples/listeners/vehicle_gps_position_listener.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ class VehicleGpsPositionListener : public rclcpp::Node
std::cout << "RECEIVED VEHICLE GPS POSITION DATA" << std::endl;
std::cout << "==================================" << std::endl;
std::cout << "ts: " << msg->timestamp << std::endl;
std::cout << "lat: " << msg->lat << std::endl;
std::cout << "lon: " << msg->lon << std::endl;
std::cout << "alt: " << msg->alt << std::endl;
std::cout << "alt_ellipsoid: " << msg->alt_ellipsoid << std::endl;
std::cout << "lat: " << msg->latitude_deg << std::endl;
std::cout << "lon: " << msg->longitude_deg << std::endl;
std::cout << "alt: " << msg->altitude_msl_m << std::endl;
std::cout << "alt_ellipsoid: " << msg->altitude_ellipsoid_m << std::endl;
std::cout << "s_variance_m_s: " << msg->s_variance_m_s << std::endl;
std::cout << "c_variance_rad: " << msg->c_variance_rad << std::endl;
std::cout << "fix_type: " << msg->fix_type << std::endl;
Expand Down

0 comments on commit 8ea88bb

Please sign in to comment.