Open hawesie opened 9 years ago
@hawesie , what do you mean by "print out"? I have the scores as a dictionary (per region, per hour) in my novelty service. They are updated in the offline learning stage (when charging).
PS I moved time_analysis under trajectory_behaviours repo. It made sense.
Maybe I should just look at that novelty service and see what I can do.
You will need to pull request your changes into this repo so it's in the central strands account.
@hawesie @eris-ch See attached for the information we create about the monitored regions, at different times. But currently this is based on monitored nav failures. Any idea about the availability of all the robot pose data in mongodb?
We will start logging it when we start on the 1st floor of CS, from tomorrow onwards. More information on that later.
Awesome thanks. We just need to know which mongodb msg store to look in, and also maybe think about a sensible sampling rate. one a second?
If you have a running system (simulated or robot) you can run this:
rosrun mongodb_log mongodb_log.py /robot_pose
This is pretty much what we'll use to log the robot pose, so this will give you the information you need.
@lucasb-eyer is this what you are doing for the node-based logger?
Essentially, yes. But it's being merged together with the UBD detection in my case and bayes track in @cdondrup's case, so neither of them are continuous in that sense.
Ok, then we need to run a separate logger for robot_pose for @PDuckworth. This will be done as above, using mongodb_log.
Aren't we logging tf any way?
@cdondrup I don't know. We need to find a joint resolution and launch file / tmux entry for https://github.com/strands-project/aaf_deployment/issues/17 I guess.
Thanks @hawesie.
How do I query the data stored by mongodb_log
? Is it just in a normal message_store? If so, which?
I currently still query monitored_nav_events message score for my "Region Knowledge".
@hawesie This is resolved in https://github.com/strands-project/trajectory_behaviours/pull/14
I upload the day's region knowledge (which regions the robot has been looking at during the day) to region_knowledge
message store. Where it is queried the next day and incrementally updated. (Hopefully before you remove roslog :)
This can also be queried by anyone looking to send the robot to "under-observed areas".
For @eris-ch's temporal novelty scores, it would be good to schedule the robot to visit under-observed area / time combinations . If you can write code to print out these times, it will be trivial to schedule robot actions to do this.