strange problem when running the GCS programs

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

strange problem when running the GCS programs

Chris
Hi.
I get a strange error (the one you see later) which affects the
telemetry among other things but only the first time i run the GCS
programs, if i stop/remove all running processes then the next time
everything runs fine.
I am running Ubuntu 12.04 LTS and the very latest master although i have
been seeing this error
regularly for the whole past month

Here is the control_panel.xml part

    <program name="GCS_C177" command="sw/ground_segment/cockpit/gcs
-speech -layout CEF/C177_layout.xml -mplayer 'tv:// -tv
driver=v4l2:width=640:height=480:norm=PAL:input=1:device=/dev/video0'">
       <arg flag="-b" variable="ivy_bus"/>
     </program>

    <session name="C177 cam joystick @115200">
       <program name="Joystick">
          <arg flag="CEF/Saitek_Aviator_camera.xml"/>
          <arg flag="-ac" constant="@AIRCRAFT"/>
       </program>
       <program name="Data Link">
          <arg flag="-d" constant="/dev/ttyUSB0"/>
          <arg flag ="-transport" constant="pprz"/>
          <arg flag="-s" constant="115200"/>
       </program>
       <program name="Server"/>
       <program name="GCS_C177"/>
    </session>

Here is the output containing the error:

RUN '/home/hendrix/paparazzi/sw/ground_segment/joystick/input2ivy
CEF/Saitek_Aviator_camera.xml  -ac Cessna_177'
RUN '/home/hendrix/paparazzi/sw/ground_segment/tmtc/link  -d
/dev/ttyUSB0 -transport pprz -s 115200'
RUN '/home/hendrix/paparazzi/sw/ground_segment/tmtc/server '
RUN '/home/hendrix/paparazzi/sw/ground_segment/cockpit/gcs -speech
-layout CEF/C177_layout.xml -mplayer 'tv:// -tv
driver=v4l2:width=640:height=480:norm=PAL:input=1:device=/dev/video0' '
Fatal error: exception Not_found
Broadcasting on network 127.255.255.255, port 2010

The same happens to all my aircrafts where i just change the aircraft
name and probably the baud rate.
Chris



_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: strange problem when running the GCS programs

flixr
Administrator
Hi Chris,

can you start the programs separately to figure out from which one the exception is coming?

Cheers, Felix

On Tue, Jun 21, 2016 at 1:06 PM, Chris <[hidden email]> wrote:
Hi.
I get a strange error (the one you see later) which affects the telemetry among other things but only the first time i run the GCS programs, if i stop/remove all running processes then the next time everything runs fine.
I am running Ubuntu 12.04 LTS and the very latest master although i have been seeing this error
regularly for the whole past month

Here is the control_panel.xml part

   <program name="GCS_C177" command="sw/ground_segment/cockpit/gcs -speech -layout CEF/C177_layout.xml -mplayer 'tv:// -tv driver=v4l2:width=640:height=480:norm=PAL:input=1:device=/dev/video0'">
      <arg flag="-b" variable="ivy_bus"/>
    </program>

   <session name="C177 cam joystick @115200">
      <program name="Joystick">
         <arg flag="CEF/Saitek_Aviator_camera.xml"/>
         <arg flag="-ac" constant="@AIRCRAFT"/>
      </program>
      <program name="Data Link">
         <arg flag="-d" constant="/dev/ttyUSB0"/>
         <arg flag ="-transport" constant="pprz"/>
         <arg flag="-s" constant="115200"/>
      </program>
      <program name="Server"/>
      <program name="GCS_C177"/>
   </session>

Here is the output containing the error:

