Hi folks,

I'm creating Emane's gps location agent in one node in CORE, using gpsd to
obtain the information.

However, when using Emane's location event, cgps shows me correctly the
latitude, longitude and altitude, but speed and heading remains zero,
despite any value I set. Example:

/usr/bin/emaneevent-location 2 latitude=-14.718326 longitude=-49.325581
altitude=1000 azimuth=45 elevation=45 magnitude=10

results in:

Time:       2016-08-21T13:38:48.000Z
Latitude:    14.718325 S
Longitude:   49.325580 W
Altitude:   1000.0 m
-->Speed:      0.0 kph<--
-->Heading:    0.0 deg (true)<--
Climb:      0.0 m/min
Status:     3D FIX (437 secs)
Longitude Err:   +/- 2 m
Latitude Err:    +/- 2 m
Altitude Err:    +/- 7 m
Course Err:      n/a
Speed Err:       +/- 21 kph
Time offset:     0.096
Grid Square:     GH55ig

However, Emane's LocationEventInfoTable shows the correct information:

emanesh localhost get table '*' phy LocationEventInfoTable

nem 2   phy LocationEventInfoTable
| NEM | Latitude       | Longitude      | Altitude | Pitch | Roll | Yaw |
Azimuth | Elevation | Magnitude |
...
| 2   | -14.718326     | -49.325581     | 1000.0   | 0.0   | 0.0  | 0.0 |
45.0    | 45.0      | 10.0      |
...

Is this a bug or am I doing something wrong?

I'm using Emane 0.9.3-1

[]'s
_______________________________________________
emane-users mailing list
[email protected]
http://pf.itd.nrl.navy.mil/mailman/listinfo/emane-users

Reply via email to