Re: [PATCH] Support different salinity in planner

2014-11-13 Thread Rick Walsh
On 13 Nov 2014 20:21, Robert Helling hell...@atdotde.de wrote: On 12.11.2014, at 23:33, Anton Lundin gla...@acc.umu.se wrote: Anton, Depth is often mentioned in a length unit, but what we care about is pressure. When diving in fresh water the pressure is lower than the same depth in salt

Re: [PATCH 1/3] Support American date format on manual CSV import

2014-11-24 Thread Rick Walsh
On 25 Nov 2014 04:10, Davide DB dbdav...@gmail.com wrote: Il 24/nov/2014 18:37 Dirk Hohndel d...@hohndel.org ha scritto: On Mon, Nov 24, 2014 at 07:23:14PM +0200, Miika Turkia wrote: Assume that date is given in American format if it contains a slash (/) character. That's

Re: Send to Facebook feature Finished.

2014-12-25 Thread Rick Walsh
On 26 Dec 2014 06:22, Tomaz Canabrava tcanabr...@kde.org wrote: What it does: You can publish any Dive to facebook, it will create a new album ( named 'Subsurface', but you can change it, you can't delete the album via subsurface so manual interaction to facebook is needed for some stuff )

Re: Off Topic -- slightly. Dive Computers

2015-03-07 Thread Rick Walsh
On 8 Mar 2015 02:20, Anton Lundin gla...@acc.umu.se wrote: On 07 March, 2015 - Davide DB wrote: Il 07/mar/2015 12:36 Anton Lundin gla...@acc.umu.se ha scritto: here's my 2 ören: If i where in for a cheap option i would probably by a second-hand OSTC2. There's a lot of them out

Re: GSOC 2015

2015-03-14 Thread Rick Walsh
On 14/03/2015 11:13 PM, Henrik Brautaset Aronsen subsurf...@henrik.synth.no wrote: 14. mar. 2015 11.03 skrev Robert C. Helling hell...@atdotde.de: I compiled a reading list: http://trac.hohndel.org/wiki/VPM%20background%20reading There's also an issue pointing to the various

Re: Recreational mode, Add 3min stop

2015-04-02 Thread Rick Walsh
On 2 April 2015 at 19:54, Robert Helling hell...@lmu.de wrote: I don’t have a strong opinion on weather we should do the safety stop also in the trail ascent. If we did, the NDL would be longer but on the other hand this would make the safety stop mandatory. What do you people think? If I'm

Petrel 2 Download

2015-05-16 Thread Rick Walsh
Hi, Has anyone has managed to download dives from a Shearwater Petrel 2 on Linux? All my attempts have failed in one way or another, and I suspect there might the a difference in the way the Petrel and Petrel 2 communicate. They might look the same, and work the same (except for the compass),

Re: Shearwater Petrel Bluetooth connection on Fedora 20

2015-04-12 Thread Rick Walsh
On 13 April 2015 at 01:23, Dirk Hohndel d...@hohndel.org wrote: On Apr 12, 2015, at 7:58 AM, Anton Lundin gla...@acc.umu.se wrote: On 12 April, 2015 - Rick Walsh wrote: My tips are: Use rfcomm connect instead of bind. Watch the command and make sure the rfcomm channel have connected

Re: Shearwater Petrel Bluetooth connection on Fedora 20

2015-04-13 Thread Rick Walsh
On 13 April 2015 at 20:13, Rodrigo Severo rodr...@fabricadeideias.com wrote: On Sun, Apr 12, 2015 at 8:23 PM, Rick Walsh rickmwa...@gmail.com wrote: I made a quick attempt this morning, but ran out of time and needed to go to work. I'm not familiar with rfcomm or Bluetooth on Linux. Please

Shearwater Petrel Bluetooth connection on Fedora 20

2015-04-12 Thread Rick Walsh
Hi, I dived with my new Shearwater Petrel 2 today, and tried downloading the dives to Subsurface. Unfortunately, it didn't work, on a reasonably old laptop running Fedora 20 with KDE4. I followed the directions in Appendix B of the manual to pair a Bluetooth device, and bound the Petrel MAC to

Re: Petrel 2 Download

2015-05-19 Thread Rick Walsh
Thank you for your help and patience Anton, On 19 May 2015 at 19:50, Anton Lundin gla...@acc.umu.se wrote: bt-device and bt-adapter are quite nice tools from a old Gsoc project: https://code.google.com/p/bluez-tools/ I don't know if they are packaged for Fedora. If they are, it isn't obvious

Re: Petrel 2 Download

2015-05-20 Thread Rick Walsh
Det funkar, tack så mycket Anton! On 20 May 2015 at 20:48, Anton Lundin gla...@acc.umu.se wrote: On 20 May, 2015 - Rick Walsh wrote: Thanks for the suggestion but still no luck. I tried rfcomm0, rfcomm1, rfcomm2 and rfcomm3. All give: Can't connect RFCOMM socket: Connection refused

Re: Petrel 2 Download

2015-05-16 Thread Rick Walsh
supplied dongle - turned on with hcitools, and hci0 (onboard bluetooth) turned off. //Anton - blending more gas. On May 16, 2015 10:41:37 AM GMT+02:00, Rick Walsh rickmwa...@gmail.com wrote: Hi, Has anyone has managed to download dives from a Shearwater Petrel 2 on Linux? All my attempts have

[Patch] Fix gaschange_after definition

2015-06-23 Thread Rick Walsh
From a08aefac43a83e4801b3cfc57a84e81352921952 Mon Sep 17 00:00:00 2001 From: Rick Walsh rickmwa...@gmail.com Date: Tue, 23 Jun 2015 23:04:02 +1000 Subject: [PATCH] Fix gaschange_after definition Previously gaschange_after was never being set back to false. Now it will be. Signed-off-by: Rick

Re: [PATCH] Planner notes - revise logic for gasmix output

2015-06-23 Thread Rick Walsh
On 23 June 2015 at 23:16, Dirk Hohndel d...@hohndel.org wrote: That patch is awesome. I looked at it and said but that's the same condition!. It really took me 5 seconds (and the commit message) to figure out why it makes a huge difference. Well it took me about two hours to work out why we

Re: [PATCH] Planner notes - revise logic for gasmix output

2015-06-22 Thread Rick Walsh
Thanks Robert, I'm on my phone so I've read but haven't tested your patches. On 23 Jun 2015 7:09 am, Robert C. Helling hell...@atdotde.de wrote: Hi Rick, I am currently looking at the patch and write down things I notice. The gas change looks good for our case of a switch at a depth

Re: [PATCH] Planner notes - revise logic for gasmix output

2015-06-23 Thread Rick Walsh
Hi Dirk and Robert, On 23 June 2015 at 10:53, Dirk Hohndel d...@hohndel.org wrote: Because of some of the code cleanup that I did over the weekend these were kinda hard to apply. I tried to close a few dozen Coverity issues and ended up changing some of those very same conditional statements

[PATCH] Planner - change timestep to 2 seconds

2015-06-19 Thread Rick Walsh
stops). Cheers, Rick From ef2c2e1e8c5f252c256041d2ef78656540107608 Mon Sep 17 00:00:00 2001 From: Rick Walsh rickmwa...@gmail.com Date: Sat, 20 Jun 2015 11:01:09 +1000 Subject: [PATCH] Planner - change timestep to 2 seconds Change the timestep used to calculate tissue pressures and ascents from 3

