John Scherer created a new topic ' POE adapter' in the forum. 3 weeks ago

I've been using this POE injector / POE to USB-C combo with my Raspberry Pi 4 for about a week now and thought it might be of interest to others. I've been using it with a shielded, 100' Cat-6e cable that I run to my Pi4. Not exactly a cheep solution but they work well.



Read More...

Just wanted to share an interesting paper written by the author of Tpoint called "Ten reasons why accurate pointing is non-trivial" . Its a good paper, and at only 10 pages, its a quick read. It really sheds light on the problem of telescope pointing and mount modeling.

Read More...

John Scherer replied to the topic 'Installing pyindi-client on ubuntu raspberry pi' in the forum. 9 months ago

I got it to compile but needed to modify the setup.cfg file to remove the lib entry for z.

Read More...

John Scherer replied to the topic 'Installing pyindi-client on ubuntu raspberry pi' in the forum. 9 months ago

I'm getting nearly the same error when installing pyindi-client:

# pip3 install --user --install-option="--prefix=" pyindi-client


I get a few warnings:

/usr/include/libindi/baseclient.h:33: Warning 322: Redundant redeclaration of 'MAXRBUF',
    /usr/include/libindi/indibase.h:8: Warning 322: previous declaration of 'MAXRBUF'.
    /usr/include/libindi/baseclient.h:238: Warning 325: Nested struct not currently supported (BLOBMode ignored)
    /usr/include/libindi/basedevice.h:29: Warning 322: Redundant redeclaration of 'MAXRBUF',
    /usr/include/libindi/indibase.h:8: Warning 322: previous declaration of 'MAXRBUF'.
    /usr/include/libindi/baseclient.h:55: Warning 403: Class 'INDI::BaseClient' might be abstract, no constructors generated,
    /usr/include/libindi/indibase.h:84: Warning 403: Method INDI::BaseMediator::newDevice(INDI::BaseDevice *) might not be implemented.

and a few errors:
/usr/bin/ld: cannot find -lz
    collect2: error: ld returned 1 exit status
    error: command 'arm-linux-gnueabihf-g++' failed with exit status 1
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-5cs1iznm/pyindi-client/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-l9n2e560-record/install-record.txt --single-version-externally-managed --compile --prefix= --user --prefix=" failed with error code 1 in /tmp/pip-build-5cs1iznm/pyindi-client/

Also, when trying to install system-wide, I get the same error but also an additional failure early in the script:
Collecting pyindi-client
  Using cached https://files.pythonhosted.org/packages/a7/4d/9ae15f572822c2fac5d6756570b205bdf578c80be24e274947ac74962873/pyindi-client-0.2.3.tar.gz
Building wheels for collected packages: pyindi-client
  Running setup.py bdist_wheel for pyindi-client ... error
  Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-xw085f8z/pyindi-client/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpth58_7v0pip-wheel- --python-tag cp36:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
Failed building wheel for pyindi-client
Running setup.py clean for pyindi-client
Failed to build pyindi-client

I did try setting the permissions as mentioned above but that had no effect. Does anyone have any ideas?

Read More...

figured that out. I was missing some dependencies

Read More...

Trying to install pyindi-client using the recommended method , but I'm getting an error:

john@ekos:~/source/pyindi-client-0.2.3$ pip install --user --install-option="--prefix=" pyindi-client
/usr/lib/python2.7/dist-packages/pip/commands/install.py:212: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
  cmdoptions.check_install_build_global(options)
Collecting pyindi-client
  Using cached https://files.pythonhosted.org/packages/a7/4d/9ae15f572822c2fac5d6756570b205bdf578c80be24e274947ac74962873/pyindi-client-0.2.3.tar.gz
    Complete output from command python setup.py egg_info:
    Unable to find libindiclient.a in ['/usr/lib/arm-linux-gnueabihf', '/usr/lib', '/usr/lib64', '/lib', '/lib64', '/usr/local/lib']
    Please specify a path where to find libindiclient.a in the setup.py script
    Exiting

Any thought as to what I could be doing wrong

Read More...

I was looking at the list of https://indilib.org/develop/developer-manual/101-standard-properties.htmlstandard properties which are supposed to be supported, but some, such as the TIME_LST aren't supported by the Telescope Simulator. Am I missing something here or is the Telescope Simulator just that limited?

Read More...

I've been playing with some shell scripts to automate things, mostly trying to get a better understanding of how scripting works. I've downloaded a few scripts to do startup/shutdown things and the shutdown scripts are using CURRENTSTEPPERS.RAStepsCurrent" AND "CURRENTSTEPPERS.DEStepsCurrent" to tell if the mount is parked.

However, it seems that these parameters do not exist in the Telescope Simulator driver? I'm trying to get things working in a simulated environment and then test it on my real equipment when everything working. Is there another way to determine if the scope is parked that would work in the Telescope simulator and real hardware, in my case, the LX200_OnStep driver.

Thanks..

Read More...

Thanks, Tokottary! I did try out NAFABox for about a week as well, testing both the image file and the script. It is a nice convenient package but had had a hell of a time switching from French to English. Even the shortcut they provide on the desktop didn't work for me. Somethings would change from French to English, others would remain French. And when you are in a shell, other things would remain French. Its close, but I think it still needs work for those who are not fluent in French. The script install is the way to go with NAFABox I think, then you get to choose what software you want. I was finally able to get it fully converted to English but in the end, it was just easier for me to just add the software I wanted myself, that way when things go wrong, I stand a better chance of being able to fix it. I'm only using kstars/ekos, Astrometry.net, indi-web, and occasionally, phd2, and those installs go pretty easy once you know what additional modules you need.

One more thing for anyone else working with the Tinker Board and Armbian Bionic, note that full GPU accelerated desktop and OpenCL support was added some months back: forum.armbian.com/topic/7262-rk3288-media-script-tinkerboard/ I haven't tested this yet but soon.

Read More...

If you also plan on installing OpenPHD2, you will need to install some aditional modules. If you try to run phd2 from command line, you will see some errors simular to the following:

Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"

Simply install gail, and atk-bridge:
apt-get install libatk-adaptor libgail-common

-John

Read More...

I recently purchased an Asus Tinkerboard S computer for use as a portable telescope mounted computer. I've noticed others have had luck getting kstars / ekos working and I wanted to post my notes so others might benefit. First off, Armbian Bionic is the OS you want. So far its worked with minimal issues. Kstars installs but as of right now, there is a missing sql5 dependency and kstars won't start. This has been mentioned several times in these forums so I won't go into detail. You simple add the missing dependancy:

sudo apt-get install libqt5sql5-sqlite
and kstars will load as expected. For those wondering, the uname -a output looks as follows:
Linux ekos 4.19.16-rockchip #5.72 SMP PREEMPT Thu Jan 17 09:56:02 CET 2019 armv7l

Indiweb:
Before you can install indiweb, you will need to install pip:
sudo apt install python-pip
But wait... your not done. First you need to install some additional modules and libraries:
pip install setuptools
pip install wheel

And the python dev libraries:
sudo apt install python-dev
sudo apt install python3-dev

And finally, you can install indiweb:
pip install indiweb

As I find out other useful information about this config, I'll update this post. One thing I can say for sure, this thing is fast!

Cheers

John

Read More...