Commit Graph

35 Commits

Author SHA1 Message Date
Felix Ruess 3e16db6ec1 [python] message: add missing fieldtypes property 2015-02-18 15:50:02 +01:00
Felix Ruess 240f5972d9 [python] messages: get field values directly by name
using __getattr__

closes #1114
2015-02-18 15:39:12 +01:00
Felix Ruess c24177f8ae [python] settings: get PAPARAZZI_SRC
still needs to be cleaned up and converted to proper modules..
2015-02-18 13:12:49 +01:00
Felix Ruess 6706fac752 [python] pprz_msg using properties 2015-02-18 12:54:26 +01:00
Felix Ruess a704d20ced [python] possibility to send pprz_msg via ivy 2015-02-18 11:57:13 +01:00
Felix Ruess 8c9579c5a7 [python] ivy_msg_interface returns only ac_id and msg 2015-02-02 16:36:06 +01:00
Felix Ruess bb98e8a9b8 [python] refactor messages 2015-02-02 16:36:05 +01:00
Felix Ruess 6605676f77 [python] messages: PPRZ_HOME 2015-02-02 15:17:29 +01:00
Felix Ruess 97df5d90fa [python] ivy_msg_interface: pass non-telemetry messages with ac_id 0 2015-01-28 17:34:48 +01:00
Felix Ruess 6f96e8a490 [python] IvyMessagesInterface passes msg_class to callback 2015-01-22 23:02:33 +01:00
Felix Ruess d4d43aca1c [python] remove messages_tool.py 2015-01-22 23:02:33 +01:00
Felix Ruess 6d9d299483 [python] ivy_msg_interface 2015-01-22 23:02:33 +01:00
Felix Ruess a2bb0e90c6 [python] cleanup a little 2015-01-22 23:02:32 +01:00
Felix Ruess 01f8065dd7 [python][math] some DoubleRMat additions 2015-01-13 16:33:36 +01:00
Felix Ruess 667397445c [python] conversion methods for geodetic float/double 2015-01-13 16:33:36 +01:00
Felix Ruess 056d102e55 [python] improve algebra int wrapper 2015-01-13 16:33:35 +01:00
Felix Ruess f044d7d1f0 [python] nicer wrappers for float and double algebra 2015-01-13 16:33:35 +01:00
Felix Ruess 0e529758c0 [python] rename math to pprz_math and add algebra module
to use it e.g. in ipython:
PYTHONPATH=$PPRZ_SRC/sw/lib/python iypthon
$ from pprz_math.geodetic import *
or
$ import pprz_math.algebra
2015-01-13 16:33:35 +01:00
Felix Ruess cebe398b56 [python][math] improve swig wrapping 2015-01-13 16:33:35 +01:00
Felix Ruess 3e6b116e3f [python] simplify pprz_geodetic swig wrapper 2015-01-08 19:08:15 +01:00
Felix Ruess d685c84c1f [python] wrap pprz_geodetic with swig 2015-01-07 22:10:46 +01:00
Felix Ruess 321c583c5d [python] fix settings path 2014-11-27 14:41:03 +01:00
Felix Ruess 88e133bc4c [python] update messages tool to deal with whitespaces in arrays 2014-11-12 16:32:06 +01:00
Felix Ruess 97ea2b7ed4 [messages] rename class to msg_class
makes it possible to use the python parser using xmlobject since class is a reserved word.
2014-08-27 14:40:21 +02:00
Felix Ruess 5aef6a7e5b [python] fix realtimeplotapp
realtimeplotapp calls Stop() on IvyMessagesInterface and expects it to only unbind.
Add an extra Shudown method for messagesapp that also stops Ivy.
2013-04-03 23:58:37 +02:00
Felix Ruess 1dbbf8f97f [python] cleanly shutdown messages_app 2013-04-03 22:01:12 +02:00
Felix Ruess 8e66efbe30 [python] filter returns an iterator in python3, make sure it stays a list 2013-04-03 19:42:00 +02:00
Felix Ruess 5f0423b6c9 [python] fix settingsapp: use generated var/<acname>/settings.xml 2013-04-03 19:31:37 +02:00
Felix Ruess e49901bfa8 [python] style, partial python3 compat
- pep8: 4 spaces
- use 'in' instead of has_key for checking dicts
- some fixes for settingsapp
2013-04-03 19:31:18 +02:00
Felix Ruess e708b14f4a [python] fix messages_tool
Don't put empty strings in values.
This was a problem if IVY messages have a trailing whitespace,
should be fixed where the bogus messages are generated as well...
2013-03-25 23:30:25 +01:00
Felix Ruess 8162a35dce [python] pep8: 4 spaces, print_function 2013-03-25 22:59:30 +01:00
Allen 8e07d49452 Fixes/kludgeness for case sensitivity in XML parsing for joystick tuner
and add command line option for serial port
2011-05-18 16:35:40 -07:00
Allen Ibara ae9c67e097 Add optional support for timestamps in UDP messages using udp_link.py 2010-01-05 04:16:31 +00:00
Allen Ibara d8dd71831b Changes to python settings app in preparation for supporting values= settings attributes (ie, named radio button options) 2009-06-04 21:47:17 +00:00
Allen Ibara 0c3c09a1e8 Add Python ground station apps (messages, plotter, udp link, dashboard) 2009-04-15 22:07:16 +00:00