[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Paparazzi-devel] Real-time Plotter via Bash Script
From: |
Chris Wozny |
Subject: |
Re: [Paparazzi-devel] Real-time Plotter via Bash Script |
Date: |
Wed, 15 Feb 2012 18:57:46 -0700 |
Beautiful,
Thank you Chris! Does anybody know of command-line flags for setting
the min/max values of the vertical axis instead of having it
autoscale?
- Chris
On Wed, Feb 15, 2012 at 5:58 PM, Chris Gough
<address@hidden> wrote:
> Hi Chris
>
> Paparazzi Center runs commands in an environment with PAPARAZZI_HOME
> and PAPARAZZI_SRC variables set. Are you setting those in your
> script's shell environment?
>
> Chris Gough
>
> On Thu, Feb 16, 2012 at 11:23 AM, Chris Wozny <address@hidden> wrote:
>> Hi all,
>>
>> I'm utilizing the real-time plotter to make sure the aircraft is
>> tracking the commanded input properly and wanted to set it up to plot
>> via a bash script. The following command works properly when I place
>> it into Paparazzi Center and have it execute the command:
>>
>> ~/paparazzi/sw/logalizer/plotter -m 1000 -u 0.25 -c
>> 1:telemetry:ATTITUDE:theta:57.3 -c 1:telemetry:DESIRED:pitch:57.3 -t
>> PITCH -g 1280x235+0+266 -n -c *:telemetry:ATTITUDE:phi:57.3 -c
>> *:telemetry:DESIRED:roll:57.3 -t ROLL -g 1280x235+0+533 -n -c
>> *:telemetry:GPS:alt:0.001 -c *:telemetry:DESIRED:altitude -t ALTITUDE
>> -g 1280x235+0+0
>>
>> However, when I try and put this into a bash script to run it with the
>> appropriate chmod settings (755) I get what seems to be an error from
>> the plotter:
>>
>> address@hidden:~/Desktop$ ./plot_attitude
>> Broadcasting on network 127.255.255.255, port 2010
>> Unit conversion error: Parse error of conf/units.xml
>>
>> Has anyone run into this with the plotter? I'd love to be able to just
>> fire it up from command-line instead of having to copy and paste
>> commands into Paparazzi Center every time I start it up.
>>
>> Also, is there a command line option for the plotter to set the scale
>> instead of having it autoscale?
>>
>> Cheers,
>> Chris