Ed Lee replied to the topic 'Fujifilm cameras?' in the forum. 1 month ago

Hi, I use a Fuji X-T2 with Kstars/Ekos/indi. The driver has some limitations but it does work. Driver configuration points:

  • Leave the camera in T mode and only use exposures from the preset list - Bulb mode does not work properly.
  • Set the SDCard mode to Delete - on the Fuji this seems to control the RAM buffer usage as well. If you don't set this to Delete, the camera will take shots until it's RAM buffer is full and then hang. Note this also means that the images are only saved via indi (to your computer) not to the SDCard.
  • I set the Transfer Format to Native (RAW) not fits because on a Raspberry Pi (I'm running a RP4 8GB) the 'bayer' decode of the funky Fuji X-Trans CFA takes too long (10's of seconds). This means you can't run the fits viewer during capture. Image display for other functions eg. focus, plate solving alignment, PA work fine as they use the image un-debayered. Also note that the Transfer Format setting does not seem to get saved in the Capture module or passed from the indi driver settings - you have to set it each session in the Capture module.
As far as I can tell the gphoto driver doesn't look for specific models - as long as the control protocol hasn't changed it should work but there's no way to know until someone tries a particular model.

Read More...

Ed Lee replied to the topic 'Ignore - Gitlab audit failure on push' in the forum. 1 month ago

Found it, I'd run the local commit without a user.name set.
Sorry for the noise.

Read More...

Ed Lee created a new topic ' Gitlab audit failure on push' in the forum. 1 month ago

Hi,
I have little experience with git so this is probably due to my lack of knowledge.
I've forked the kstars repository on invent.kde.org.
When I try to push a change to my fork (via https), git prompts for username & password. I enter these and am authenticated but I receive an Audit failure message for Non-full name. Repeating with my full name for the username field (unsurprisingly) results in authentication failure.
user.name is set correctly to my full name in the local project .git config. There's no global/system git config overriding it and no git environment variables set.
Added a .ssh key and tried the push via ssh. Again authenticated OK but still get the same audit failure message.

What am I doing wrong? Github has never fought back like this!

Thanks for any enlightenment
Ed

Read More...

Ed Lee replied to the topic 'Problems with unit tests' in the forum. 1 month ago

Thanks Hy. Glad it's not me.

Read More...

Ed Lee created a new topic ' Problems with unit tests' in the forum. 1 month ago

Hi, I'm just setting up a dev environment to try some things with KStars and I've hit a couple of issues with the unit tests on a clean build:

  1. Some unit tests eg. TestPlaceholderPath, TestPolarAlign failed to find the test data files - I had to link these to files in the build/bin directory:
    9filters.esq -> ../Tests/scheduler/9filters.esq
    ngc4535-autofocus1.fits -> ../Tests/polaralign/ngc4535-autofocus1.fits
    ngc4535-autofocus2.fits -> ../Tests/fitsviewer/ngc4535-autofocus2.fits
    ngc4535-autofocus3.fits -> ../Tests/fitsviewer/ngc4535-autofocus3.fits
    testFlexibleNamingChangeBehavior_data_small.csv -> ../Tests/capture/testFlexibleNamingChangeBehavior_data_small.csv
    testFlexibleNaming_data_small.csv -> ../Tests/capture/testFlexibleNaming_data_small.csv
    testFullNamingSequence_data_small.csv -> ../Tests/capture/testFullNamingSequence_data_small.csv
    testSchedulerProcessJobInfo_data.csv -> ../Tests/capture/testSchedulerProcessJobInfo_data.csv
  2. Test TestFitsData::testComputeHFR (NGC4535-3-NORMAL) fails. It finds 29 stars instead of the expected 30.
Are these bugs in the tests or have I messed up somewhere?
I'd like to have a clean reference before I start digging into the code.
Thanks
Ed

Read More...

Created new issue #554 on github and submitted a pull request with fix.

Read More...

Ed Lee replied to the topic 'Another GPSD port problem - Solved' in the forum. 4 months ago

I think I've found and fixed this issue now. I'm just updating here for future reference.
The cause of my problems was udev rules. Probably my lack of understanding of precedence and priorities with how the rules are applied. No matter what I wrote as a rule I can't force the ttyUSB0 / ttyUSB1 allocation to be consistent. I think there are complex system defined rules that override what I was specifying.
I've overcome this by changing my udev rules to create a consistent symlink (a bit like a shortcut in Windows speak) to each device regardless of which ttyUSB# the system allocates.
My udev rules to do this are:
I used the KERNELS=="1-1.3:1.0 as I have hard wired the OnStep controller to a specific USB port on my Pi and this identifies the device by which port it is connected to. As my OnStep controller uses a CP2102 for the serial interface I could have used:
...but this would prevent me using any other CP2101 devices at the same time and you never know what toy's next.
And for the my GPS dongle, which uses a PL2303 internally the rule is:This does suffer the drawback that I can't use another PL2303 connected device at the same time but I'll have to live with that. The GPS dongle could be plugged into any available port on the Pi or (more likely) my external hub, each of which will get a different KERNELS=="1-2.3:1.0" style bus address so that identification scheme can't be used in this case.
I then set the OnStep connection port in Indi to /dev/OnStep and the /etc/default/gpsd to:
This works for me. The OnStep controller comes up at ttyUSB0 most of the time but about one boot in five it's ttyUSB1. This no longer matters as I always get the (symlinked) ports required.

Read More...

Ed Lee replied to the topic 'Another GPSD port problem' in the forum. 4 months ago

It's possible. It shouldn't though - I've disabled the gpsd auto start and port auto detect and verified that it only opens when indi starts it's driver.
It's so intermittent I think it's going to take some time to track down.sad.png

Read More...

Hi, using a Fuji X-T2. This camera requires that the SD Image setting under the Image Settings tab be set to Delete or it will fail to capture images once it's internal write cache is full (as mentioned in these forums and gphoto's) github. As long as this SD Image option is set I'm capturing OK.
I set the SD Image option and then switch to the Options tab and click Save Configuration. The next time I start up this setting is not made so I have to remember to change it every time.
Checked and the indi .xml file for this device does not have a newSwitchVector  for this option.

Read More...

Ed Lee created a new topic ' Noob questions' in the forum. 4 months ago

Some, probably very basic /stupid questions from a noob:

  1. I'm using a dslr (Fuji X-T2) and focusing with a Bahtinov mask. Is it possible to use the Ekos focus module to get an analysis of the focus while I adjust it manually by hand (I don't have a motorised focuser)? If so is there a guide /video /instructions on how to do this?
  2. Related to the above, is it possible to use the video mode of a dslr to get a live stream? If so how?
  3. I've got plate solving, mount control (LX200 Onstep), and SkySafari connection working with indi. It's our possible to configure so that I can select a goto target in SkySafari and have Ekos goto, plate solve, and slew to the target? If so, how? I can do this from within Kstars but its still a two step process - goto in Kstars and then switch to Ekos for solve and slew.
Thanks in advance.
 

Read More...