When saving the robot's position, it saves the gps value in params if it is correct. #12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces GPS integration into the
poi_managermodule, enhancing the functionality by allowing the capture and use of GPS data for points of interest (POIs). Key changes include adding new GPS-related attributes, methods, and modifying existing methods to incorporate GPS data.The poi_manager node can subscribe to the gps, so if it detects that the gps value is correct, it will add the information in the param value saving both latitude and longitude obtained from the gps.
GPS Integration:
NavSatFixfromsensor_msgs.msgto handle GPS data.gps_topic_name,gps_time,gps_msg,gps_timeout) in the__init__method.gpsCbcallback method to handle incoming GPS messages.rosSetupmethod.getCurrentGPSPosemethod to retrieve the current GPS position.Enhancements to POI Handling:
save_poi_servicemethod to accept an optionalparamsparameter for additional data, such as GPS coordinates. [1] [2]createNewPOIFromRobotPosemethod to include GPS data in the POI parameters if available.Configuration Updates:
gps_topic_nameto the configuration dictionary inServiceInitialPose2D.