Comments (5)
The remaining issue to support 3.20 is the timespec_t support from gpsd commit:
https://gitlab.com/gpsd/gpsd/-/commit/1d4a09541a18c453c5586e6f57d3eb5fec9526ed#fbec23e759c01a5d296e7d1e3a17e9b131df6ae4
from gps_umd.
I'm running into this too. The epe
field was removed even in gpsd 3.19. From /usr/include/gps.h
:
* 8.0 - Change shape of rawdata_t.
* Remove epe from gps_data_t, it duplicates gps_fix_t eph
* Added sep (estimated spherical error, 3D)
* Note: Some GPS call eph as epe, others call sep as epe
* Add gps_fix_t datum string, and qErr
from gps_umd.
See #26 for a patch for the epe
issue so that gps_umd builds against gpsd-3.19, based purely on the documentation in /usr/include/gps.h
.
The other two issues must occur between 3.19 and 3.20. I haven't tried getting this working with 3.20 yet.
from gps_umd.
I'm working on a proprietary fork and don't have the time to merge our changes with this, but I can contribute my fix to this specific issue.
#if GPSD_API_MAJOR_VERSION >= 9
if (!p->online.tv_sec && !p->online.tv_nsec) {
#else
if (!p->online) {
#endif
return;
}
#if GPSD_API_MAJOR_VERSION >= 9
fix.time = (double)(p->fix.time.tv_sec) + (double)(p->fix.time.tv_nsec) / 1000000.;
#else
fix.time = p->fix.time;
#endif
#if GPSD_API_MAJOR_VERSION >= 9
if (use_gps_time && (p->online.tv_sec || p->online.tv_nsec))
fix->header.stamp = ros::Time(p->fix.time.tv_sec, p->fix.time.tv_nsec);
#else
if (use_gps_time && !std::isnan(p->fix.time))
fix->header.stamp = ros::Time(p->fix.time);
#endif
else
fix->header.stamp = ros::Time::now();
from gps_umd.
Thanks, that looks good to me!
from gps_umd.
Related Issues (20)
- Please do not engage in this type of issue spam. HOT 1
- Issue Spam
- Update GPS Validity Check to Use mode Instead of status Field HOT 2
- How to launch gpsd_client HOT 5
- Broken links for documentation HOT 2
- Implement LifeCycle Functionality
- Make Polling Rate Configuraable HOT 4
- Nothing published on fix topic, no reconnection to gpsd HOT 6
- Clarification for GPSFix message "dip" field HOT 4
- Create GNSSFix and GNSSStatus messages HOT 4
- GPS Params HOT 2
- Foxy regression HOT 4
- ROS 1 Noetic/Melodic release HOT 1
- ROS2 Humble release HOT 1
- GPSD v12 Compatibility for ROS2 HOT 1
- Covariance should be unknown when value is NaN
- Please clarify license HOT 4
- PRNs as integers are not satisfactory HOT 2
- Lat/longitude values not changing HOT 2
- New release into Rolling HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gps_umd.