Karto logger plugin

Compile-time dependencies
  • none
Provides
  • interface_log
Requires
  • interface_laser
  • interface_sonar
  • interface_position2d
Configuration requests
  • autorecord (boolean)
    • default: 1 (enable)
    • activate the logging at startup, to disable it, use 0
  • gzip (boolean)
    • default: 0 (disable)
    • compress the log file
Configuration file options
  • file (string)
  • Default: "output.xml"
  • where to log
Configuration requests
  • PLAYER_LOG_SET_WRITE_STATE
  • PLAYER_LOG_GET_STATE
  • PLAYER_LOG_SET_FILENAME (not yet implemented)
Example
driver
(
  name "readlog"
  filename  "jwing.log"
  speed 1
  provides ["log:0" "laser:0" "laser:1" "position2d:0"]
  autoplay 1
  alwayson 1
)

driver
(
  name "kartowriter"
  requires [ "laser:0" "laser:1" "position2d:0"]
  provides ["log:1" ]
  file "output.xml"
  alwayson 1
)
Author
Regis Vincent