RUN '/home/hendrix/paparazzi/sw/ground_segment/joystick/input2ivy CEF/Saitek_Aviator_camera.xml  -ac Cessna_177'
RUN '/home/hendrix/paparazzi/sw/ground_segment/tmtc/link  -d /dev/ttyUSB0 -transport pprz -s 115200'
RUN '/home/hendrix/paparazzi/sw/ground_segment/tmtc/server '
RUN '/home/hendrix/paparazzi/sw/ground_segment/cockpit/gcs -speech -layout CEF/C177_layout.xml -mplayer 'tv:// -tv driver=v4l2:width=640:height=480:norm=PAL:input=1:device=/dev/video0' '
Fatal error: exception Not_found
Broadcasting on network 127.255.255.255, port 2010

The same happens to all my aircrafts where i just change the aircraft name and probably the baud rate.
Chris



_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: strange problem when running the GCS programs

Chris
I will do it tomorrow first thing and i will reply.
Chris


On Tue, Jun 21, 2016 at 4:50 PM, Felix Ruess <[hidden email]> wrote:
Hi Chris,

can you start the programs separately to figure out from which one the exception is coming?

Cheers, Felix

On Tue, Jun 21, 2016 at 1:06 PM, Chris <[hidden email]> wrote:
Hi.
I get a strange error (the one you see later) which affects the telemetry among other things but only the first time i run the GCS programs, if i stop/remove all running processes then the next time everything runs fine.
I am running Ubuntu 12.04 LTS and the very latest master although i have been seeing this error
regularly for the whole past month

Here is the control_panel.xml part

   <program name="GCS_C177" command="sw/ground_segment/cockpit/gcs -speech -layout CEF/C177_layout.xml -mplayer 'tv:// -tv driver=v4l2:width=640:height=480:norm=PAL:input=1:device=/dev/video0'">
      <arg flag="-b" variable="ivy_bus"/>
    </program>

   <session name="C177 cam joystick @115200">
      <program name="Joystick">
         <arg flag="CEF/Saitek_Aviator_camera.xml"/>
         <arg flag="-ac" constant="@AIRCRAFT"/>
      </program>
      <program name="Data Link">
         <arg flag="-d" constant="/dev/ttyUSB0"/>
         <arg flag ="-transport" constant="pprz"/>
         <arg flag="-s" constant="115200"/>
      </program>
      <program name="Server"/>
      <program name="GCS_C177"/>
   </session>

Here is the output containing the error:

RUN '/home/hendrix/paparazzi/sw/ground_segment/joystick/input2ivy CEF/Saitek_Aviator_camera.xml  -ac Cessna_177'
RUN '/home/hendrix/paparazzi/sw/ground_segment/tmtc/link  -d /dev/ttyUSB0 -transport pprz -s 115200'
RUN '/home/hendrix/paparazzi/sw/ground_segment/tmtc/server '
RUN '/home/hendrix/paparazzi/sw/ground_segment/cockpit/gcs -speech -layout CEF/C177_layout.xml -mplayer 'tv:// -tv driver=v4l2:width=640:height=480:norm=PAL:input=1:device=/dev/video0' '
Fatal error: exception Not_found
Broadcasting on network 127.255.255.255, port 2010

The same happens to all my aircrafts where i just change the aircraft name and probably the baud rate.
Chris



_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: strange problem when running the GCS programs

Chris
I couldn't replicate it using individual console commands but when i get this error i get no telemetry, the link is up but no data
are coming through.
I suspect that it has to do with an update to Ubuntu 12.04 LTS about a month ago.
Chris

On Tue, Jun 21, 2016 at 9:14 PM, hendrixgr . <[hidden email]> wrote:
I will do it tomorrow first thing and i will reply.
Chris


On Tue, Jun 21, 2016 at 4:50 PM, Felix Ruess <[hidden email]> wrote:
Hi Chris,

can you start the programs separately to figure out from which one the exception is coming?

Cheers, Felix

On Tue, Jun 21, 2016 at 1:06 PM, Chris <[hidden email]> wrote:
Hi.
I get a strange error (the one you see later) which affects the telemetry among other things but only the first time i run the GCS programs, if i stop/remove all running processes then the next time everything runs fine.
I am running Ubuntu 12.04 LTS and the very latest master although i have been seeing this error
regularly for the whole past month

