$sensor){
if ($sensor!="none"){
$sensor_type = $sensor;
$sample_port = $i;
$sensor_extra_height = elphel_get_P_value($i,ELPHEL_WOI_HEIGHT) - elphel_get_P_value($i,ELPHEL_SENSOR_HEIGHT);
$sandp = "http://{$_SERVER["SERVER_ADDR"]}:".($port0+$i);
$href1 = "$sandp/bimg";
$href2 = "$sandp/mimg";
$href3 = "$sandp/tiff_palette=2/tiff_telem=1/tiff_auto=33/tiff_convert/bimg";
if ($sensor_type == 'boson640'){ // lepton35
$telem = ($sensor_extra_height > 0) ? 1 : 0;
$preview_image_cmd[] = '/tiff_palette=2/tiff_telem='.$telem.'/tiff_auto=33/tiff_convert/bimg';
} else if ($sensor_type == 'lepton35'){
$telem = ($sensor_extra_height > 0) ? -2 : 0;
$preview_image_cmd[] = '/tiff_palette=2/tiff_telem='.$telem.'/tiff_auto=33/tiff_convert/bimg';
} else {
$preview_image_cmd[] = '/img';
}
$table_contents .= "
";
$table_contents .= "";
//$table_contents .= " ";
if ($sensor_type == boson640){
$table_contents .= " ";
} else {
$table_contents .= " ";
}
$table_contents .= " ";
$table_contents .= "port $i: (".$sensor_type.")";
$table_contents .= " bimg, ";
$table_contents .= " img, ";
$table_contents .= " mimg, ";
$table_contents .= " canvas";
$table_contents .= " ";
$table_contents .= " ";
$table_contents .= " | ";
$port_links .= "
port $i\n";
}
}
// check awb of master channel
$master_port = elphel_get_P_value($sample_port,ELPHEL_TRIG_MASTER);
$awb_on = elphel_get_P_value($master_port,ELPHEL_WB_EN);
$aexp_on = elphel_get_P_value($master_port,ELPHEL_AUTOEXP_ON);
$aexp_max = elphel_get_P_value($master_port,ELPHEL_AUTOEXP_EXP_MAX);
$aexp_max = round($aexp_max/100)/10;
$trig_period = elphel_get_P_value($master_port,ELPHEL_TRIG_PERIOD);
if ($trig_period!=1){ // single
$trig_period_step_s = 0.00000001;
$trig_period_s = $trig_period*$trig_period_step_s;
$fps = round(1/$trig_period_s*10)/10;
}else{
$fps = 10;
}
$expos = elphel_get_P_value($master_port,ELPHEL_EXPOS);
$expos = round($expos/100)/10;
$sensor_width = elphel_get_P_value($master_port,ELPHEL_SENSOR_WIDTH);
$sensor_height = elphel_get_P_value($master_port,ELPHEL_SENSOR_HEIGHT);
echo "
\n";
echo "
";
echo "Camera Control Interface
\n";
?>
Parameter Editor
Recorder
Snapshot
Snapshot (raw image data)
Quick setup (5 & 14Mpx sensors):
- fullres 10fps settings applied
- 1920x1080 30fps settings applied
- 1280x720 60fps settings applied
Photo finish demo
Temperature monitor
Update firmware
User manual
JP4 Viewer
System info
Test sensors
DebugFS