Skip to content

Commit

Permalink
Fixed default value of ir_mode. Thanks @nxdefiant
Browse files Browse the repository at this point in the history
  • Loading branch information
jkammerl committed Nov 12, 2013
1 parent 59b6ef5 commit 5cefdd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cfg/OpenNI2.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ output_mode_enum = gen.enum([ gen.const( "SXGA_30Hz", int_t, 1, "1280x1024@30
"output mode")


gen.add("ir_mode", int_t, 0, "Video mode for IR camera", 1, 5, 12, edit_method = output_mode_enum)
gen.add("ir_mode", int_t, 0, "Video mode for IR camera", 5, 1, 12, edit_method = output_mode_enum)
gen.add("color_mode", int_t, 0, "Video mode for color camera", 5, 1, 12, edit_method = output_mode_enum)
gen.add("depth_mode", int_t, 0, "Video mode for depth camera", 5, 1, 12, edit_method = output_mode_enum)

Expand All @@ -46,4 +46,4 @@ gen.add("z_scaling", double_t, 0, "Scaling factor for depth values", 1.0, 0.5, 1
gen.add("use_device_time", bool_t, 0, "Use internal timer of OpenNI device", True)

exit(gen.generate(PACKAGE, "OpenNI2", "OpenNI2"))


0 comments on commit 5cefdd1

Please sign in to comment.