[PATCH] Planner notes - revise logic for gasmix output

2015-06-19 Thread Rick Walsh
. From cf2ad7135e6524fda51eece103edfc6189f805a9 Mon Sep 17 00:00:00 2001 From: Rick Walsh rickmwa...@gmail.com Date: Sat, 20 Jun 2015 15:04:05 +1000 Subject: [PATCH 3/3] Planner notes - revise logic for gasmix output The logic for when to output a gasmix in the notes table is more complicated than

[PATCH] Planner - end deco stops at whole minutes of runtime

2015-06-19 Thread Rick Walsh
Use an adjusted timestep to calculate length of deco stops, so that they always end at whole minutes of runtime. This makes for a cleaner ascent profile. From 15e08450252f304fc7d46931e2aca5c991c2f3de Mon Sep 17 00:00:00 2001 From: Rick Walsh rickmwa...@gmail.com Date: Sat, 20 Jun 2015 11:36:07

Re: [PATCH] Planner - change timestep to 2 seconds

2015-06-21 Thread Rick Walsh
On 22 Jun 2015 8:16 am, Steve Butler kg...@comcast.net wrote: On 06/20/2015 06:25 PM, Rick Walsh wrote:On 21 Jun 2015 11:19 am, Dirk Hohndel d...@hohndel.org wrote: On Sat, Jun 20, 2015 at 11:17:28AM +1000, Rick Walsh wrote: But what about me? I like SI units and whole decimals. Don't

Re: [PATCH] Planner - change timestep to 2 seconds

2015-06-21 Thread Rick Walsh
Steve, On 22 June 2015 at 08:48, Steve Butler kg...@comcast.net wrote: On 06/21/2015 03:23 PM, Rick Walsh wrote: On 22 Jun 2015 8:16 am, Steve Butler kg...@comcast.net wrote: On 06/20/2015 06:25 PM, Rick Walsh wrote:On 21 Jun 2015 11:19 am, Dirk Hohndel d...@hohndel.org wrote: On Sat

Re: Provide planner option to switch gas only when a stop is required

2015-06-24 Thread Rick Walsh
Thanks Robert, On 25 Jun 2015 6:12 am, Robert C. Helling hell...@atdotde.de wrote: the patches look good to me. Still I don’t know if there is really a use case for this in the planner that justifies the addition of a checkbox. Anton? Dirk? I agree we already have a lot of options, taking up a

[Patches] Planner minimum gas switch duration

2015-06-19 Thread Rick Walsh
logic isn't affected by these patches, but I'll keep trying to tackle that and this will help sort out what to do with gas changes. Cheers, Rick From 962d81b98eb16fd8738d19cb00c9056c4c8f1404 Mon Sep 17 00:00:00 2001 From: Rick Walsh rickmwa...@gmail.com Date: Fri, 19 Jun 2015 20:25:03 +1000 Subject

Re: [Patch] Fix planner notes gas change output logic

2015-06-19 Thread Rick Walsh
Thanks Robert, On 19 June 2015 at 18:12, Robert Helling hell...@atdotde.de wrote: Thanks a lot for this. Too bad I currently have virtually no time to look at this in any detail and due to a family wedding this weekend possibly not before Monday. No worries. I have things to do over the

Provide planner option to switch gas only when a stop is required

2015-06-22 Thread Rick Walsh
the gas switch has until the next stop has on the calculated profile. It doesn't make much difference. From 08e86c47a5cb42be59ae5b1a36103af9ae183e44 Mon Sep 17 00:00:00 2001 From: Rick Walsh rickmwa...@gmail.com Date: Mon, 22 Jun 2015 22:43:20 +1000 Subject: [PATCH] Implement planner option

Re: BT support, brief tests

2015-06-26 Thread Rick Walsh
Hi Claudiu, I have a Shearwater Petrel and am looking forward to being able to test your work at some stage. I can download dives fine on Linux and Windows but find needing sudo to set up the connection annoying. On 27 Jun 2015 7:04 am, Claudiu Olteanu olteanu.vasilica.clau...@gmail.com wrote:

Re: [PATCH] Planner - change timestep to 2 seconds

2015-06-20 Thread Rick Walsh
On 21 Jun 2015 11:19 am, Dirk Hohndel d...@hohndel.org wrote: On Sat, Jun 20, 2015 at 11:17:28AM +1000, Rick Walsh wrote: Change the timestep used to calculate tissue pressures and ascents from 3 seconds to 2 seconds. But whats wrong with using 3 seconds? Deco stops are at 3 m (10

Dive Planner

2015-06-15 Thread Rick Walsh
I am testing the planner on the latest git (v4.4.2-740-gb144518a85f1). The profile appears to be calculated correctly, but the table output is giving a misleading gas switching depth when the 'display transitions in deco' option is not selected. Using EAN80, the switch should be at the 9 m stop,

Re: [Patch] Fix planner notes gas change output logic

2015-06-17 Thread Rick Walsh
Robert, On 18 June 2015 at 06:53, Robert C. Helling hell...@atdotde.de wrote: Hi everybody, let me first say this: This code is quite convoluted and has some history over which I tried several times to get it right. Too bad, I failed with it so far. Since yesterday, I have already spent

Re: [Patch] Fix planner notes gas change output logic

2015-06-18 Thread Rick Walsh
Thanks for the feedback, On 18 June 2015 at 16:16, Robert C. Helling rob...@euve10195.vserver.de wrote: Hi, Am 18.06.2015 um 02:09 schrieb Rick Walsh rickmwa...@gmail.com: However, I think a more intuitive output would be: depth dur. runtime gas 20m 1min 1min air 20m 5min 5min 20m

[Patch] Re-fix silly typo (was Current git no compilee)

2015-06-17 Thread Rick Walsh
pushed The fix wasn't quite a fix. This should be it. Rick From 063adc20ef9197db9e952f4681f2fbbdb95ed4e2 Mon Sep 17 00:00:00 2001 From: Rick Walsh rickmwa...@gmail.com Date: Wed, 17 Jun 2015 18:11:32 +1000 Subject: [PATCH] Re-fix silly typo The previous Fix silly typo patch didn't quite work

Re: [Patch] Fix planner notes gas change output logic

2015-06-17 Thread Rick Walsh
0f85b6ad75a50b58a6137733253988341eb5c412 Mon Sep 17 00:00:00 2001 From: Rick Walsh rickmwa...@gmail.com Date: Thu, 18 Jun 2015 00:57:31 +1000 Subject: [PATCH 2/2] Improve planner notes gas change logic This patch improves the logic to choose when to print gas changes in planner notes table. Signed-off

[Patch] Show duration before runtime on planner notes table

2015-06-16 Thread Rick Walsh
on the Shearwater Petrel - How I have been taught to write out my dive plan in my wetnotes R From d929b61a0b14db26de6e34140c28bd2a5ccdecc4 Mon Sep 17 00:00:00 2001 From: Rick Walsh rickmwa...@gmail.com Date: Tue, 16 Jun 2015 21:15:46 +1000 Subject: [PATCH 3/3] Show duration before runtime on planner

Re: [QtBluetooth] Help for testing HW_OSTC3 and SHEARWATER families

2015-06-30 Thread Rick Walsh
Claudiu, On 1 July 2015 at 08:55, Claudiu Olteanu olteanu.vasilica.clau...@gmail.com wrote: I attached a patch which should resolve the issues regarding the connection. Thank, I'll try it out this evening. I know that this is not the ideal solution but I wanted to cover all cases.

Re: [QtBluetooth] Help for testing HW_OSTC3 and SHEARWATER families

2015-07-01 Thread Rick Walsh
Claidiu, On 1 Jul 2015 8:55 am, Claudiu Olteanu olteanu.vasilica.clau...@gmail.com wrote: I attached a patch which should resolve the issues regarding the connection. I know that this is not the ideal solution but I wanted to cover all cases. First I try to make a connection using the UUID

Re: [PULL REQUEST] VPM-B Attempt 2.

2015-07-04 Thread Rick Walsh
Walsh rickmwa...@gmail.com Date: Sat, 4 Jul 2015 16:34:22 +1000 Subject: [PATCH 13/14] Use same VPM configuration parameters as Fortran example Adopt the same critical radii and gas volume parameters as Eric Baker's original VPM Fortran code. Signed-off-by: Rick Walsh rickmwa...@gmail.com

Re: [QtBluetooth] Help for testing HW_OSTC3 and SHEARWATER families

2015-06-29 Thread Rick Walsh
Claudiu, I've tested your patches, and your work looks great! Tested on Fedora 22, using a Shearwater Petrel 2 and onboard Bluetooth. On 29 June 2015 at 08:33, Claudiu Olteanu olteanu.vasilica.clau...@gmail.com wrote: I didn't know that. Thanks for the heads up! In the beginning try to see

Re: [QtBluetooth] Help for testing HW_OSTC3 and SHEARWATER families

2015-06-28 Thread Rick Walsh
Hi Claudiu, On 29 Jun 2015 7:50 am, Claudiu Olteanu olteanu.vasilica.clau...@gmail.com wrote: Hello, I need some help to test if the native serial implementation works after the changes I did on the libdivecomputer project. If you have a device from HW_OSTC3 or SHEARWATER families please

Re: dive plans for testing

2015-07-04 Thread Rick Walsh
On 5 July 2015 at 00:30, Dirk Hohndel d...@hohndel.org wrote: Could someone with access to different dive planning software please run a few test plans for me? Let's do the profile that Rick quoted from the VPM documentation: three gases: 15/45, 36%, 100% descent rate to bottom of 75ft/min

Re: [Patches] Planner preferences and deco stops at 10ft increments

2015-07-04 Thread Rick Walsh
d02ef9c2137f6120fd79c0fd8469be845c1b34a8 Mon Sep 17 00:00:00 2001 From: Rick Walsh rickmwa...@gmail.com Date: Sat, 4 Jul 2015 22:14:10 +1000 Subject: [PATCH 14/15] Read planner preferences when we use them Read and use the last_stop preference in the plan function. Read the plan notes preferences and set variables

Re: [PATCH] MOD of oxygen at pO2 of 1.6 is 20ft

2015-07-05 Thread Rick Walsh
Hi Robert, On 5 July 2015 at 16:18, Robert C. Helling hell...@atdotde.de wrote: Hi Rick, On 05 Jul 2015, at 01:41, Rick Walsh rickmwa...@gmail.com wrote: 0016-MOD-of-oxygen-at-pO2-of-1.6-is-20ft.patch I am not really familiar with diving in imperial system but this patch seems quite

Re: [PATCH] MOD of oxygen at pO2 of 1.6 is 20ft

2015-07-05 Thread Rick Walsh
Hi, On 6 Jul 2015 7:42 am, Dirk Hohndel d...@hohndel.org wrote: On Mon, Jul 06, 2015 at 07:03:09AM +1000, Rick Walsh wrote: Hi, On 6 Jul 2015 4:26 am, Robert C. Helling hell...@atdotde.de wrote: Hi, On 05 Jul 2015, at 15:09, Dirk Hohndel d...@hohndel.org wrote: But what

Re: Week 6 GSoC Progress Update (Android Port)

2015-07-06 Thread Rick Walsh
On 7 Jul 2015 1:55 am, Dirk Hohndel d...@hohndel.org wrote: On Mon, Jul 06, 2015 at 05:27:45PM +0200, Anton Lundin wrote: Also a simple ui for the planner would be on my wishlist =) Not so sure about this one. There are so many options plus the smaller screen size. And you can't

