Swimming, 29th July 2019

The pool is still way too warm! 31.4C today, apparently. So, same story as before 🙁

USRPT distance this year: 165,800m
Total distance this year: 194,100m

Posted in Swimming | Tagged | Leave a comment

Building an observatory. Construction #78

After a month away from construction because of holidays and other stuff going on, this weekend I spent some time working on the power for the piers.

Photos to follow, but each pier now has an IP66-rated cabinet attached (which is probably no longer IP66 as I’ve cut holes in them, but I really only need them to keep dew off the kit inside so that’s hardly a major issue: it’s not as though I’m going to be hosing them down or leaving the roof open in the pouring rain). Inside the cabinet is a double socket and a 12V supply to go to the mount. Once I have the observatory connected up to the electricity supply I’ll be putting a small form factor PC inside as well.

The entire process took somewhat longer than expected whilst I worked out exactly how I was going to have things work, but once the first one was done the next two were considerably quicker.

I also have all the sockets in place in the warm room (eight doubles!) and three double sockets in IP66 housings on the walls of the scope room.

Jobs remaining for the electrics are to install the consumer unit and connect the entire thing up to the mains supply. I also need a couple of sockets to supply the lighting. My intention is to have a separate ring for those that can have a 5A MCB.

Posted in Astronomy, Observatory, Projects | Leave a comment

Swimming, 26th July 2019

Another day with the pool far too warm, so I’m just keeping things ticking over. Looks like the temperature is going to drop a little next week, so hopefully things will improve then.

USRPT distance this year: 165,800m
Total distance this year: 192,300m

Posted in Swimming | Tagged | Leave a comment

Swimming, 25th July 2019

Hit the pool with my daughter today and I have to say neither of us particularly enjoyed it. I really struggled and was far hotter than I would normally be whilst swimming. When I left one of the life guards told me that the water temperature was 31.5C, so perhaps that shouldn’t be surprising.

Hopefully it will be better tomorrow, given that the outside temperature should be somewhat lower than today if the forecast is correct.

USRPT distance this year: 165,800m
Total distance this year: 190,500m

Posted in Swimming | Tagged | Leave a comment

The joy of libgphoto2

Whilst I was on holiday I took a bit of a leap into the unknown and decided I’d try to implement support for DSLRs in the camera library I’ve written for oacapture and related applications, the intent being to use libgphoto2 to control the cameras (and libraw to manipulate the images).

libgphoto2 looks like a very impressive piece of software, supporting a huge number of DSLRs, but the documentation is, well, shall we say “somewhat lacking in depth”? There are a few sample programs that aren’t entirely convincing, and some function-level documentation generated by doxygen that doesn’t really tell you everything you need to know.

I’ve yet to work out what’s going on with the non-PTP2 cameras so I’ve decided to ignore those for the moment and just concentrate on the ones that do support PTP2. At this point I have my code recognising that my Canon 450D is connected and reading its model name to return to the caller. That’s about as far as I’ve got.

Much of the camera interface appears to centre around the concept of “widgets”. If you’re writing a GUI application (as I am) this may be a little confusing given that “widget” is also a term used for an object that appears a in GUI, but in this case the widgets appear to be nodes in a tree of information that describes the camera and its features, arranged in a similar way to a filesystem, in that each node has a “name” that is formed by concatenating the names of all the widgets from the “root” node with the components being separated by the slash (“/”) character. So /main/imgsettings/iso, for example. The leaf nodes represent actual information about the camera and contain data such as whether the data is read only, what type of information it is and what values it can take (if appropriate).

And this is where the fun starts… There doesn’t appear to be any meaningful documentation of what those “name” values can be, nor what they mean in terms of operating the camera. Some, such as /main/imgsettings/iso might be reasonably obvious, but others aren’t so obvious. For example, how does /main/imgsettings/autoiso differ from /main/imgsettings/isoauto, especially if both exist for the same camera?

