×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Wrong FOV calculation with gphoto driver

  • Posts: 94
  • Thank you received: 38
When connect to the camera, the parameter in camera tab in indi control panel is wrong.
frame width and height are both 1392, resolution x & y are both 1392, pixel size is 5.0 x 5.0,
after taking a picture , frame width and height and resolution x & y are update to the correct data , but pixel size still 5.0 x 5.0,

but the FOV in alignment tab still use frame width and height 1392 to calculate.
Last edit: 9 years 8 months ago by max.
9 years 8 months ago #1587

Please Log in or Create an account to join the conversation.

There is no way to know the pixel size, you have to update it manually. I added a message to alert the user to this. At any rate, please update all (kstars, libindi, and indi-gphoto) and the above issue will be resolved.
9 years 8 months ago #1589

Please Log in or Create an account to join the conversation.

  • Posts: 94
  • Thank you received: 38
Thank you. The new code fix the FOV problem.
But indi_gphoto_ccd crash when I try to start a capture.
9 years 8 months ago #1591

Please Log in or Create an account to join the conversation.

did you build and INSTALL libindi before you compiled indi-gphoto?
9 years 8 months ago #1592

Please Log in or Create an account to join the conversation.

  • Posts: 94
  • Thank you received: 38
Yes.
Actually, indi_gphoto_ccd crash when connect to camera.
2014-07-26T15:52:23: Client 0: queuing <setNumberVector device='GPhoto CCD' name='CCD_INFO'>
2014-07-26T15:52:23: Driver indi_gphoto_ccd: XML error: Line 6: No value for attribute s
2014-07-26T15:52:23: Driver indi_gphoto_ccd: XML read: p='2014-07-26T15:52:23'
>
  <defText
    name='d402'
    label='d402'>
      Canon EOS 5D Mark II
  </defText>
</defTextVector>
<?xml version='1.0'?>
<defTextVector
  device='GPhoto CCD'
  name='d407'
  label='d407'
  group='other'
  state='Idle'
  perm='ro'
  timeout='60'
  timestamp='2014-07-26T15:52:23'
>
  <defText
    name='d407'
    label='d407'>
      1
  </defText>
</defTextVector>
<?xml version='1.0'?>
<defTextVector
  device='GPhoto CCD'
  name='d406'
  label='d406'
  group='other'
  state='Idle'
  perm='rw'
  timeout='60'
  timestamp='2014-07-26T15:52:23'
>
  <defText
    name='d406'
    label='d406'>
      Unknown Initiator
  </defText>
</defTextVector>
<?xml version='1.0'?>
<setNumberVector
  device='GPhoto CCD'
  name='CCD_INFO'
  state='Idle'
  timeout='60'
  timestamp='2014-07-26T15:52:23'
>
  <oneNumber name='CCD_MAX_X'>
      1392
  </oneNumber>
  <oneNumber name='CCD_MAX_Y'>
      1392
  </oneNumber>
  <oneNumber name='CCD_PIXEL_SIZE'>
      5
  </oneNumber>
  <oneNumber name='CCD_PIXEL_SIZE_X'>
      5
  </oneNumber>
  <oneNumber name='CCD_PIXEL_SIZE_Y'>
      5
  </oneNumber>
  <oneNumber name='CCD_BITSPERPIXEL'>
      8
  </oneNumber>
</setNumberVector>
<?xml version='1.0'?>
<setNumberVector
  device='GPhoto CCD'
  name='CCD_INFO'
  state='Idle'
  timeout='60'
  timestamp='2014-07-26T15:52:23'
>
  <oneNumber name='CCD_MAX_X'>
      1392
  </oneNumber>
  <oneNumber name='CCD_MAX_Y'>
      1392
  </oneNumber>
  <oneNumber name='CCD_PIXEL_SIZE'>
      5
  </oneNumber>
  <oneNumber name='CCD_PIXEL_SIZE_X'>
      5
  </oneNumber>
  <oneNumber name='CCD_PIXEL_SIZE_Y'>
      5
  </oneNumber>
  <oneNumber name='CCD_BITSPERPIXEL'>
      8
  </oneNumber>
</setNumberVector>
<?xml version='1.0'?>
<message
 device='GPhoto CCD'
  timestamp='2014-07-26T15:52:23'
  message='Please update the camera's pixel size in the Image Info section. The camera's resolution will be updated after the first exposure is complete.'
/>
 
2014-07-26T15:52:23: Driver indi_gphoto_ccd: restart #1
2014-07-26T15:52:23: Driver indi_gphoto_ccd: pid=17466 rfd=3 wfd=7 efd=8
2014-07-26T15:52:23: Client 0: sending <defSwitchVector device="GPhoto CCD" name="Auto Fo
2014-07-26T15:52:23: Driver indi_gphoto_ccd: sending <getProperties version='1.7'/>
9 years 8 months ago #1593

Please Log in or Create an account to join the conversation.

Yeah sorry the message contained an apostrophe (') which broke the XML. Fixed now.
9 years 8 months ago #1594

Please Log in or Create an account to join the conversation.

  • Posts: 94
  • Thank you received: 38
It's working now.Thank you.
9 years 8 months ago #1595

Please Log in or Create an account to join the conversation.

Time to create page: 0.736 seconds