Re: [QtBluetooth] Help for testing HW_OSTC3 and SHEARWATER families

2015-06-30 Thread Rick Walsh
Hi Claudiu, On 30 June 2015 at 17:23, Claudiu Olteanu olteanu.vasilica.clau...@gmail.com wrote: Hi, The thing is that when I try to connect to a device I use the UUID of the serial port profile. It shouldn't matter if the service is listening on a different channel because in backgorund it

Re: [QtBluetooth] Help for testing HW_OSTC3 and SHEARWATER families

2015-06-28 Thread Rick Walsh
Thanks Claudiu, On 29 Jun 2015 8:08 am, Claudiu Olteanu olteanu.vasilica.clau...@gmail.com wrote: I'll try tonight (Australian time) on Fedora 22. What should the device show up as in the download dialogue? Thanks! I added a checkbox in the download dialogue which can be used to enable

Re: [QtBluetooth] Help for testing HW_OSTC3 and SHEARWATER families

2015-07-02 Thread Rick Walsh
Hi Dirk, On 3 Jul 2015 7:17 am, Dirk Hohndel d...@hohndel.org wrote: So it seems that all Petrel 2 use channel 5. At which stage do we need to know the correct channel? Do we have the name of the device at that stage already? Unfortunately not, my Petrel 2 identifies itself as just a

Re: [PATCH] MOD of oxygen at pO2 of 1.6 is 20ft

2015-07-05 Thread Rick Walsh
On 6 Jul 2015 7:55 am, Pedro Neves nevesdi...@gmail.com wrote: On 05-07-2015 22:48, Linus Torvalds wrote: Are they, though? At shallow depths, sure. But do metric divers really prefer 21m/24m to 20m/25m? That sounds odd. I sure do... .. but maybe that's just me... We do in Australia

[Patches] Planner preferences and deco stops at 10ft increments