I have discovered that leaf nodes also have a “label”. The label value appears to be a bit more camera-dependent, but may sometimes help with determining what any given leaf node refers to because it turns out that supported PTP2 cameras have a text file that describes their functions (in camlibs/ptp2/cameras in the source for the library though I’ve no idea if those are pulled into the installed binaries. In these files it appears to be the label that is used to configure what actually happens in terms of the PTP2 protocol, so searching the file for a given camera for the name of a leaf node and then for the associated label may help to work out what it actually does.

There doesn’t appear to be any definitive documentation on all possible values for the “name” fields and it may be that different names actually do the same thing (I can’t be sure at the moment), so writing code that handles all possible options doesn’t appear possible. At the moment I have created a list of 156 different names that are used in the configuration files mentioned above. Perhaps the next step is to pair those with labels and see what makes sense to code up in a first pass.

I’ll post on further progress when I make it.

Posted in Astronomy, Computing | Tagged , | Leave a comment

Swimming, 23rd July 2019

Another day with the pool rather too warm, but I think I did better than yesterday apart from the last few reps when someone decided they’d share the lane I was using and swim very slowly. It’s not particularly enjoyable when the water is too warm and I was very hot when I got out. I’m sure that really doesn’t help.

USRPT distance this year: 165,800m
Total distance this year: 188,700m

Posted in Swimming | Tagged | Leave a comment

Swimming, 22nd July 2019

Back to my usual pool today, to find it anything but usual. The water temperature was apparently 31C, which is a bit much for swimming hard. Given the enforced break from my usual sets I’ve decided to take this week just to get back into the swing of things and try to keep the pace below 49s, but not get too distressed if I can’t. I’ll restart proper USPRT swims next week.

USRPT distance this year: 165,800m
Total distance this year: 186,900m

Posted in Swimming | Tagged | Leave a comment

Swimming, 8th to 19th July 2019

Holiday time! And whilst I have access to a 30m pool, it’s busy, doesn’t always have lane ropes and observance of lane etiquette is poor. Oh, and there are no lane lines on the bottom of the pool, just a short black line 2m from each end. And no pace clock either.

Proper USRPT training therefore went out the window, and the lack of lane discipline meant that tumble turns were dangerous, so I decided I’d make the best of a bad job and swim a set as follows:

  • 4 x 90m front crawl warm-up
  • 24 x 30m front crawl at some notional 100m pace
  • 3 x 60m front crawl swim-down

I did the same set each day as an attempt at changing the pace of my usual training. Between the 30m reps I paused for ten breaths before starting the next rep, though often that got messed up if I needed to leave before a slower swimmer got in the way or it was obvious that I was going to catch someone up before they finished the length they were on. Not ideal, but probably the best I could do and it did at least mean that I was swimming. On a few days I did a few more reps because I lost count.

USRPT distance this year: 165,800m
Total distance this year: 185,100m

Posted in Swimming | Tagged | Leave a comment

Swimming, 4th July 2019

Arrived at the pool today to claims from the lifeguards that it was 40C on poolside. I can believe it, too. Walking out of the changing rooms felt like running into a wall of hot air. The water was far more pleasant (and for ten to fifteen minutes I even had it to myself).

I can’t claim the set was easy today, but it didn’t feel quite as punishing as it has been. I’ve been experimenting a little with my body position and I’m finding that if I swim in a position where my head feels just a little deeper in the water then my legs seem to lift slightly and I think I’m probably more streamlined. Whether that’s the reason or not, it does seem to make reps in the 47s easier to achieve, whereas I tend to drop back to 48s otherwise.

Anyhow, whole set completed again, no fails, very happy. My only concern was whether the older lady who decided to swim next to me and wander all over the width of the lane was going to be in the wrong place when I launched off the wall on the turn.

USRPT distance this year: 165,800m
Total distance this year: 169,950m

Posted in Swimming | Tagged , | Leave a comment

Swimming, 2nd July 2019

A much better day today. Hard to believe it was only 24 hours after such a poor performance yesterday. I’d not claim it was easy — I was definitely having to push hard from about sixteen reps in, but I made every one. Very pleased.

USRPT distance this year: 164,000m
Total distance this year: 168,150m

Posted in Swimming | Tagged , | Leave a comment