You are not logged in.

> The forum rules have been updated. Please take a moment to read them.


#1 2011-04-24 16:25:29

Sebastian
Member
Registered: 2011-04-24
Posts: 10
Website

Starting Development of new Timelapse Software

Hello, this is my first post here, though I started a similar thread on the timescapes forums: http://timescapes.org/phpBB3/viewtopic. … amp;t=4373

I want to create a new software to control the motion of my Orion/Merlin/Skywatcher with the specific needs of recording motion controlled time-lapse.

I know there is the timelapse preset generator for papywizard but I feel its cumbersome and limiting so I started writing my own application.


What I already have:
A cross platform Java application with the class to send serial commands to my head. I can rotate all axes at any speed.
There is some excellent documentation about the serial protocol here: http://www.papywizard.org/wiki/DevelopG … onprotocol though I found some incomplete parts like the speed ratio with the "G" command.

I am also not quite sure yet which value corresponds to which speed as in the command sequence:

L<axis>
G<axis>3<dir>
I<axis>220000
J<axis>

The "3" is the speed ratio and can actually also be 1 for slow and 4 for slew and the "I<axis>220000" (as found out with trial and error) command can take any value between 100000 and FF0000.
4 for slew had some inconsistent behaviour and with no combination of values I was able to get the head to turn as slow as with the handcontrol in guide mode...


What I want to achieve:
Allow full custom curve movements on both axis with a nice GUI to draw curves, preview motion, etc.

The plan is to release everything as open source (GNU GPL V3).

Any help with coding or more details about the serial protocol would be greatly appreciated.


Apertus - open source cinema
www.apertus.org

Offline

 

#2 2011-04-24 21:10:00

fma38
Moderator
From: Grenoble, France
Registered: 2005-12-07
Posts: 6181
Website

Re: Starting Development of new Timelapse Software

Claude, I can't find anymore the pdf document about the Merlin protocole someone from a astronomic forum wrote... Do you remember it? This doc can help Sebastian, I think...


Frédéric

Canon 20D + 17-40/f4 L USM + 70-200/f4 L USM + 50/f1.4 USM
Merlin/Orion panohead + Papywizard on Nokia N800 and HP TC-1100

Offline

 

#3 2011-04-24 23:29:01

claudevh
Moderator
From: Mont-Saint-André (Belgium)
Registered: 2007-11-25
Posts: 1390
Website

Re: Starting Development of new Timelapse Software

Hello Fréderic and Sebastian ...
I have send the documents I have at disposal by direct mail.


cool Claude cool
Merlin + Papywizard on Windows 7 & Nokia 770 § N810 & Acer (Netbook) + PanoramaApp Androïd + Deltawave PapyMerlin BT + Autopano
Spherical Pano (180 x 360) with Canon 40D + Canon EF-S 10-22mm f/3.5-4.5 Zoom & Pôle Pano with Canon 5D MK2 and shaved Tokina 10-17 3.5-4.5 AF DX Fisheye
Gigapixel photography with Nikon D200 + Sigma 70-200 F 2.8 EX DG APO HSM

Offline

 

#4 2011-04-25 09:24:08

fma38
Moderator
From: Grenoble, France
Registered: 2005-12-07
Posts: 6181
Website

Re: Starting Development of new Timelapse Software

Thanks!


Frédéric

Canon 20D + 17-40/f4 L USM + 70-200/f4 L USM + 50/f1.4 USM
Merlin/Orion panohead + Papywizard on Nokia N800 and HP TC-1100

Offline

 

#5 2011-04-25 09:29:26

gloob
Member
From: Germany
Registered: 2011-02-18
Posts: 31
Website

Re: Starting Development of new Timelapse Software

Could someone also send me this file. Would be very nice

Offline

 

#6 2011-04-25 09:45:02

ozbigben
Member
From: Melbourne, Australia
Registered: 2009-05-07
Posts: 44
Website

Re: Starting Development of new Timelapse Software

Are people using great circle routes for timelapse panning with a change in pitch or just interpolating yaw and pitch?

http://williams.best.vwh.net/avform.htm#Intermediate


Ben

Skywatcher Multifunction (FW 010981) + Papywizard (2.1.20), Ursa Minor USB, DSLR Remote, Canon 1Ds mkIII (70-200mm f2.8 or 80mm f1.8), PTGui Pro

