Commit Graph

61 Commits

Author SHA1 Message Date
Felix Ruess 93b7bae3ef [messages] rename POSITION_TARGET_LOCAL_NED to GUIDED_SETPOINT_NED 2015-12-15 22:47:19 +01:00
Felix Ruess 8cee6f874b [python] add guided_mode_example.py to show usage 2015-12-15 22:46:16 +01:00
Felix Ruess a22cae820f [python] fix messagesapp
return correct index if passing already existing message
2015-11-30 11:46:17 +01:00
Felix Ruess ad824555e6 [python] settingsapp: make sure wx window id < 32767 2015-11-23 11:53:00 +01:00
Felix Ruess d2dab9f19c [python] fix messagesapp for wxgtk3
see #1435
2015-11-21 19:42:07 +01:00
Felix Ruess 2c10dc3e04 [python] update control_panel, fix messagepicker
the python plotter, and other tools need some love...
Remved the Real-Time Plotter (Python) from control panel as it didn't work.
Fixed the messagepicker, but it only prints the ac_id/message/field
2015-11-20 13:39:03 +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 feef09a190 [python] remove dashboard, update radiowatch
- dashboard is totally outdated...
- keep radioframe as an example...
2015-08-31 23:34:03 +02:00
Felix Ruess c84c74b7ee fix link_combiner 2015-07-17 14:29:04 +02:00
Felix Ruess dd32e13683 [udp_link] reformat with 4spaces according to pep8 2015-07-16 18:21:19 +02: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 8c9579c5a7 [python] ivy_msg_interface returns only ac_id and msg 2015-02-02 16:36:06 +01:00
Felix Ruess 155561db45 [python] ivytoredis: publish msg as json 2015-02-02 16:36:05 +01:00
Felix Ruess bb98e8a9b8 [python] refactor messages 2015-02-02 16:36:05 +01:00
Felix Ruess aeeaa3efb3 [python] messages: fix typo 2015-02-02 16:35:12 +01:00
Felix Ruess 6605676f77 [python] messages: PPRZ_HOME 2015-02-02 15:17:29 +01:00
Felix Ruess 6462125789 [python] rewrite ivytoredis 2015-01-28 17:58:59 +01:00
gtoonstra b7ab38bddd [python] add ivy_to_redis.py script 2015-01-28 17:58:59 +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 00b1324759 [python] messagesapp: growable value column width 2014-12-22 22:01:19 +01:00
Gautier Hattenberger 9f59a47c46 [link] improve datalink/telemetry report
- more reported data about up/down-link
- cleanup report messages
- display link page in GCS even in single link mode
2014-11-29 23:30:54 +01:00
Felix Ruess 4bc9440608 cleanup trailing whitespaces 2014-08-20 11:49:28 +02:00
Felix Ruess f4a9c1c3bd [ground_segment] python settingsapp: no default ac ids 2013-10-21 18:20:16 +02:00
Cameron Lee 5ffaf6e9a6 Adding support for displaying link status information when multiple aircraft are connected through the same link. Also added support for recording link status information in flight logs and displaying it during a replay. 2013-04-27 13:10:27 -06:00
Cameron Lee 3955a15320 Added GUI in GCS for multiple links. The information for this is sent from link_combiner.py in the LINK_STATUS message. The GCS now has a page in the notebook named Link, the ratio of active links appears in the main link indicator, and messages when a link is lost or gained are displayed in the console. 2013-04-27 12:57:01 -06:00
Cameron Lee cc761a9262 Started the second step of the redundant communication link, writing the Link Combiner agent. This agent receives ivy messages from the link agent(s) when they have a name specified, removes duplicate messages, then sends ivy messages of the same format that the link agent used to send messages. 2013-04-27 12:51:14 -06:00
Felix Ruess bf9e273974 [python] towards python3 compat: division, map 2013-04-04 00:36:48 +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 8cd3c4923a [python] more cleanup
- pep8: 4spaces indentation
- print_funtion
- use 'in' instead of has_key for dicts
- log stuff not tested...
2013-04-03 23:47:12 +02:00
Felix Ruess 1dbbf8f97f [python] cleanly shutdown messages_app 2013-04-03 22:01:12 +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 8162a35dce [python] pep8: 4 spaces, print_function 2013-03-25 22:59:30 +01:00
Gerard Toonstra f818f39013 [datalink] W5100 ethernet chip implementation
Complete implementation for the W5100 ethernet chip, which allows telemetry to be sent over ethernet/wifi, replacing the xbee.
It also reads command packets. Hooking this up to the ground station requires one to run 2 UDP scripts,
which proxy the data from the ethernet connection to the paparazzi UDP ports that are open,
reusing earlier work done on UDP links through an overo I think?

See below for possible configuration details.

It is recommended to use the WIZ811MJ breakout board of sparkfun,
as others have issues with the SPI_EN gate not connected through an inverter,
leaving the chip activate during other comms on the same IP bus (if this appies).

Connect the chip on the external SPI1.
You can configure the multicast ip, port and (fixed) ip in the airframe file:

<subsystem name="telemetry" type="w5100">
  <configure name="W5100_IP" value="192,168,2,2"/>
  <configure name="W5100_SUBNET" value="255,255,255,0"/>
  <configure name="W5100_MULTICAST_IP" value="1,1,1,1"/>
  <configure name="W5100_MULTICAST_PORT" value="5432"/>
</subsystem>
The ground segment includes two additional python scripts, which work as proxies on the local machine.

I'm still looking for a solution on the while loop in the get/set functions.
The chip unfortunately cannot send multiple bytes in one transaction,
so one byte of telemetry actually costs 4 bytes on the SPI bus,
plus more to query read/write pointers and perform the actual sending.

Throughput on SPI is about 0.3Mb/s maximum.
I did not change the telemetry file, but it should be possible to increase the frequency of certain messages there.
I don't feel the need to do that however and it may slow down other loops.

closes #318
2012-11-08 01:19:56 +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 7db3f00551 Add radio loss watch script 2010-10-06 05:10:52 +00:00
Allen Ibara dd090c00ef Update onboard log transform python script for timestamp fix 2010-07-06 18:08:59 +00:00
Allen Ibara 78a3b53943 Fix onboard_log_transform to match recent changes 2010-04-20 00:47:11 +00:00
Allen Ibara 982788ad00 Arduino Dangerboard updates 2010-03-11 03:51:59 +00:00
Allen Ibara c2e72d6333 Fixes for arduino dangerboard joystick app 2010-01-15 08:02:15 +00:00
Allen Ibara 0bfff5d941 Fix datalink sending for udp_link.py 2010-01-06 00:26:03 +00:00
Allen Ibara c5122b28c4 Use names for STX and STX_TS and UDP ports instead of hard coded values 2010-01-05 04:43:05 +00: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 65b88439fa Update/Fix udp_link to be compatible with pprz protocol 2009-12-22 17:48:25 +00:00
Allen Ibara d92f64b5fd Cleanup onboard_log_transform, support all types for arrays 2009-12-15 06:20:48 +00:00
Allen Ibara 8fca410a4f Fix bug in onboard_log_transform causing short lines/messages 2009-10-06 23:04:12 +00:00
Allen Ibara b6fc35a583 Fix python onboard_log_transform to not print trailing whitespace on log lines 2009-10-02 16:15:42 +00:00