×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

CCD Simulator - Max CCD resolution

  • Posts: 167
  • Thank you received: 54
Hi,

i've noticed simulator_CCD resolution is limited to 4096 :
Is there any technical reason for that ?
=> some of us would like to play with astrometry with a fake DSLR, wich goes further than 4096

Gilles.
Last edit: 6 years 5 months ago by gehelem.
6 years 5 months ago #20465

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

  • Posts: 167
  • Thank you received: 54
This seems to work, but i guess it could bring issues, what do you think ?
diff --git a/libindi/drivers/ccd/ccd_simulator.cpp b/libindi/drivers/ccd/ccd_simulator.cpp
index 7588bc62..e17f12e6 100644
--- a/libindi/drivers/ccd/ccd_simulator.cpp
+++ b/libindi/drivers/ccd/ccd_simulator.cpp
@@ -145,8 +145,8 @@ bool CCDSim::initProperties()
     //  but the simulators are a special case
     INDI::CCD::initProperties();
 
-    IUFillNumber(&SimulatorSettingsN[0], "SIM_XRES", "CCD X resolution", "%4.0f", 0, 4096, 0, 1280);
-    IUFillNumber(&SimulatorSettingsN[1], "SIM_YRES", "CCD Y resolution", "%4.0f", 0, 4096, 0, 1024);
+    IUFillNumber(&SimulatorSettingsN[0], "SIM_XRES", "CCD X resolution", "%4.0f", 0, 8192, 0, 1280);
+    IUFillNumber(&SimulatorSettingsN[1], "SIM_YRES", "CCD Y resolution", "%4.0f", 0, 8192, 0, 1024);
     IUFillNumber(&SimulatorSettingsN[2], "SIM_XSIZE", "CCD X Pixel Size", "%4.2f", 0, 60, 0, 5.2);
     IUFillNumber(&SimulatorSettingsN[3], "SIM_YSIZE", "CCD Y Pixel Size", "%4.2f", 0, 60, 0, 5.2);
     IUFillNumber(&SimulatorSettingsN[4], "SIM_MAXVAL", "CCD Maximum ADU", "%4.0f", 0, 65000, 0, 65000);
6 years 5 months ago #20467

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

I'll see if I can increase the max resolution in Git.
The following user(s) said Thank You: gehelem
6 years 5 months ago #20469

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

  • Posts: 167
  • Thank you received: 54
i've done that on my localy imported code
i think i've only a few commands to write,
something like
git push origin master
or something like that, no ?
Last edit: 6 years 5 months ago by gehelem.
6 years 5 months ago #20470

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

Time to create page: 0.231 seconds