Here is the control_panel.xml part

   <program name="GCS_C177" command="sw/ground_segment/cockpit/gcs -speech -layout CEF/C177_layout.xml -mplayer 'tv:// -tv driver=v4l2:width=640:height=480:norm=PAL:input=1:device=/dev/video0'">
      <arg flag="-b" variable="ivy_bus"/>
    </program>

   <session name="C177 cam joystick @115200">
      <program name="Joystick">
         <arg flag="CEF/Saitek_Aviator_camera.xml"/>
         <arg flag="-ac" constant="@AIRCRAFT"/>
      </program>
      <program name="Data Link">
         <arg flag="-d" constant="/dev/ttyUSB0"/>
         <arg flag ="-transport" constant="pprz"/>
         <arg flag="-s" constant="115200"/>
      </program>
      <program name="Server"/>
      <program name="GCS_C177"/>
   </session>

Here is the output containing the error:

RUN '/home/hendrix/paparazzi/sw/ground_segment/joystick/input2ivy CEF/Saitek_Aviator_camera.xml  -ac Cessna_177'
RUN '/home/hendrix/paparazzi/sw/ground_segment/tmtc/link  -d /dev/ttyUSB0 -transport pprz -s 115200'
RUN '/home/hendrix/paparazzi/sw/ground_segment/tmtc/server '
RUN '/home/hendrix/paparazzi/sw/ground_segment/cockpit/gcs -speech -layout CEF/C177_layout.xml -mplayer 'tv:// -tv driver=v4l2:width=640:height=480:norm=PAL:input=1:device=/dev/video0' '
Fatal error: exception Not_found
Broadcasting on network 127.255.255.255, port 2010

The same happens to all my aircrafts where i just change the aircraft name and probably the baud rate.
Chris



_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel




_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: strange problem when running the GCS programs

Chris
Found the cause of the error.
When i include the povhat in the joystick file i get the error, when i remove it it goes away.
Here is the joystick file

<joystick>
 <input>
  <axis index="0" name="aileron"    limit="1.00" exponent="0.6" trim="0" />   
  <axis index="1" name="elevator"    limit="1.00" exponent="0.6" trim="0" />
  <axis index="2" name="rudder"        limit="1.00" exponent="0.6" trim="0" />
  <axis index="3" name="throttle"    limit="1.00" exponent="0.0" trim="0" />

  <button index="0" name="lower_hut_left"/>
  <button index="1" name="lower_hut_down"/>
  <button index="2" name="lower_hut_right"/>
  <button index="3" name="lower_hut_up"/> 
  <button index="4" name="stick_right_button"/>
  <button index="5" name="stick_center_button"/>
  <button index="6" name="stick_left_button"/>
  <button index="7" name="stick_fire_button"/>
  <button index="8" name="select"/>
  <button index="9" name="start"/>
  <button index="10" name="L3"/> 
  <button index="11" name="R3"/>
  <button index="12" name="HOME"/>

  <hat index="0" name="POVhat"/>

</input>

