Alex,
You could either modify the way CORE starts emane so that it starts up
with log level 4 or you could use the emaneloglevel command to change
log levels at runtime. 0.8.1 builds by default compile out DEBUG level
logs, so unless you are rebuilding from source using:
# ./configure --with-verbose-logging
I'm not sure you'll actually see location change logs.
0.9.1 has all log levels compiled in by default and you can use the
remote control port API via emanesh to query the node location event table:
$ emanesh node-1 get table '*' phy LocationEventInfoTable
nem 1 phy LocationEventInfoTable
| NEM | Latitude | Longitude | Altitude | Pitch | Roll | Yaw | Azimuth |
Elevation | Magnitude |
| 1 | 40.035401 | -74.515201 | 3.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0
| 0.0 |
| 2 | 40.035401 | -74.515014 | 3.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0
| 0.0 |
| 3 | 40.0354 | -74.514838 | 3.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0
| 0.0 |
| 4 | 40.035471 | -74.514697 | 3.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0
| 0.0 |
| 5 | 40.035516 | -74.514532 | 3.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0
| 0.0 |
| 6 | 40.03556 | -74.514368 | 3.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0
| 0.0 |
| 7 | 40.031075 | -74.523518 | 3.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0
| 0.0 |
| 8 | 40.031165 | -74.523412 | 3.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0
| 0.0 |
| 9 | 40.031227 | -74.523247 | 3.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0
| 0.0 |
--
Steven Galgano
Adjacent Link LLC
www.adjacentlink.com
On 07/21/2014 04:05 PM, Alexey Bogaevskiy wrote:
> Hello,
>
> I have been using CORE 4.6 and EMANE 0.8.1(rev 2) and I am trying to use
> emane events api to send my own location/orientation updates to EMANE.
> So far, I have been able to send the location events to EMANE after
> creating the initial scenario in CORE.
> My quesiton is: where can I find log files that would show me the events
> that CORE/EMANE is receiving and the data form these events?
>
> So far I am able to see erroneous events in /var/log/core-daemon.log but it
> only seems to show the GPS coordinates(lat/lon/alt) and only when the
> message is erroneous(ex. if the location event coordinates exceed those of
> the canvas:Unable to build node location message since received
> lat/long/alt exceeds coordinate space: NEM 2 (6233185, 860352, 1998))
>
> So again, where can I find the log files(if such exist) that would show me
> the exact numbers that EMANE receives via emane location events API.(ie the
> lat/lon/alt, yaw/pitch/rol', and azimuth/elevation/velocity)
>
> Thank you,
> -Alex
>
>
>
> _______________________________________________
> emane-users mailing list
> [email protected]
> http://pf.itd.nrl.navy.mil/mailman/listinfo/emane-users
>
_______________________________________________
emane-users mailing list
[email protected]
http://pf.itd.nrl.navy.mil/mailman/listinfo/emane-users