Commit d82187ac authored by Ken Tossell's avatar Ken Tossell
Browse files

added parameter for timestamping method

parent 66f5ce5e
......@@ -47,7 +47,15 @@ gen.add("video_mode", str_t, SensorLevels.RECONFIGURE_CLOSE,
gen.add("frame_rate", double_t, SensorLevels.RECONFIGURE_CLOSE,
"Camera speed, frames per second.", 15.0, 0.1, 1000.0)
# TODO: video mode -- uncompressed, yuyv, uyvy, rgb, compressed, jpeg, ...
timestamp_methods = gen.enum([gen.const("PubTime", str_t, "pub", "Time of publication"),
gen.const("FrameStartTime", str_t, "start", "Time when raw frame capture began"),
gen.const("FrameStopTime", str_t, "stop", "Time when raw frame capture ended"),
gen.const("HostReceiptTime", str_t, "hostrcpt", "Time when camera-to-host transfer completed")],
"Methods for determining the timestamp")
gen.add("timestamp_method", str_t, SensorLevels.RECONFIGURE_CLOSE,
"Method for determining the timestamp.", "start",
edit_method = timestamp_methods)
gen.add("frame_id", str_t, SensorLevels.RECONFIGURE_RUNNING,
"ROS tf frame of reference, resolved with tf_prefix unless absolute.",
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment