15351Re: [tracker2] How can I test the current speed in a script?
- Mar 14, 2013Speed isn't presently one of the things you can check from a script. I
can add that to my to-do list for the next release.
On 3/14/2013 10:52 AM, francois.rogez wrote:
> I am looking for advice/examples on detecting condition based on a speed
> threshold in a script.
> My current setup uses a speed threshold to transition between the 2
> profiles, but I would like this transition to only happen if the speed
> is below the threshold for a given number of minutes. I think a script
> is needed.
> The wiki has some script examples, and the "Comparing Analog Readings"
> is close to what is needed; I just need to replace the 'Exec "analog 1
> in"' statement with something that will return the current speed.
> Any ideas?
- << Previous post in topic Next post in topic >>