<messages period="0.030">


  <message class="datalink" name="JOYSTICK_RAW" send_always="true" >
    <field name="roll" value="aileron"/>
    <field name="pitch" value="elevator"/>
    <field name="throttle" value="rudder"/> 
  </message>

  <message class="ground" name="DL_SETTING" on_event="HatUp(POVhat)">
   <field name="index" value="IndexOfSetting(cam_mode)"/>
   <field name="value" value="5"/>
  </message>

  <message class="ground" name="DL_SETTING" on_event="HatDown(POVhat)">
   <field name="index" value="IndexOfSetting(cam_mode)"/>
   <field name="value" value="6"/>
  </message>

  <message class="ground" name="DL_SETTING" on_event="stick_center_button">
   <field name="index" value="IndexOfSetting(cam_lock)"/>
   <field name="value" value="0"/>
  </message>
  <message class="ground" name="DL_SETTING" on_event="stick_right_button">
   <field name="index" value="IndexOfSetting(cam_lock)"/>
   <field name="value" value="1"/>
  </message>

  <message class="ground" name="JUMP_TO_BLOCK" on_event="stick_fire_button">
    <field name="block_id" value="IndexOfBlock('GO_TO_CAM')"/>
  </message>

  <message class="ground" name="JUMP_TO_BLOCK" on_event="select">
    <field name="block_id" value="IndexOfBlock('CIRCLE_HERE')"/>
  </message>

  <message class="ground" name="JUMP_TO_BLOCK" on_event="HOME">
    <field name="block_id" value="IndexOfBlock('RETURN_HOME')"/>
  </message>
<!--
  <message class="ground" name="DL_SETTING" on_event="stick_left_button">
   <field name="index" value="IndexOfSetting(deploy_parachute_var)"/>
   <field name="value" value="1"/>
  </message>
-->
</messages>

</joystick>

On 06/22/2016 03:59 PM, hendrixgr . wrote:
I couldn't replicate it using individual console commands but when i get this error i get no telemetry, the link is up but no data
are coming through.
I suspect that it has to do with an update to Ubuntu 12.04 LTS about a month ago.
Chris

On Tue, Jun 21, 2016 at 9:14 PM, hendrixgr . <[hidden email]> wrote:
I will do it tomorrow first thing and i will reply.
Chris


On Tue, Jun 21, 2016 at 4:50 PM, Felix Ruess <[hidden email]> wrote:
Hi Chris,

can you start the programs separately to figure out from which one the exception is coming?

Cheers, Felix

On Tue, Jun 21, 2016 at 1:06 PM, Chris <[hidden email]> wrote:
Hi.
I get a strange error (the one you see later) which affects the telemetry among other things but only the first time i run the GCS programs, if i stop/remove all running processes then the next time everything runs fine.
I am running Ubuntu 12.04 LTS and the very latest master although i have been seeing this error
regularly for the whole past month

Here is the control_panel.xml part

   <program name="GCS_C177" command="sw/ground_segment/cockpit/gcs -speech -layout CEF/C177_layout.xml -mplayer 'tv:// -tv driver=v4l2:width=640:height=480:norm=PAL:input=1:device=/dev/video0'">
      <arg flag="-b" variable="ivy_bus"/>
    </program>

   <session name="C177 cam joystick @115200">
      <program name="Joystick">
         <arg flag="CEF/Saitek_Aviator_camera.xml"/>
         <arg flag="-ac" constant="@AIRCRAFT"/>
      </program>
      <program name="Data Link">
         <arg flag="-d" constant="/dev/ttyUSB0"/>
         <arg flag ="-transport" constant="pprz"/>
         <arg flag="-s" constant="115200"/>
      </program>
      <program name="Server"/>
      <program name="GCS_C177"/>
   </session>

Here is the output containing the error:

RUN '/home/hendrix/paparazzi/sw/ground_segment/joystick/input2ivy CEF/Saitek_Aviator_camera.xml  -ac Cessna_177'
RUN '/home/hendrix/paparazzi/sw/ground_segment/tmtc/link  -d /dev/ttyUSB0 -transport pprz -s 115200'
RUN '/home/hendrix/paparazzi/sw/ground_segment/tmtc/server '
RUN '/home/hendrix/paparazzi/sw/ground_segment/cockpit/gcs -speech -layout CEF/C177_layout.xml -mplayer 'tv:// -tv driver=v4l2:width=640:height=480:norm=PAL:input=1:device=/dev/video0' '
Fatal error: exception Not_found
Broadcasting on network 127.255.255.255, port 2010

The same happens to all my aircrafts where i just change the aircraft name and probably the baud rate.
Chris



_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel





_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Loading...