Offline

 

#7 2011-04-25 12:18:03

claudevh
Moderator
From: Mont-Saint-André (Belgium)
Registered: 2007-11-25
Posts: 1390
Website

Re: Starting Development of new Timelapse Software

To "gloob" Stefan,

I have send the docs to you by Email...

To "All"

I believe that all of you have interest in sharing a maximum of informations about Timelapse.
Please make your code availlable somewhere in the spirit of "open source".
Fréderic have show THE EXEMPLE with Papywizard.

I will say that more then 40 % of the "Papywizard" users are also interested in Timelapse, but the informations are so scatered.

To Frederic, is that not time to create a "dedicated part" for Timelapse into the Papywizard area ?
What do-you thinck about ?


cool Claude cool
Merlin + Papywizard on Windows 7 & Nokia 770 § N810 & Acer (Netbook) + PanoramaApp Androïd + Deltawave PapyMerlin BT + Autopano
Spherical Pano (180 x 360) with Canon 40D + Canon EF-S 10-22mm f/3.5-4.5 Zoom & Pôle Pano with Canon 5D MK2 and shaved Tokina 10-17 3.5-4.5 AF DX Fisheye
Gigapixel photography with Nikon D200 + Sigma 70-200 F 2.8 EX DG APO HSM

Offline

 

#8 2011-04-26 07:46:52

fma38
Moderator
From: Grenoble, France
Registered: 2005-12-07
Posts: 6181
Website

Re: Starting Development of new Timelapse Software

Yes, a sub-forum for timelapse could be nice. But we need to ask Kolor to create it.


Frédéric

Canon 20D + 17-40/f4 L USM + 70-200/f4 L USM + 50/f1.4 USM
Merlin/Orion panohead + Papywizard on Nokia N800 and HP TC-1100

Offline

 

#9 2011-04-26 10:55:26

AlexandreJ
Kolor CEO
From: Francin, France
Registered: 2005-11-14
Posts: 7934
Website

Re: Starting Development of new Timelapse Software

Just ask, it's easy to create smile

Offline

 

#10 2011-04-26 19:26:56

claudevh
Moderator
From: Mont-Saint-André (Belgium)
Registered: 2007-11-25
Posts: 1390
Website

Re: Starting Development of new Timelapse Software

Hello Alexandre,

Could you create a "subforum" for "Timelapse and related applications" & "Timelapse et applications associées" after PANOGEAR in both  the English and in the French part.

We will move and reorganise all subjects related to Timelapse into those new parts ...

Many thanks in advance smile


cool Claude cool
Merlin + Papywizard on Windows 7 & Nokia 770 § N810 & Acer (Netbook) + PanoramaApp Androïd + Deltawave PapyMerlin BT + Autopano
Spherical Pano (180 x 360) with Canon 40D + Canon EF-S 10-22mm f/3.5-4.5 Zoom & Pôle Pano with Canon 5D MK2 and shaved Tokina 10-17 3.5-4.5 AF DX Fisheye
Gigapixel photography with Nikon D200 + Sigma 70-200 F 2.8 EX DG APO HSM

Offline

 

#11 2011-04-27 08:54:57

AlexandreJ
Kolor CEO
From: Francin, France
Registered: 2005-11-14
Posts: 7934
Website

Re: Starting Development of new Timelapse Software

Done. I've put you and fma38 moderator on these new parts.

Offline

 

#12 2011-04-27 11:44:41

claudevh
Moderator
From: Mont-Saint-André (Belgium)
Registered: 2007-11-25
Posts: 1390
Website

Re: Starting Development of new Timelapse Software

Bonjour Alexandre,

J'aurais plutôt vu ce "sous-forum" au même niveau que :

- Motorized panohead project: Merlin, Orion & Papywizard
- Panogear
- Timelapse and related applications     <<<<<<<<<<<<<<<<<<<<<<<<<<<<

Et non comme sous forum de Panogear ...
Idem dans la partie française !

Est-ce possible ?

Merci d'avance. smile


cool Claude cool
Merlin + Papywizard on Windows 7 & Nokia 770 § N810 & Acer (Netbook) + PanoramaApp Androïd + Deltawave PapyMerlin BT + Autopano
Spherical Pano (180 x 360) with Canon 40D + Canon EF-S 10-22mm f/3.5-4.5 Zoom & Pôle Pano with Canon 5D MK2 and shaved Tokina 10-17 3.5-4.5 AF DX Fisheye
Gigapixel photography with Nikon D200 + Sigma 70-200 F 2.8 EX DG APO HSM

Offline

 

#13 2011-04-27 13:18:39

AlexandreJ
Kolor CEO
From: Francin, France
Registered: 2005-11-14
Posts: 7934
Website

Re: Starting Development of new Timelapse Software

Bien sure. C'est fait.

Offline

 

#14 2011-04-27 15:50:39

claudevh
Moderator
From: Mont-Saint-André (Belgium)
Registered: 2007-11-25
Posts: 1390
Website

Re: Starting Development of new Timelapse Software

OK Alexandre !
PARFAIT ....smile


cool Claude cool
Merlin + Papywizard on Windows 7 & Nokia 770 § N810 & Acer (Netbook) + PanoramaApp Androïd + Deltawave PapyMerlin BT + Autopano
Spherical Pano (180 x 360) with Canon 40D + Canon EF-S 10-22mm f/3.5-4.5 Zoom & Pôle Pano with Canon 5D MK2 and shaved Tokina 10-17 3.5-4.5 AF DX Fisheye
Gigapixel photography with Nikon D200 + Sigma 70-200 F 2.8 EX DG APO HSM

Offline

 

#15 2011-04-29 14:05:49

Sebastian
Member
Registered: 2011-04-24
Posts: 10
Website

Re: Starting Development of new Timelapse Software

Here is my first progress report and what I found out so far:

If you see an error or misinterpretation please let me know.


Speed
For continuous movement there seem to be only 2 speed modes/ratios available each with 255 speed settings.

"Slow" goes from 2.16 degrees per minute to 28.08 degrees per minute

"Fast" goes from 56 degrees per minute to 245 degrees per minute


The "Slew" Mode is only good for the GOTO commands which I did not get into yet.


There also seems to be an even slower "track/guide" mode which is available on the handcrontrol but I did not find out yet how to use this mode from the serial interface


Motion
If you just want continous motion with a constant custom speed you can start the motion from the software and then disconnect the cable (and turn off your computer). The head will not stop movement when you unplug the cable.



This is what the program currently looks like:


Uploaded Images

Last edited by Sebastian (2011-04-29 14:16:08)


Apertus - open source cinema
www.apertus.org

Offline

 

#16 2011-05-01 11:10:31

claudevh
Moderator
From: Mont-Saint-André (Belgium)
Registered: 2007-11-25
Posts: 1390
Website

Re: Starting Development of new Timelapse Software

Hey Sebastien,

This is taken "live" ....

Could we have a chance to try by ourselve?
What platform do-you use to run your program ?

Normally the Merlin has several speeds:

Slew speeds:
Rate 0 = 1.0X sideral rate (0.25 ° / minute) = Tracking mode sideral !)
Rate 1 = 2X
Rate 2 = 16X
Rate 3 = 32X
Rate 4 = 50X
Rate 5 = 200X
Rate 6 = 400X
Rate 7 = 600X
Rate 8 = 800X Max for Merlin Generation I     (Firmware commencing "01.##.##)
Rate 9 = 1000X Max for Merlin Generation II  (Firmware commencing "02.##.##)

In fact they are "3 tracking rates" :
Sidereal (default)
Lunar
Solar


cool Claude cool
Merlin + Papywizard on Windows 7 & Nokia 770 § N810 & Acer (Netbook) + PanoramaApp Androïd + Deltawave PapyMerlin BT + Autopano
Spherical Pano (180 x 360) with Canon 40D + Canon EF-S 10-22mm f/3.5-4.5 Zoom & Pôle Pano with Canon 5D MK2 and shaved Tokina 10-17 3.5-4.5 AF DX Fisheye
Gigapixel photography with Nikon D200 + Sigma 70-200 F 2.8 EX DG APO HSM

Offline

 

#17 2011-05-01 13:11:48

Sebastian
Member
Registered: 2011-04-24
Posts: 10
Website

Re: Starting Development of new Timelapse Software

claudevh wrote:

Hey Sebastien,

This is taken "live" ....

Could we have a chance to try by ourselve?
What platform do-you use to run your program ?

Normally the Merlin has several speeds:

Slew speeds:
Rate 0 = 1.0X sideral rate (0.25 ° / minute) = Tracking mode sideral !)
Rate 1 = 2X
Rate 2 = 16X
Rate 3 = 32X
Rate 4 = 50X
Rate 5 = 200X
Rate 6 = 400X
Rate 7 = 600X
Rate 8 = 800X Max for Merlin Generation I     (Firmware commencing "01.##.##)
Rate 9 = 1000X Max for Merlin Generation II  (Firmware commencing "02.##.##)

In fact they are "3 tracking rates" :
Sidereal (default)
Lunar
Solar

This is Java so its cross platform compatible. It requires the RXTX library (http://rxtx.qbang.org/wiki/index.php/Main_Page) which runs on Windows, Linux, Mac OSX and Solaris.

I plan to finish cleaning up the code and adding more basic functionality to release source and binaries at the end of May.

Do you have any information how to interface these tracking modes with serial commands?


Apertus - open source cinema
www.apertus.org

Offline

 

#18 2011-05-11 16:45:00

Sebastian
Member
Registered: 2011-04-24
Posts: 10
Website

Re: Starting Development of new Timelapse Software

New Version with integrated GOTO features is ready.

The good news is that the integrated GOTO controller seems to be pretty accurate. Average stepping error is around 0.01°. More accuracy could be achieved by moving the head "manually" with the speed commands and constantly checking the step position and adjusting speed accordingly. With this approach it would take longer to reach the GOTO position but we might be able to get the error down even further.

This does not say much about the real physical motion error due to mechanical components of the head, this is purely about the motion of the motor as measured by the optical encoder.


I looked for a good name for the software before registring for a google code repository and settled for "Chronomotion", I hope you like the name, I dont think Google offers the option to change it... wink

http://code.google.com/p/chronomotion/

Initial code release is there already, though in still pretty rough condition (like hardcoded "COM1" as port, etc.) and the GPL headers are still missing.

I will deal with cleaning up soon.


Uploaded Images

Last edited by Sebastian (2011-05-11 16:45:55)


Apertus - open source cinema
www.apertus.org

Offline

 

#19 2011-05-11 21:03:27

fma38
Moderator
From: Grenoble, France
Registered: 2005-12-07
Posts: 6181
Website

Re: Starting Development of new Timelapse Software

Looks promising smile


Frédéric

Canon 20D + 17-40/f4 L USM + 70-200/f4 L USM + 50/f1.4 USM
Merlin/Orion panohead + Papywizard on Nokia N800 and HP TC-1100

Offline

 

#20 2011-05-16 12:34:51

claudevh
Moderator
From: Mont-Saint-André (Belgium)
Registered: 2007-11-25
Posts: 1390
Website

Re: Starting Development of new Timelapse Software

Hello Sebastian,

This look very promising indeed. smile
A few questions ...

I have installed the application on my PC (Java installation, compilation etc ...)
I get the application on my screen but how can I connect ?

I have seen in your code that "COM1" is hard coded, thats OK ... I have changed to COM port of my BT device no problem but I don't get any connection ...

How do you have connected the Merlin head to your PC, wired (TTL 5V convertor like the FTDI) or not wired like the "PapyMerlin" Bluetooth ???

Can-you explain ?

Thank-you for your work !!!


cool Claude cool
Merlin + Papywizard on Windows 7 & Nokia 770 § N810 & Acer (Netbook) + PanoramaApp Androïd + Deltawave PapyMerlin BT + Autopano
Spherical Pano (180 x 360) with Canon 40D + Canon EF-S 10-22mm f/3.5-4.5 Zoom & Pôle Pano with Canon 5D MK2 and shaved Tokina 10-17 3.5-4.5 AF DX Fisheye
Gigapixel photography with Nikon D200 + Sigma 70-200 F 2.8 EX DG APO HSM

Offline

 

#21 2011-06-11 05:58:57

hsestes00
New member
From: U.S. Georgia
Registered: 2011-05-04
Posts: 7

Re: Starting Development of new Timelapse Software

So I looked out on the Google site http://code.google.com/p/chronomotion/, but did not see where I could grab a copy to demo with.   Is it still available?


Skywatcher mount, Papywizard on Lenovo Netbook WinXP, PapyMerlin BT module,
Canon 600D, Rebel 350D

Offline

 

#22 2011-06-11 10:35:42

claudevh
Moderator
From: Mont-Saint-André (Belgium)
Registered: 2007-11-25
Posts: 1390
Website

Re: Starting Development of new Timelapse Software

Yes this is still at the same place but your URL is faulty ... (a "," too much at the end !)
http://code.google.com/p/chronomotion/

You should be a member of Google (subscribe to a Google account, this is free)

The the best way is to follow the instructions on the Wiki ... and install a "SVN" to recuperate the "fresh" code easylly ...

You can also simply browse the source code ...

There is no "download"yet ...

Have fun and let know your impression !


cool Claude cool
Merlin + Papywizard on Windows 7 & Nokia 770 § N810 & Acer (Netbook) + PanoramaApp Androïd + Deltawave PapyMerlin BT + Autopano
Spherical Pano (180 x 360) with Canon 40D + Canon EF-S 10-22mm f/3.5-4.5 Zoom & Pôle Pano with Canon 5D MK2 and shaved Tokina 10-17 3.5-4.5 AF DX Fisheye
Gigapixel photography with Nikon D200 + Sigma 70-200 F 2.8 EX DG APO HSM

Offline

 

#23 2011-07-27 12:17:07

Sebastian
Member
Registered: 2011-04-24
Posts: 10
Website

Re: Starting Development of new Timelapse Software

I just made the first binary release: http://code.google.com/p/chronomotion/downloads/list

Usage Instructions are here: http://code.google.com/p/chronomotion/w … structions

Please note that it is still a very early alpha release and you might discover bugs/problems.

Please test and help with reports about issues here: http://code.google.com/p/chronomotion/issues/list

claudevh wrote:

I have seen in your code that "COM1" is hard coded, thats OK ... I have changed to COM port of my BT device no problem but I don't get any connection ...
How do you have connected the Merlin head to your PC, wired (TTL 5V convertor like the FTDI) or not wired like the "PapyMerlin" Bluetooth ???

I now added auto COM port discovery, so it should automatically list all detected COM ports. If the bluetooth adapter also creates a virtual COM port it should also be listed just like the hardwired ones.


Apertus - open source cinema
www.apertus.org

Offline

 

#24 2011-08-01 00:03:37

claudevh
Moderator
From: Mont-Saint-André (Belgium)
Registered: 2007-11-25
Posts: 1390
Website

Re: Starting Development of new Timelapse Software

Hello Sebastian,

I have tested the binary for Windows ... and it work !!! smile
No problem till now !
The "wired connection" via a "USB to TTL convertor" is OK.
A "Virtual Serial" connection via BT can't be used at this moment.

I have some difficulties with how to use it all ...
A small description of the functionalities will be welcome.

Anyway "GOOG JOB" !!! big_smile


cool Claude cool
Merlin + Papywizard on Windows 7 & Nokia 770 § N810 & Acer (Netbook) + PanoramaApp Androïd + Deltawave PapyMerlin BT + Autopano
Spherical Pano (180 x 360) with Canon 40D + Canon EF-S 10-22mm f/3.5-4.5 Zoom & Pôle Pano with Canon 5D MK2 and shaved Tokina 10-17 3.5-4.5 AF DX Fisheye
Gigapixel photography with Nikon D200 + Sigma 70-200 F 2.8 EX DG APO HSM

Offline

 

#25 2011-08-01 11:07:19

Sebastian
Member
Registered: 2011-04-24
Posts: 10
Website

Re: Starting Development of new Timelapse Software

Thanks for testing, great that it works in general!

I do not have a BT setup with the Merlin head but If you can help me understand how to talk to the BT device I will try to integrate it.


So far the software is just a kind of preview. You can rotate the head, start motion in all directions with different speed settings and issue single GOTO commands.

I am now working on more timelapse oriented features. But my philosophy is "release early" smile


Apertus - open source cinema
www.apertus.org

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson