Ray replied to the topic 'Help with DBus' in the forum. 11 months ago

Got it working with focus_object.HFR

Read More...

Ray created a new topic ' Help with DBus' in the forum. 11 months ago

Hi Jaseem,

I'm trying to access these function from the Focus module using DBus.

public slots:
Q_SCRIPTABLE Q_NOREPLY void capture();


public:
Q_SCRIPTABLE double getHFR()
{
return currentHFR;
}

capture() is working fine using 'focus_object.capture()' but getHFR() gives an error

AttributeError: '<CompositeObject>' object has no attribute 'getHFR'

I'm guessing this is because getHFR() is not defined in the 'public slots' section.
Is it not possible to access getHFR() using DBus or do I have to access it differently?

Ray.

Read More...

Ray created a new topic ' Dome Toolbar' in the forum. 12 months ago

Hi, would it be possible to add Enable/Disable Slaving buttons to the Dome Toolbar in Kstars?

Read More...

Ray replied to the topic 'KStars 3.5.0 Beta for Windows' in the forum. 12 months ago

Did about 50 solves using simulators only and results were good. Seemed slower than astap but faster than astrometry (local).

Read More...

Thanks Jasem, I can confirm its working.

Read More...

Hi Jasem, I'm no programmer so I doubt what I did to implement this is the right way but the two files I changed as follows...

/ekos/capture/capture.h
public slots:
Q_SCRIPTABLE Q_NOREPLY void pause(); // changed this line
Q_SCRIPTABLE Q_NOREPLY void toggleSequence(); // added this line

private slots:
// removed this line void toggleSequence();

org.kde.kstars.Ekos.Capture.xml
// added these lines
<method name="pause">
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/>
</method>
<method name="toggleSequence">
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/>
</method>

Read More...

Hi Jasem, I'm using Ekos DBUS script to control the image capture Start/Stop function of the Capture module. The ability to Pause the capture queue is available from the GUI but is not supported by DBUS scripting. I have made small changes to the Kstars source files and recompiled to provide this function but it would be nice if 'Pause capture' could be supported by Ekos DBUS scripts in future Kstars releases.

Regards.

Read More...

Ray replied to the topic 'MQTT publisher for INDI' in the forum. 2 years ago

Thank Yo Kaczorek, I was running pyindi-client 0.2.3 after upgrading to 0.2.4 mqtt broadcast installs and runs as expected. Thanks again.

Read More...

Ray replied to the topic 'MQTT publisher for INDI' in the forum. 2 years ago

Hi, I'm running Indi server with Ubuntu 18.04 on a desktop PC. When I run sudo dpkg -i indi-mqtt_1.0.1_all.deb I get the following output ...
ray@indiastro:/shared$ sudo dpkg -i indi-mqtt_1.0.1_all.deb
(Reading database ... 133158 files and directories currently installed.)
Preparing to unpack indi-mqtt_1.0.1_all.deb ...
Removed /etc/systemd/system/multi-user.target.wants/indi-mqtt.service.
Unpacking indi-mqtt (1.0.1) over (1.0.0) ...
Setting up indi-mqtt (1.0.1) ...

Usage:
pip install [options] <requirement specifier> [package-index-options] ...
pip install [options] -r <requirements file> [package-index-options] ...
pip install [options] [-e] <vcs project url> ...
pip install [options] [-e] <local project path> ...
pip install [options] <archive url/path> ...

no such option: --no-warn-script-location
Created symlink /etc/systemd/system/multi-user.target.wants/indi-mqtt.service → /etc/systemd/system/indi-mqtt.service.

When I run indi-mqtt from the command line I get this ...

ray@indiastro:/shared$ sudo /usr/bin/indi-mqtt.py
INDI server localhost/7624 disconnected.
Traceback (most recent call last):
File "/usr/bin/indi-mqtt.py", line 315, in <module>
observatory_json = getJSON(devices)
File "/usr/bin/indi-mqtt.py", line 223, in getJSON
device_type = strDeviceType(device.getDriverInterface())
File "/usr/bin/indi-mqtt.py", line 146, in strDeviceType
if s & 0:
TypeError: unsupported operand type(s) for &: 'SwigPyObject' and 'int'
swig/python detected a memory leak of type 'uint16_t *', no destructor found.

I've also tried installing as per the instructions above provided by Kaczorek but I get the same error when run manually.

Any ideas please?

Read More...

Strange. I can confirn that Align tab and EQMOD driver is now working for me under windows 8.1. I'm using Kstars Build: 2019-12-06T17:21:51Z

Read More...