Commit Graph

13343 Commits

Author SHA1 Message Date
Felix Ruess b69aa2d7bf Merge pull request #1422 from paparazzi/mavlink_additions
Mavlink additions

- fix sending of some mavlink messages (MAVLinkSendMessage() was missing)
- send GPS_STATUS and VFR_HUD and SYSTEM_TIME
- waypoint protocol:
  - parse MISSION_ITEM_INT message to update single waypoints
  - only for rotorcraft (since it used the waypoint interface, see https://github.com/paparazzi/paparazzi/issues/981)
  - start waypoint write/update transaction upon receiving MISSION_COUNT message (with requesting of waypoints)
  - send ack only after all waypoints are transferred
- add the Paparazzi specific SCRIPT_ITEM messages

Updating waypoints seems to work fine with e.g. QGroundControl now.
2015-11-17 23:24:21 +01:00
Gautier Hattenberger a48df1dfe1 [gcs] adjust video papget to current zoom
fix #889
2015-11-17 17:44:51 +01:00
Felix Ruess f30d131d6e Merge pull request #1404 from flixr/nps_udp_telemetry
use UDP telemetry in NPS sim

When launching a Simulator session from the Paparazzi Center, link should be automatically started as well.
If sitl is started directly, one also needs to start link with the -udp option.
2015-11-17 00:22:22 +01:00
Felix Ruess 91a0082773 Merge pull request #1424 from flixr/modules_configure_periphs
use `configure` for all SPI and I2C options in modules
2015-11-17 00:19:28 +01:00
Felix Ruess b75f5d15e1 [mavlink] update waypoint on MISSION_ITEM_INT
if frame is GLOBAL_INT
2015-11-16 21:45:31 +01:00
Felix Ruess 2babaf6331 [mavlink] allow single waypoint update
if a MISSION_ITEM is sent from the GCS without a MISSION_COUNT first,
then simply directly update that waypoint and answer with MISSION_ACK
2015-11-16 21:39:55 +01:00
Felix Ruess 6ee8795b2e start.py: use statusbar to show messages instead of annoying prints to terminal 2015-11-16 21:09:04 +01:00
Felix Ruess e1cc74d299 [ins] quiet unused-parameter warning 2015-11-16 19:57:08 +01:00
Felix Ruess c85ec0154a [conf] update airframes after using configure for x_I2C_DEV 2015-11-16 18:48:20 +01:00
Felix Ruess 74ebb5bad9 [modules] use configure for I2C_DEV 2015-11-16 17:39:53 +01:00
Felix Ruess ef9f21c373 [modules] use configure for more SPI params 2015-11-16 17:14:40 +01:00
Felix Ruess 9028c1ab47 [modules] baro_ms5611: use configure for SPI 2015-11-16 17:07:04 +01:00
Felix Ruess ce0f996997 [paparazzi center] start link with NPS simulator session
and remove the old jsbsim option
2015-11-16 15:19:24 +01:00
Felix Ruess 6053e0f217 [udp] UDPx_HOST define doesn't need to be a string
this makes it easier to define in the airframe file, e.g.
  <define name="UDP1_HOST" value="192.168.42.2"/>
instead of
  <define name="UDP1_HOST" value="\\\"192.168.42.2\\\""/>
2015-11-16 15:01:18 +01:00
Felix Ruess e5816299e7 [mavlink] add SYSTEM_TIME message 2015-11-16 13:56:57 +01:00
Felix Ruess 5fcd8dc480 [mavlink] don't wait for ack when sending current nav_block 2015-11-16 13:56:47 +01:00
Christophe De Wagter 7723b12e4f Merge pull request #1420 from paparazzi/flightplan_attitude_cmd_fix_indi
INDI - flightplan attitude block fix
2015-11-16 09:44:21 +01:00
Felix Ruess 5ddfb3336c Merge pull request #1416 from EwoudSmeur/mavshot
New asctec ESC i2c protocol
2015-11-16 01:05:25 +01:00
Felix Ruess b5ac364365 [mavlink] integrate and improve missionlib
- don't use timer callbacks as they are called from system context
- remove duplicate waypoints from mission manager
- waypoint protocol:
  - start waypoint write/update transaction upon receiving MISSION_COUNT message
  - request waypoints

Seems to work fine with e.g. QGroundControl now
2015-11-15 19:28:15 +01:00
LodewijkSikkel 6fb9777c7f [mavlink] add missionlib files from Lodewijk 2015-11-15 19:13:37 +01:00
Felix Ruess 6d71b9596a [mavlink] send waypoints as lla for rotorcraft
sending lat/lon as float is actually a bad idea,
but it seems that most GCSs don't understand the MISSION_ITEM_INT or LOCAL_FRAME_ENU
2015-11-15 14:48:53 +01:00
Felix Ruess eb5e8d144d [mavlink] fix typos 2015-11-15 13:00:39 +01:00
Felix Ruess 1791493e80 [mavlink] add paparazzi specific SCRIPT_ITEM messages
- makes it possible to get and change the flight plan blocks

alternative implementation to #1407
2015-11-15 00:39:46 +01:00
Felix Ruess 91bb2cd1f2 [modules] mavlink: parse MISSION_ITEM message
makes it possible to change waypoints when using the rotorcraft firmware
2015-11-14 23:53:49 +01:00
Felix Ruess 9916d6d218 [modules] mavlink: send GPS_STATUS and VFR_HUD 2015-11-14 23:08:59 +01:00
Felix Ruess 81d137ad62 [modules] mavlink: add some missing MAVLinkSendMessage() 2015-11-14 23:05:35 +01:00
Christophe De Wagter 84d9c99043 [bugfix] Setting attitude from the flightplan was spinning when the heading is not perfectly north. 2015-11-13 17:53:04 +01:00
Gautier Hattenberger d52805ca7d Merge pull request #1403 from paparazzi/radio_control_signs
radio-control signs conform paparazzi
2015-11-13 15:12:07 +01:00
Christophe De Wagter 0c12db39c9 Merge pull request #1399 from paparazzi/exif_south
[exif] negative lat/lon/alt
2015-11-12 21:49:30 +01:00
Christophe De Wagter 8885722007 [exit] ExifAltitudeRef (positive or negative) and Changed to HMSL from GPS 2015-11-12 21:18:45 +01:00
Christophe De Wagter a9b1a666fc [exif] south/west attempt 2015-11-12 21:18:45 +01:00
Christophe De Wagter 5e513e71cc [exif] negative lat/lon/alt 2015-11-12 21:18:44 +01:00
Ewoud Smeur ec2f508c4b new Asctec esc I2C protocol 2015-11-12 10:54:03 +01:00
Christophe De Wagter 0ab60b5cd3 Merge pull request #1418 from kirkscheper/ladybird_update
[airframe] update pocketdrone optitrack airframe gains
2015-11-12 10:53:02 +01:00
kirkscheper 119c395362 [airframe] update pocketdrone optitrack airframe gains 2015-11-12 10:45:27 +01:00
Christophe De Wagter d2a8390da7 Merge pull request #1417 from rmeertens/fixstereo
Removed wrong folder in the stereo module
2015-11-12 10:08:51 +01:00
Roland Meertens 88f2d977d0 codestyle 2015-11-12 09:26:56 +01:00
Roland Meertens 22a7d07d8a -debug stuff 2015-11-12 09:26:04 +01:00
Roland Meertens 675c3fb39b fixed directory 2015-11-12 09:23:17 +01:00
Felix Ruess 933a750864 [modules] fix px4flow VELOCITY_ESTIMATE message
and correct typo in ABI id
closes #1415
2015-11-11 14:24:29 +01:00
Felix Ruess 7c6f23d90c Merge pull request #1412 'ins_velocity_estimate'
- ins_int: listen to VELOCITY_ESTIMATE ABI messages and use it as measurement to update horizontal velocity
- add noise field to VELOCITY_ESTIMATE message
- opticflow module: fix velocity scaling and rotate to body frame
- update guidance opticflow hover module accordingly
2015-11-11 13:22:31 +01:00
Felix Ruess d5dbb5efb1 [ins] cleanup unused define 2015-11-11 13:22:00 +01:00
Felix Ruess 0b1a15d121 Merge pull request #1406 from paparazzi/ac_copy
[paparazzi center] add copy A/C menu entry

On copy it will ask for a new aircraft name (assign the next free id) and offer to copy the airframe file to a new one with different name. If the airframe file name is not changed, it will continue to use the same one.
Closes #1209
2015-11-11 13:15:59 +01:00
Felix Ruess f6543ed247 [paparazzi center] change title of copy airframe file window 2015-11-11 13:12:14 +01:00
Gautier Hattenberger 1b64f3ec96 Merge pull request #1414 from kirkscheper/natnetfix
[natnet] fixed typo in small messages
2015-11-11 10:44:25 +01:00
kirkscheper 798eccc920 fixed typo in small messages 2015-11-11 10:41:06 +01:00
Gautier Hattenberger 351f1df318 [paparazzi center] ask for new airframe file on A/C copy 2015-11-11 01:31:09 +01:00
Gautier Hattenberger 2cb8053953 [gcs] display kml sectors from file in GCS
close #404
2015-11-10 23:50:56 +01:00
Gautier Hattenberger d0e54e05ba [paparazzi center] fix warning on copy and new A/C, remove tab 2015-11-10 22:54:53 +01:00
Christophe De Wagter 8552444ffa [bugfix] python2 unknown on mac. Using python instead. 2015-11-10 16:20:25 +01:00