Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/ppk scripts #186

Draft
wants to merge 18 commits into
base: master
Choose a base branch
from
Draft

Feature/ppk scripts #186

wants to merge 18 commits into from

Conversation

clanegge
Copy link
Contributor

Convenience scripts for creating PPK solutions using RTKLIB

This PR contains two scripts:

  1. sbp2pos.sh
    • Creates PPK solution, kml files and has the option to add position's from created solution to ROSbag
  2. pos2bag.py
    • Converts positions from PPK solution to desired reference frame and adds them to a ROSbag

I used/tested sbp2pos quite often already and it seems to work fairly well. Pos2bag still needs some work though. Especially determining the time offset between the to-be-added PPK positions and the rosbag time needs a bit more work.

clanegge and others added 16 commits June 4, 2020 15:46
New base class was set up handling the listener subscriptions to message callbacks.  Object can inherit from this class and set up callbacks for any group of SBP Message (observation, emphemeris, ...) .
Adds 3 lambda functions. Corresponding methods have been added to cb_to_raw_obs_converter as well.
Wrong message type was copy pasted to sbp_send_message method
- File logger is initialized in own method if in launch file logging is set to true.
- Per default logger is off. Default binary directory is: /tmp/tmp_observations.sbp
- Sender id was moved down to receiver_ros, so that every receiver stores its own ID, and not only the base station (sender id is needed for logging)
Changed back class names to "observation". Ephemeris can also be considered an observation
Also added prefix to observation file with the type of receiver, hopefully this allows to store observations from multiple connected receivers into different files.
Can start and stop logger for attitude and position receiver independently. If a custom name is set, the file is not overwritten when logging restarted but rather a number is added as appendix preventing accidental loss of observation files.
…lso added python script which takes the solution and adds them to an existing Rosbag.
Can be used if trying to get correct position for base station for example.
@clanegge clanegge requested a review from michaelpantic July 7, 2021 12:40
@clanegge
Copy link
Contributor Author

clanegge commented Jul 7, 2021

PR #174 should be merged before this one

clanegge added 2 commits July 7, 2021 16:17
…lder

Now user has to specify if reference files should be loaded from an sbp binary or from swisspos files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants