Skip to content
Snippets Groups Projects
Commit 254159ce authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

bug fixed

parent 0150c0d9
No related branches found
No related tags found
2 merge requests!3After cmake and const refactor,!1new release
......@@ -40,8 +40,5 @@ class SubscriberGnssNovatel : public SubscriberGnssReceiver
static std::shared_ptr<Subscriber> create(const std::string& _unique_name, const ParamsServer& _params, const SensorBasePtr _sensor_ptr);
protected:
GnssUtils::ReceiverRawAbstractPtr receiver_;
};
WOLF_REGISTER_SUBSCRIBER(SubscriberGnssNovatel)
......@@ -13,13 +13,9 @@ void SubscriberGnssReceiver::createCaptureAndProcess()
{
auto snapshot_ptr = std::make_shared<GnssUtils::Snapshot>(std::make_shared<GnssUtils::Observations>(receiver_->getObservations()),
std::make_shared<GnssUtils::Navigation>(receiver_->getNavigation()));
//GnssUtils::ObservationsPtr obs_ptr = std::make_shared<GnssUtils::Observations>(receiver_->getObservations());
//ROS_INFO("Observations copied!");
//GnssUtils::NavigationPtr nav_ptr = std::make_shared<GnssUtils::Navigation>(receiver_->getNavigation());
//ROS_INFO("Navigation copied!");
//ROS_INFO("Snapshot with copied observations an dnavigation created!");
ros::Time now = ros::Time::now();
auto cap_gnss_ptr = std::make_shared<CaptureGnss>(TimeStamp(now.sec, now.nsec),
sensor_ptr_,
snapshot_ptr);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment