×

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

Bi-monthly release with minor bug fixes and improvements

DIY Flatfield Dustcover with RPi

  • Posts: 314
  • Thank you received: 34
I am not shure about the FlipFlap but when you say "command set" you mean I need to built some kind of USB controller to drive my dustcover with the FlipFlat driver?
:whistle: thats far beyond my skills, then I will stick to the ServoBlaster and wiringpi like in the article.
--= human, without Windows™ =--
pls excuse my bad english! :)
7 years 6 days ago #15511

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

It could be Arduino or PI or whatever, as long as something accepts commands and return results. You can check flip flat INDI driver source for how this is done.
7 years 6 days ago #15512

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

  • Posts: 314
  • Thank you received: 34
Thank you, I'll do that when I finish the hardware part and everything works manually.
--= human, without Windows™ =--
pls excuse my bad english! :)
7 years 6 days ago #15513

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

  • Posts: 314
  • Thank you received: 34
My first hardware arrived. As I unboxed my servo I was shocked about the size: it looks to small!
I realized that I ordered a mini-Servo :pinch:


It might be hard to attach an dustcap to this tiny thing but the specs say it can handle a lot of weight.
I'll simply use it to get some practising with servo motors and test it later with load attached.


I encounterd some problems following the indilib DIY page .
Firstly, the "contents" Box does not hyperlink any point after 4.
Installing ServoBlaster, no problem. Servo responds to move commands.

But for INDI ServoBlaster Cap (5.5) I get an error while trying to compile:
cmake -DCMAKE_INSTALL_PREFIX=/usr . ..
-- The CXX compiler identification is GNU 4.9.3
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Checking for module 'libindi'
--   Found libindi, version 1.1.0
-- Found INDI: /usr/include/libindi (found version "1.1.0") 
-- Found INDI-DRIVERS: /usr/local/lib/libindidriver.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/build/indi_servoblaster_cap/build
 
 LANG=en sudo make install
Password: 
[ 33%] Building CXX object CMakeFiles/indi_servoblaster_cap.dir/servoblaster_cap/servoblaster_cap.cpp.o
In file included from /home/pi/build/indi_servoblaster_cap/servoblaster_cap/servoblaster_cap.cpp:24:0:
/home/pi/build/indi_servoblaster_cap/servoblaster_cap/servoblaster_cap.h:31:34: fatal error: indidustcapinterface.h: No such file or directory
 #include "indidustcapinterface.h"
                                  ^
compilation terminated.
make[2]: *** [CMakeFiles/indi_servoblaster_cap.dir/build.make:63: CMakeFiles/indi_servoblaster_cap.dir/servoblaster_cap/servoblaster_cap.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/indi_servoblaster_cap.dir/all] Error 2
make: *** [Makefile:128: all] Error 2
It seems it expects "indidustcapinterface.h" and "indilightboxinterface.h" in the "../servoblaster_cap" directory.
So I copied them from "indi/libindi/libs/indibase" to there.

Next I get a load of other errors:
Warning: Spoiler!


Maybe the author of the driver is here on board or maybe anyone can find what's the problem here? I would post an issue on github but for this repository I cant see any "Issues" page.
--= human, without Windows™ =--
pls excuse my bad english! :)
6 years 11 months ago #16026

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

  • Posts: 271
  • Thank you received: 72
Hi @pauledd
I got your message on my website :)

By the looks of your errors I suspect you might not have compiled indilib from source, but installed from ppa (apt-get)?
If so, then try compiling indi from source indilib.org/forum/general/210-howto-buil...st-libindi-ekos.html

Other than that, there might have been a update to indilib, and I have to update the driver. I will try to update everything to latest version, to see that it works. (You should not need to copy indi*.h files anywhere)

If there are links not working in the tutorial, then all the instructions is also on github. github.com/magnue/indi_servoblaster_cap/blob/master/README.md
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
6 years 11 months ago #16028

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

  • Posts: 314
  • Thank you received: 34
hi Magnus_e,

Thanks for your fast response, please dont try to do anything now! I think I found the error.
I think I have a faulty libindi installation... I will report back soon :)
--= human, without Windows™ =--
pls excuse my bad english! :)
6 years 11 months ago #16030

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

  • Posts: 271
  • Thank you received: 72
Ok. Let me know how it turns out.

This was a funny coincidence. Yesterday I 3d printet the first prototype of the printable dust cap :)
I have to figure out how to get better finish when printing with supports (this was my 4th print), but hopefully It wil turn out nice after some dev.

Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
The following user(s) said Thank You: pauledd
6 years 11 months ago #16031
Attachments:

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

  • Posts: 314
  • Thank you received: 34
Wow, that looks quite nice! I might consider 3d printing too if my aluminium cap idea fails but I dont own such a printer, and printing 4 ore more prototypes via online service might get very expensive...

I managed to get the ServoBlaster Cap work. Absolutly no errors during compilation! Servo moves as expected in indi :side:
It was indeed a faulty indi installation. Maybe I forgot to do "make install"... I will double check in future to prevent mass panic ;)

I can now order the aluminium sheet for the dust cap and will try to get it all on the scope.
--= human, without Windows™ =--
pls excuse my bad english! :)
The following user(s) said Thank You: Magnus
Last edit: 6 years 11 months ago by pauledd.
6 years 11 months ago #16032

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

  • Posts: 271
  • Thank you received: 72
Good to hear it works :)

The picture was first print of the protltype, and 4th print total. I finished assebeling my Prusa mk2s yesterday :)

The aluminum version you ar making should work just fine, I think.
If I remember correctly I installed the prototype from the tutorial in my observatory in November and it still works great (and that one is held togheter only with tape and glue.)
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
6 years 11 months ago #16036

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

  • Posts: 35
  • Thank you received: 5
wow. I love the dust cover design. would you share your STL files? i'll need to resize, but this would be a great start.
6 years 10 months ago #16607

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

  • Posts: 271
  • Thank you received: 72

Hey.
I uploaded the files to thingiverse :)
I updated the original thread I had on the 'Dark Cap' so It won't hijack @pauledd's thread

indilib.org/forum/ekos/1452-feature-dust....html?start=12#16659
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
6 years 10 months ago #16660

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

  • Posts: 2247
  • Thank you received: 223
Hey Magnus, this cover looks awesome, nice work.
The following user(s) said Thank You: Magnus
6 years 10 months ago #16662

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

Time to create page: 1.439 seconds