Giter Club home page Giter Club logo

indi_ardust4's Introduction

indi_ardust4

This is an implementation of a minimal INDI (http://www.indilib.org/) driver for Kevin Ferrares Arduino based USB to ST-4 adapter (https://github.com/kevinferrare/arduino-st4).

License

This is based on the GPUSB driver and as such under the GPL2

Features/Limitations

  • No way to dynamically assign a tty
  • No Goto, just North, West, South, East

Building

cmake .
make

Running

indiserver ./indi_ardust4

indi_ardust4's People

Contributors

tliff avatar

Stargazers

 avatar Robert Wohleb avatar  avatar  avatar tim put avatar Daniel Kopeček avatar Łukasz Pożarlik avatar Simon Achmüller avatar scalway avatar Lynx avatar  avatar Francesco Campanini avatar Philip Reinken avatar

Watchers

 avatar Łukasz Pożarlik avatar Philip Reinken avatar

Forkers

ansasaki eliboni

indi_ardust4's Issues

A bug and a problem;-)

Hi,
I want to use the INDI driver and I tried. There ar some problems I found. Since I am not a C++ programmer I can solve only the most obvious bugs (like the first) but other problems are beyond my capacity;-)

1 - the directions North East etc in startPulse and stopPulse in ARDUST4DRIVER.CPP were associated with the wrong commands. North should be DEC+ (DEC0), West RA- (RA0), South DEC- (DEC0) and East RA+ (RA0).
2 - Kevin's Arduino code lights the led on pin 13 when the client makes connection. This is not happening. I could find out that the tcflush in Connect() does not flush the input buffer. When Connect() calls write_blocking("CONNECT#") there seems to be no output. The string "INITIALIZED#" is read in and 'approved'. After this the buffer is cleared and subsequent commands are sent to the Arduino.
I 'fixed' this by doing a write and read after the flush (like in write_blocking) in Connect() until the read returns OK# .
3 - Disconnect() is never being called. This could be a client error (PHD2). After new connect from the client Connect() is not being called either. A number of variables is not initialized properly. Disconnect() is called however ehn I activate 'Debug' in PHD2.

4 - I changed ttyUSB0 to ttyACM0 in ARDUST4.CPP. My Arduino always connects to this port.

To test I used PHD2. It connects well to the Arduino and the commands are received ok.
I'm on a DELL laptop with Ubuntu 16.04.
Kind regards,
Jos

Cannot compile Code on raspberry pi 3 B+ with raspbian

Hi,
I'm trying to compile your code to use indi.
but i'm getting this error :
pi@raspberrypi:~/Desktop/indi_ardust4-master $ make
Scanning dependencies of target indi_ardust4
[ 33%] Building CXX object CMakeFiles/indi_ardust4.dir/ardust4.o
/home/pi/Desktop/indi_ardust4-master/ardust4.cpp:29:46: error: invalid new-expression of abstract class type ‘ARDUST4’
std::unique_ptr gpGuide(new ARDUST4());
Error

Do you have any idea to solve this error ?

Thanks for your work.

defaultdevice.h

Understand I have limited knowledge of makefiles in general. Ran Cmake. Seemed to work. Then ran make and received the error message "defaultdevice.h no such file or directory." This is following a full install of INDI (which is supposed to contain this driver in the first place but does not). So if defaultdevice.h is not part of INDI and also not part of this package, something seems to be missing.

Cannot compile on Raspberry PI

Hello,

I have installed indi-bin and libindi-dev

I can not compile inidi_ardust4 on Banana PI/Raspberry PI:

cmake . OK
make
[ 50%] Building CXX object CMakeFiles/indi_ardust4.dir/ardust4.o
In file included from /root/indi_ardust4/ardust4.cpp:22:0:
/root/indi_ardust4/ardust4.h:67:21: error: conflicting return type specified for ‘virtual IPState ARDUST4::GuideNorth(float)’
virtual IPState GuideNorth(float ms);

Where is the problem ?

Thanks

Proper release

Hi!
Thanks for implementing this driver! I'm just about to test it, but to keeps things organized in my file system I've just created an AUR package for Arch-based distributions (see the details at https://aur.archlinux.org/packages/libindi_ardust4/)

The only problem for now is lack of proper github rlease - so I'm forced to download master... Which is not grate :D Can you please release the proper version please?

Best Regards,
Łukasz

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.