2015-07-04 Thread Rick Walsh
plans look messy, the old behaviour makes it harder to benchmark the planner against published profiles in imperial units. From d02ef9c2137f6120fd79c0fd8469be845c1b34a8 Mon Sep 17 00:00:00 2001 From: Rick Walsh rickmwa...@gmail.com Date: Sat, 4 Jul 2015 22:14:10 +1000 Subject: [PATCH 14/15] Read

Re: [PATCH] Add Bluetooth download to FAQ

2015-05-25 Thread Rick Walsh
I had incorrectly assumed the default RFCOMM channel was 0. It's 1 as pointed out by Anton. This patch corrects it in the FAQ and user manual. Regards, Rick From 06857f4fc768b7f912c8d364c0b66a6fb98c6f33 Mon Sep 17 00:00:00 2001 From: Rick Walsh rickmwa...@gmail.com Date: Mon, 25 May 2015 21:26

Re: [PULL REQUEST] VPM-B

2015-08-17 Thread Rick Walsh
On 17 August 2015 at 19:46, Jan Darowski jan.darow...@gmail.com wrote: I think that currently first_stop is being calculated for each stop (so isn't actually first_stop) rather than just the first. That's what it looked like from my limited running under gdb with a break every time

Re: [PULL REQUEST] VPM-B

2015-08-17 Thread Rick Walsh
On 18 Aug 2015 12:13 am, Jan Darowski jan.darow...@gmail.com wrote: I think I've worked out at least one difference in the programs' algorithms, and sorry I doubt you'll like it. Subsurface calculates required stops considering the ascent rate and the time to reach the stop. The Fortran

Re: [PULL REQUEST] VPM-B

2015-08-17 Thread Rick Walsh
Hi Jan, On 17 August 2015 at 20:59, Rick Walsh rickmwa...@gmail.com wrote: On 17 August 2015 at 19:46, Jan Darowski jan.darow...@gmail.com wrote: I think that currently first_stop is being calculated for each stop (so isn't actually first_stop) rather than just the first. That's what

Re: [PULL REQUEST] VPM-B

2015-08-15 Thread Rick Walsh
Mon Sep 17 00:00:00 2001 From: Rick Walsh rickmwa...@gmail.com Date: Sun, 16 Aug 2015 13:16:45 +1000 Subject: [PATCH] VPM-B: Don't reset first_stop_pressure repeatedly The Boyle's law compensation adjusts the gradient according to the ambient pressure at the first stop. By resetting

Re: planner / VPM-B patches

2015-08-17 Thread Rick Walsh
On 18 August 2015 at 15:23, Dirk Hohndel d...@hohndel.org wrote: I think I have most of this applied and pushed now - but I'm not sure. There were some patches from Rick and some other strays here and there that I wasn't quite sure what to do with. Those patches of mine are obsolete and can

Re: planner / VPM-B patches

2015-08-18 Thread Rick Walsh
On 18 August 2015 at 17:58, Davide DB dbdav...@gmail.com wrote: On Tue, Aug 18, 2015 at 9:46 AM, Rick Walsh rickmwa...@gmail.com wrote: Thanks for those profiles. I'll generate profiles for the same dives in the original VPM-B Fortran program as a comparison. Do you know if GUE

Re: planner / VPM-B patches

2015-08-18 Thread Rick Walsh
Hi Davide, On 18 August 2015 at 16:56, Davide DB dbdav...@gmail.com wrote: I'm in a rush so this is what i was able to generate with my copy of GUE Deco Planner 3.14. This sw is getting really outdated now and it can only export profiles printing them. first of all I have a screenshot of

Re: planner / VPM-B patches

2015-08-18 Thread Rick Walsh
On 18 August 2015 at 15:23, Dirk Hohndel d...@hohndel.org wrote: I think I have most of this applied and pushed now - but I'm not sure. There were some patches from Rick and some other strays here and there that I wasn't quite sure what to do with. Also, there were several conflicts when

[PATCH] VPM-B: Calculate first_stop_pressure before starting ascent

2015-08-21 Thread Rick Walsh
ascent. Signed-off-by: Rick Walsh rickmwa...@gmail.com --- planner.c | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/planner.c b/planner.c index aca5a05..9114f32 100644 --- a/planner.c +++ b/planner.c @@ -939,6 +939,7 @@ bool plan(struct diveplan *diveplan

Re: [PATCH] VPM-B: Calculate first_stop_pressure before starting ascent

2015-08-21 Thread Rick Walsh
On 22 August 2015 at 14:41, Rick Walsh rickmwa...@gmail.com wrote: The Boyle's law compensation depends on first_stop_pressure. To produce profiles similar to other VPM-B implementations, we should calculate it as the ceiling before starting the ascent. Commit

Re: [PATCHES] Re: Problem with VPM-B in master

2015-08-22 Thread Rick Walsh
Robert, On 22 August 2015 at 01:32, Robert C. Helling hell...@atdotde.de wrote: Rick, On 21 Aug 2015, at 10:48, Rick Walsh rickmwa...@gmail.com wrote: It appears that the error didn't occur with the 100 m profile, but with shallow profiles that were calculated after entering gasses

Re: [PATCHES] Re: Problem with VPM-B in master

2015-08-22 Thread Rick Walsh
On 23 Aug 2015 8:02 am, Robert Helling hell...@atdotde.de wrote: On 22 Aug 2015, at 09:13, Rick Walsh rickmwa...@gmail.com wrote: Rick, Thanks for looking into this, but unfortunately, the fix hasn't fixed it (using the latest master, which includes your fixes). The second patch makes

Re: [PATCH] VPM-B: Calculate first_stop_pressure before starting ascent

2015-08-23 Thread Rick Walsh
Robert, On 24 August 2015 at 01:25, Robert C. Helling hell...@atdotde.de wrote: Rick, On 22 Aug 2015, at 07:15, Rick Walsh rickmwa...@gmail.com wrote: To show what this actually does to the calculated profiles, I have made a new column on the Google docs spreadsheet Robert set up

Problem with VPM-B in master

2015-08-20 Thread Rick Walsh
Hi, VPM-B is producing different plans in the latest master. I have tracked it down to commit 72806e42bc23ab7c7f2a639a1efee017388b53bc Replace global in_planner variable by helper function. I don't believe this commit was supposed to change the resulting plans. Also, the commit broke VPM-B

Re: Problem with VPM-B in master

2015-08-20 Thread Rick Walsh
On 21 August 2015 at 00:30, Dirk Hohndel d...@hohndel.org wrote: On Thu, Aug 20, 2015 at 09:31:30PM +1000, Rick Walsh wrote: Hi, VPM-B is producing different plans in the latest master. I have tracked it down to commit 72806e42bc23ab7c7f2a639a1efee017388b53bc Replace global

[PATCH] VPM-B: Update critical_volume_lambda

2015-08-18 Thread Rick Walsh
The default value for critical_volume_lambda is 6500 fsw.min (= 199.58 bar.min) for VPM-B, rather than 7500 fsw.min (= 230.284 bar.min) for VPM. This is consistent with V-Planner, MultiDeco, GUE DecoPlanner, HLPlanner and the comments in the Fortran code explanation. Signed-off-by: Rick Walsh

Re: [PULL REQUEST] VPM-B

2015-08-16 Thread Rick Walsh
Hi Jan, On 17 Aug 2015 12:32 am, Jan Darowski jan.darow...@gmail.com wrote: Hi, I've looked at and tested your latest series of VPM-B commits. From what I can see, it looks like it's doing the correct thing, except that first_stop_pressure is reset to zero every iteration, so it then

Re: [QtBluetooth] Help for testing HW_OSTC3 and SHEARWATER families

2015-06-29 Thread Rick Walsh
Hi Claudiu, On 30 June 2015 at 04:37, Claudiu Olteanu olteanu.vasilica.clau...@gmail.com wrote: I've tested your patches, and your work looks great! Hi Rick, First of all, thanks a lot for your help! It helps me a lot to know that it worked for a device that I didn't have the chance to

Re: [GSoC] Week 9 - Native Bluetooth support

2015-07-28 Thread Rick Walsh
Hi Claudiu, On 28 Jul 2015 9:59 am, Claudiu Olteanu olteanu.vasilica.clau...@gmail.com wrote: Hi there, This week I managed to implement a sample which connects to remote a Bluetooth device and exchanges some bits using the Windows API. For the beginning I wanted to see if I can make my HW

Re: Documentation improvement - Building from source using fedora

2015-08-04 Thread Rick Walsh
Hi Gilbert, On 4 August 2015 at 21:28, Gilbert Forkel gilb...@erlangen.ccc.de wrote: Hi, in http://subsurface-divelog.org/documentation/building/ the build requirements for Fedora are missing the package qt5-qtconnectivity-devel. Similar may apply to other distributions as well. The latest

Re: Testing Native Bluetooth support on Windows platforms

2015-08-11 Thread Rick Walsh
Hi Claudiu, I have tested the native Bluetooth support on Windows on two laptops: 1) Windows 8.1 on an HP laptop with onboard Broadcom 43142 Bluetooth adapter - an awful combined Bluetooth/Wifi device that does not like Linux (buggy for Wifi, even with the proprietary kernel module, and very very

Re: Petrel 2 bluetooth link

2015-08-06 Thread Rick Walsh
On 7 August 2015 at 06:44, Rick Walsh rickmwa...@gmail.com wrote: Hi Andrej, On 7 Aug 2015 6:06 am, Andrej Prsa aprs...@gmail.com wrote: Hi guys, This has been discussed before and it seems that some people managed to get it to work, but there seems to be no definitive way to get

Re: Petrel 2 bluetooth link

2015-08-06 Thread Rick Walsh
On 7 August 2015 at 08:52, Andrej Prsa aprs...@gmail.com wrote: Hi Claudiu, andrej@antares:~$ subsurface Map theme file does not exist: Ignoring to load the following file since it doesn't look like a valid Marble plugin: /boot/initrd.img-3.19.0-25-generic Reason:

[PATCH] Planner: Add comments to document the code

2015-07-27 Thread Rick Walsh
The purpose of parts of the planner code is not not always obvious. This is especially true of the conditional statements in the add_plan_to_notes function. Annotate the code with comments to explain the logic. Signed-off-by: Rick Walsh rickmwa...@gmail.com --- planner.c | 46

Re: [PATCH] Planner: correct output of planner mode

2015-07-23 Thread Rick Walsh
On 24 July 2015 at 01:37, Joakim Bygdell j.bygd...@gmail.com wrote: On 23 Jul 2015, at 16:07, Rick Walsh rickmwa...@gmail.com wrote: Once we have a complete implementation of VPM-B recmode should go back to being a checkbox that sets the proper restrictions, no gas switch, no deco

[PATCH] Planner: Count the minimum stop time towards o2time

2015-07-26 Thread Rick Walsh
oxygen 6m 6min69min air 6m 2min71min oxygen 0m 1min72min   Signed-off-by: Rick Walsh rickmwa...@gmail.com --- planner.c | 4 1 file changed, 4 insertions(+) diff --git a/planner.c b/planner.c index f94676f..b6ffa57 100644 --- a/planner.c +++ b/planner.c

[PATCH 3/3] Planner: Hide unwanted transition between deco stops

2015-07-26 Thread Rick Walsh
73min   Signed-off-by: Rick Walsh rickmwa...@gmail.com --- planner.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/planner.c b/planner.c index bff329b..f94676f 100644 --- a/planner.c +++ b/planner.c @@ -505,6 +505,7 @@ static void add_plan_to_notes(struct diveplan

RE: [PATCH] start making the android app more mobile friendly.

2015-07-26 Thread Rick Walsh
Hi Steve, On 27 Jul 2015 2:56 pm, Steve stevewilli...@internode.on.net wrote: Dirk Hohndel dirk at hohndel.org Sun Jul 26 07:14:19 PDT 2015 -Original Message- On Sun, Jul 26, 2015 at 04:57:34PM +0300, Grace Karanja wrote: On Sun, Jul 26, 2015 at 3:13 PM, Joakim Bygdell j.bygdell

Re: [PATCH 2/2] Planner: use pointer to deco stop level array instead of memcpy

2015-07-25 Thread Rick Walsh
Sorry, I left out the commit message. Patch attached. On 26 July 2015 at 13:34, Rick Walsh rickmwa...@gmail.com wrote: Signed-off-by: Rick Walsh rickmwa...@gmail.com --- planner.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/planner.c b/planner.c

[PATCH] Planner: correct output of planner mode

2015-07-23 Thread Rick Walsh
From 91d1c00342272119b131644c787c0554f94d861b Mon Sep 17 00:00:00 2001 From: Rick Walsh rickmwa...@gmail.com Date: Thu, 23 Jul 2015 23:36:11 +1000 Subject: [PATCH] Planner: correct output of planner mode Previously we used strncat to output VPM mode without correctly defining the length

[PATCH] Spell rebreather with an h

2015-07-24 Thread Rick Walsh
From 8a58d276adeed617a618d80707311c760ed5c08a Mon Sep 17 00:00:00 2001 From: Rick Walsh rickmwa...@gmail.com Date: Fri, 24 Jul 2015 21:42:12 +1000 Subject: [PATCH] Spell rebreather with an h Signed-off-by: Rick Walsh rickmwa...@gmail.com --- qt-ui/diveplanner.cpp | 6 +++--- 1 file changed, 3

[PATCH] Only free memory for three levels of taxonomy

2015-07-13 Thread Rick Walsh
Sep 17 00:00:00 2001 From: Rick Walsh rickmwa...@gmail.com Date: Mon, 13 Jul 2015 22:34:10 +1000 Subject: [PATCH] Only free memory for three levels of taxonomy We only use three levels of taxonomy, but we were attempting to free memory for seven. This led to some fun invalid point crashes. Signed

Re: GSoC Status - Week 7 (VPM-B)

2015-07-13 Thread Rick Walsh
Hi Jan, On 14 Jul 2015 6:53 am, Jan Darowski jan.darow...@gmail.com wrote: Hi! This week I wrote a Boyles law compensation and checked all the calculations to find the root of the differences of results against the original implementation. I found that there is a difference between the

Re: More Location Fixes.

2015-07-14 Thread Rick Walsh
Happy Bastille day all, On 14 Jul 2015 11:10 pm, Davide DB dbdav...@gmail.com wrote: On Tue, Jul 14, 2015 at 1:42 AM, Dirk Hohndel d...@hohndel.org wrote: So that's 16 scenarios so far... who can think of more? Hi Dirk, Examples by Linus caught me off guard. At this point I really do

Re: More Location Fixes.

2015-07-14 Thread Rick Walsh
Good morning, On 15 Jul 2015 7:11 am, Linus Torvalds torva...@linux-foundation.org wrote: On Tue, Jul 14, 2015 at 1:19 PM, Tomaz Canabrava tcanabr...@kde.org wrote: If I start writing Blu and it auto-completes to Blue Corner, then an interface that says but you mustn't choose that name,

Re: [PATCH] Bluetooth support for Android

2015-07-16 Thread Rick Walsh
Hi Claudiu, On 16 July 2015 at 08:32, Claudiu Olteanu olteanu.vasilica.clau...@gmail.com wrote: I can test on my Galaxy s6, which apparently run on Android 5.02. Well I could test it if I knew how. It will be a great help. First you should pair the devices manually. I downloaded the

Re: [PATCH] Bluetooth support for Android

2015-07-16 Thread Rick Walsh
On 16 July 2015 at 20:42, Claudiu Olteanu olteanu.vasilica.clau...@gmail.com wrote: That's brilliant. It works! Screenshot attached. Well nearly. The ok button is off the screen so I can't save them. Great :-). It works when you wait for the scanning process to end or it doesn't matter?

Re: Location, location, location

2015-07-16 Thread Rick Walsh
Hi, On 16 July 2015 at 16:27, Salvador Cuñat salvador.cu...@gmail.com wrote: Hi guys. I've to say that I use locations/companion GPS fixes in the same way Linus does. Whenever I get a fix, even for a point doved dozens of times, I like to have it paired with its dive. So Linus is not the

Re: [PATCH] Bluetooth support for Android

2015-07-16 Thread Rick Walsh
On 16 July 2015 at 17:06, Claudiu Olteanu olteanu.vasilica.clau...@gmail.com wrote: And that's where it went wrong. They wouldn't pair. The Petrel says bt init fail. I'm off to work now. Might get a chance this evening to work out pairing. This is strange. Do you have other smart device

Re: GSoC Status - Week 7 (VPM-B)

2015-07-16 Thread Rick Walsh
Hi Jan, On 15 July 2015 at 23:59, Rick Walsh rickmwa...@gmail.com wrote: On 15 Jul 2015 11:38 pm, Jan Darowski jan.darow...@gmail.com wrote: I was checking against C implementation from github (which is the easiest for quick modifications and additional data extraction and also

Re: [PATCH] Bluetooth support for Android

2015-07-15 Thread Rick Walsh
On 16 Jul 2015 8:32 am, Claudiu Olteanu olteanu.vasilica.clau...@gmail.com wrote: I can test on my Galaxy s6, which apparently run on Android 5.02. Well I could test it if I knew how. It will be a great help. First you should pair the devices manually. And that's where it went wrong. They

Re: [PATCH] Bluetooth support for Android

2015-07-15 Thread Rick Walsh
Hi Claudiu, On 16 Jul 2015 5:09 am, Claudiu Olteanu olteanu.vasilica.clau...@gmail.com wrote: Hi Thiago, Is this method supposed to work elsewhere too? Is there a reason not to use it everywhere? This method should work on every supported platforms but I cannot obtain the correct

Re: world peace and the perfect location editing widget

2015-07-17 Thread Rick Walsh
Hi, On 18 July 2015 at 06:47, Salvador Cuñat salvador.cu...@gmail.com wrote: Good night. 2015-07-17 19:38 GMT+02:00, Dirk Hohndel d...@hohndel.org: On Fri, Jul 17, 2015 at 10:27:19AM -0700, Dirk Hohndel wrote: Having said all this, yes, the patch fixes the bug. So to those of you

Re: world peace and the perfect location editing widget

2015-07-18 Thread Rick Walsh
On 19 Jul 2015 12:33 am, Dirk Hohndel d...@hohndel.org wrote: On Sat, Jul 18, 2015 at 10:45:10AM +1000, Rick Walsh wrote: As all my dives already have locations, I tested by copying my file, deleting my 15 most recent dives, then re-downloading them from my dive A couple of suggestions

Re: [PATCH] Bluetooth improvements

2015-07-19 Thread Rick Walsh
Hi Claudiu, I tested your patches, but haven't looked at the code or commits. On 19 July 2015 at 06:55, Claudiu Olteanu olteanu.vasilica.clau...@gmail.com wrote: Hi there, I attached some patches which should improve the user experience when the Bluetooth download mode is enabled. The

Re: [PATCH] Bluetooth improvements

2015-07-19 Thread Rick Walsh
Hi Claudiu, On 19 July 2015 at 20:50, Claudiu Olteanu olteanu.vasilica.clau...@gmail.com wrote: Hi Rick, I can select my usb bluetooth dongle (using the one that came with my petrel), and power it up or down, but I was not able to pair or unpair (when previously paired using the onboard

Re: [PATCH] Bluetooth improvements

2015-07-19 Thread Rick Walsh
On 19 July 2015 at 22:06, Claudiu Olteanu olteanu.vasilica.clau...@gmail.com wrote: Thanks for the info, Rick! Did you tried to download the dives after you paired the devices manually (using bluetoothctl)? I didn't think to try that before. But I just tried and it worked. Currently

Re: [PATCH] Only free memory for three levels of taxonomy

2015-07-13 Thread Rick Walsh
On 13 July 2015 at 22:49, Dirk Hohndel d...@hohndel.org wrote: On Mon, Jul 13, 2015 at 10:40:53PM +1000, Rick Walsh wrote: We only use three levels of taxonomy, but we were attempting to free memory for seven. This led to some fun invalid point crashes. Please check I'm not way off

Re: GSoC Status - Week 7 (VPM-B)

2015-07-15 Thread Rick Walsh
On 15 Jul 2015 11:38 pm, Jan Darowski jan.darow...@gmail.com wrote: Hi, thanks for verification. 2015-07-15 14:49 GMT+02:00 Rick Walsh rickmwa...@gmail.com: Jan, I was curious and had a peek at your github. I hope you don't mind. Robert's feedback is what you should be most interested

Re: Location, location, location

2015-07-15 Thread Rick Walsh
On 15 Jul 2015 11:27 pm, Rodrigo Severo rodr...@fabricadeideias.com wrote: On Wed, Jul 15, 2015 at 10:15 AM, Henrik Brautaset Aronsen subsurf...@henrik.synth.no wrote: The autocompleted Blue Corner - Create dive site with this name is not useful IMHO. How often would you create a new

  1   2   3   4   5   6   >