-
Notifications
You must be signed in to change notification settings - Fork 42
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
Add ROS driver for Piksi gps module #416
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was the error from rosdep
:
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
swiftnav_piksi: Cannot locate rosdep definition for [libswiftnav]
Do you recall what libswiftnav
is?
setup_scripts/install_libsbp.sh
Outdated
#!/bin/bash | ||
|
||
echo "================================================================" | ||
echo "Installing Siwft Navigation's Binary Protocol library || (GPS)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
echo "Installing Siwft Navigation's Binary Protocol library || (GPS)" | |
echo "Installing Swift Navigation's Binary Protocol library || (GPS)" |
Add supporting Swift Navigation Binary Library to external libs folder (libsbp)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry I gave you the wrong rosdep command earlier today. This one should hopefully work.
@@ -51,7 +51,7 @@ cd $CURR_DIR | |||
rosdep install --from-paths \ | |||
$CURR_DIR/../src \ | |||
$CURR_DIR/../src/external_pkgs \ | |||
--ignore-src --rosdistro melodic --skip-keys=librealsense2 -y | |||
--ignore-src --rosdistro melodic --skip-keys=librealsense2,libswiftnav -y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--ignore-src --rosdistro melodic --skip-keys=librealsense2,libswiftnav -y | |
--ignore-src --rosdistro melodic --skip-keys=librealsense2 --skip-keys=libswiftnav -y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In addition to the above, run ./clang-format/fix_formatting.sh master
setup_scripts/install_libsbp.sh
Outdated
echo "Installing Swift Navigation's Binary Protocol library || (GPS)" | ||
echo "================================================================" | ||
|
||
cd external_libs/libsbp/c # get to build space |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cd external_libs/libsbp/c # get to build space | |
cd ../external_libs/libsbp/c # get to build space |
The path was not relative to $CURR_DIR
from the top level script.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's been a hassle but finally Travis CI is not complaining! You can proceed with squashing and merging the pull request.
* Add ROS driver for Piksi gps module Add supporting Swift Navigation Binary Library to external libs folder (libsbp) * Cleaned Up PR mistakes * More minor mistakes * Fixed name of external piksi * Told ROS to not look for libswiftnav * Fixed spelling error * fixed line 54 to make install_dependencies.sh skip libswiftnav. * fixed error in install_libspb, corrected a change directory
* Add ROS driver for Piksi gps module Add supporting Swift Navigation Binary Library to external libs folder (libsbp) * Cleaned Up PR mistakes * More minor mistakes * Fixed name of external piksi * Told ROS to not look for libswiftnav * Fixed spelling error * fixed line 54 to make install_dependencies.sh skip libswiftnav. * fixed error in install_libspb, corrected a change directory
* Add ROS driver for Piksi gps module Add supporting Swift Navigation Binary Library to external libs folder (libsbp) * Cleaned Up PR mistakes * More minor mistakes * Fixed name of external piksi * Told ROS to not look for libswiftnav * Fixed spelling error * fixed line 54 to make install_dependencies.sh skip libswiftnav. * fixed error in install_libspb, corrected a change directory
* Add ROS driver for Piksi gps module Add supporting Swift Navigation Binary Library to external libs folder (libsbp) * Cleaned Up PR mistakes * More minor mistakes * Fixed name of external piksi * Told ROS to not look for libswiftnav * Fixed spelling error * fixed line 54 to make install_dependencies.sh skip libswiftnav. * fixed error in install_libspb, corrected a change directory
Please fill out the following before requesting review on this PR
Description
Add supporting Swift Navigation Binary Library to external libs folder (libsbp)
As well as a driver to run the module on ROS.
Not 100% sure if this is right, the external library may not download properly
Testing Done
Runs on my 18.04 computer and the precision computer
Resolved Issues
No specific issue resolved, but now the repo can use data from the GPS module.
Review Checklist
(Please check every item to indicate your code complies with it (by changing
[ ]
->[x]
). This will hopefully save both you and the reviewer(s) a lot of time!)It is the reviewers responsibility to also make sure every item here has been covered
.cpp
and.h
file should have a comment at the start of it. See files insrc/sample_package
for examples..h
file) should have a javadoc style comment at the start of them. For examples, see the classes defined insrc/sample_package
TODO
(or similar) statements should either be completed or associated with a github issueFeel free to make additions of things that we should be checking to this file if you think there's something missing!!!!