Doug Albrecht replied to the topic 'How can I modify a driver?' in the forum. 5 years ago

Got kdesudo installed on the rpi using the armhf version. ran the cmake command again and it failed. Made sure I had all required programs installed. Still failed. Looked over the error log and output log (made no sense to me). Decided to start over by deleting the build folder and then running the commands from creating the build directory.

It worked!!! :woohoo:

Thanks for all your help!

Read More...

Doug Albrecht replied to the topic 'How can I modify a driver?' in the forum. 5 years ago

Here are 2 log files that were created when I ran the cmake command.

Read More...

Doug Albrecht replied to the topic 'How can I modify a driver?' in the forum. 5 years ago

Ran into more roadblocks trying to do this on stellarmate. There is no kdesudo available. I downloaded kdesudo.deb package for arm64, but when I tried to install it with GDebi installer I got an error message: "Error: Wrong architecture 'arm64' -- Run dpkg --add-architecture to add it and update afterwards"

I thought Rpi was arm64 architecture?

How can I get the modified driver to stellarmate?

Read More...

Doug Albrecht replied to the topic 'How can I modify a driver?' in the forum. 5 years ago

Success!

I had to jump through some hoops to get kdesudo and libcfitsio3-dev installed. Still ran into some roadblocks and had to install other missing bits and then it worked and my mount moved in the right direction.
Now I have to do it again on the stellarmate where the driver is run from.

Thanks for your help!

Read More...

Doug Albrecht replied to the topic 'How can I modify a driver?' in the forum. 5 years ago

There was something else in the prerequisite list that ubuntu changed to a different name on it's own while it was installing.

Read More...

Doug Albrecht replied to the topic 'How can I modify a driver?' in the forum. 5 years ago

libcfitsio3-dev was not available and libcfitsio- dev was what I could install. kdesudo was also not available.
I did install build-essentials.

On that page there are a lot of steps missing.

Read More...

Doug Albrecht replied to the topic 'How can I modify a driver?' in the forum. 5 years ago

I copied the all the libindi files including the modified driver for my mount to the ~/Projects/build/libindi folder.

This is what I got when I enter the cmake command:

doug@doug-X551CA:~/Projects/build/libindi$ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ~/Projects/indi/libindi
bash: /usr/bin/cmake: No such file or directory

Then I created a new folder in /usr/bin and named it cmake and did the cmake command again and got:
doug@doug-X551CA:~/Projects/build/libindi$ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ~/Projects/indi/libindi
bash: /usr/bin/cmake: Is a directory

Then did the install command:
doug@doug-X551CA:~/Projects/build/libindi$ sudo make install
make: *** No rule to make target 'install'. Stop.

What am I doing wrong?

Read More...

Doug Albrecht replied to the topic 'How can I modify a driver?' in the forum. 5 years ago

I appreciate your help.

I forgot to capitalize the p in projects in my previous post. Where does ubuntu install indi when you do sudo apt-get install indi-full? The ~/Projects folder is where the git hub source was loaded into.

Read More...

Doug Albrecht replied to the topic 'How can I modify a driver?' in the forum. 5 years ago

When I typed in "cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ~/Projects/indi/libindi" I got an error message.

Read More...

Doug Albrecht replied to the topic 'How can I modify a driver?' in the forum. 5 years ago

OK
I modified the driver .cpp file in /projects/indi/libindi/drivers/telescope. Is that the file I need to edit? After editing the E and W motion commands I saved the file. How do I compile it or do whatever I need to do so Ekos will load the modified driver?

Read More...

Doug Albrecht replied to the topic 'How can I modify a driver?' in the forum. 5 years ago

On the opposite side of the meridian (west) North moves north and south moves south. On the east side it moves in the opposite direction.

Mount tracks fine. Hand controller is set to northern hemisphere. Mount has GPS and is set to right Long/Lat. Have GPS set up on the Stellarmate and location is set correctly in Ekos.

When performing polar alignment assistant the mount moves in the opposite direction than the assistant expects it to move and aborts.

When I hit the move west button the mount puts the telescope on the east side of the mount and vise versa with moving east.

Read More...

Doug Albrecht created a new topic ' How can I modify a driver?' in the forum. 5 years ago

I'm having an issue with my mount. It looks like the controls are reversed. When I click the move north button, it is moving south and south moves north. Same goes for east and west motion control.
I looked at the Ioptron ZEQ25 driver on github and cross referenced the commands with the command language for the zeq and it should be right but my mount must have some wires crossed somewhere. I wanted to try to mod the driver by switching the motion control commands for N,S,E,W motion. Beside working a bit with arduino I no nothing about programming.

So, how would I go about modding the driver for my own personal use ?

Read More...

To download the latest stellarmate os:
Ho to stellarmate. Com and sign in.
Click on products > orders .
Then click the order number, scroll down and click on download.

Read More...