Commit Graph

17 Commits

Author SHA1 Message Date
Gautier Hattenberger e92f8522a1 Merge pull request #1501 from paparazzi/python_ivy_msgs
[python] ivy_msg_interface: find message class by name
2015-12-28 22:29:18 +01:00
Felix Ruess 3f4d1e1a59 [python] ivy_msg_interface: unbind after IvyStop
to prevent having unhandled subscriptions
2015-12-28 17:13:42 +01:00
Felix Ruess af0d3133ad [python] ivy_msg_interface: find message class by name
and don't treat sender_name (first string in ivy message) as msg_class
2015-12-28 15:05:01 +01:00
Felix Ruess 34e076e2f7 [python] add pprz_env with usable default IVY_BUS
- pprz_env.IVY_BUS is either the env variable IVY_BUS or appropriate default (checks for OSX)
- some fixes for udp_link

should fix #1495 and the python part of #204
2015-12-22 11:50:47 +01:00
Felix Ruess 72564f4dc1 [python] some fixes for realtimeplotapp
- use messages_xml_map from pprz_msg
- hide the message picker instead of shutting it down (because that stops the ivy listener)
- fix drag and drop
2015-12-21 13:12:53 +01:00
Felix Ruess 8cee6f874b [python] add guided_mode_example.py to show usage 2015-12-15 22:46:16 +01:00
Felix Ruess 776fb863d7 [python] ivy_msg_interface: fix for multiple char arrays in msg 2015-11-04 16:43:46 +01:00
Felix Ruess 53273a05ca [python] pprz_msg: minor fixes and move_waypoint_example.py 2015-09-14 13:52:17 +02:00
Felix Ruess 858427bb11 [python] fix PprzMessage and don't require msg callback in ivy_msg_interface.py 2015-09-14 04:30:43 +02:00
Felix Ruess 9e0cf7f7d9 [python] fix python2/3 compat, imports, pep8...
- enum is available since python3.4 or as backport (enum34 package)
  - otherwise just use normal member vars as fallback
- cleanup some formatting/naming according to pep8
- SerialMessagesInterface should not depend on the messages_xml_map,
  as a workaround for now, only call parse_messages in main
2015-07-28 00:15:11 +02: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 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 6d9d299483 [python] ivy_msg_interface 2015-01-22 23:02:33 +01:00