[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [paparazzi/paparazzi] 16d674: [arch/linux] udp: read
From: |
GitHub |
Subject: |
[paparazzi-commits] [paparazzi/paparazzi] 16d674: [arch/linux] udp: read data in thread instead of e... |
Date: |
Wed, 05 Aug 2015 05:19:03 -0700 |
Branch: refs/heads/master
Home: https://github.com/paparazzi/paparazzi
Commit: 16d6745289d13bb79c87970f3428959a9a600c70
https://github.com/paparazzi/paparazzi/commit/16d6745289d13bb79c87970f3428959a9a600c70
Author: Felix Ruess <address@hidden>
Date: 2015-07-31 (Fri, 31 Jul 2015)
Changed paths:
M sw/airborne/arch/linux/mcu_periph/udp_arch.c
M sw/airborne/arch/linux/mcu_periph/udp_arch.h
M sw/airborne/mcu.c
M sw/airborne/mcu_periph/udp.c
M sw/airborne/mcu_periph/udp.h
Log Message:
-----------
[arch/linux] udp: read data in thread instead of event
Commit: e7c6c1a5a6ec481bc12edb89084d2d95749f9737
https://github.com/paparazzi/paparazzi/commit/e7c6c1a5a6ec481bc12edb89084d2d95749f9737
Author: Felix Ruess <address@hidden>
Date: 2015-07-31 (Fri, 31 Jul 2015)
Changed paths:
M sw/airborne/arch/linux/mcu_periph/uart_arch.c
M sw/airborne/mcu.c
M sw/airborne/mcu_periph/uart.c
M sw/airborne/mcu_periph/uart.h
M sw/airborne/test/mcu_periph/test_uart.c
M sw/airborne/test/mcu_periph/test_uart_echo.c
M sw/airborne/test/mcu_periph/test_uart_recv.c
M sw/airborne/test/mcu_periph/test_uart_send.c
Log Message:
-----------
[arch/linux] start replacing uart_event with thread
While it should not really happen, it is still possible that a uart_transmit
was interrupted and data should be written from the uart_handler.
This needs to be fixed.
totally untested...
Commit: e9cece713e8d5e05073416e9a2cabd3366c11d08
https://github.com/paparazzi/paparazzi/commit/e9cece713e8d5e05073416e9a2cabd3366c11d08
Author: Felix Ruess <address@hidden>
Date: 2015-07-31 (Fri, 31 Jul 2015)
Changed paths:
M sw/airborne/arch/linux/mcu_periph/uart_arch.c
Log Message:
-----------
[arch/linux] uart: thread only handles receiving data
uart_transmit should always be able to directly write the single byte to the
serial device.
So there should be no need to use the tx queue.
Since the uart threads calls select on the fds to check when there is something
to read,
it will not wake up if there is data in the tx buffer...
Using the tx buffer was previously done because the system timer was generating
signals and interrupted the write.
Since this is no longer the case it should be fine like this.
Seems to work fine on the bebop and beagle bone black.
Commit: ed10ff39f3a6e8dde468f2f1bf366e83a35bfdff
https://github.com/paparazzi/paparazzi/commit/ed10ff39f3a6e8dde468f2f1bf366e83a35bfdff
Author: Felix Ruess <address@hidden>
Date: 2015-08-03 (Mon, 03 Aug 2015)
Changed paths:
M sw/airborne/arch/linux/mcu_periph/uart_arch.c
M sw/airborne/arch/linux/mcu_periph/udp_arch.c
Log Message:
-----------
[arch/linux] RT prio for UART/UDP threads
Commit: b401b14317ecc4d9d28440a8421bfce12f3371ff
https://github.com/paparazzi/paparazzi/commit/b401b14317ecc4d9d28440a8421bfce12f3371ff
Author: Felix Ruess <address@hidden>
Date: 2015-08-03 (Mon, 03 Aug 2015)
Changed paths:
M sw/airborne/firmwares/fixedwing/main_ap.c
M sw/airborne/firmwares/fixedwing/main_fbw.c
M sw/airborne/firmwares/rotorcraft/main.c
Log Message:
-----------
[firmwares] fix some comments
Commit: d7b9f0c5ebce52b25e315adb9b7369b13cd4f65b
https://github.com/paparazzi/paparazzi/commit/d7b9f0c5ebce52b25e315adb9b7369b13cd4f65b
Author: Felix Ruess <address@hidden>
Date: 2015-08-04 (Tue, 04 Aug 2015)
Changed paths:
M conf/flight_plans/rotorcraft_optitrack.xml
M conf/messages.xml
A docker/Makefile
A docker/dep/Dockerfile
A docker/dep/README.md
A docker/dev/Dockerfile
A docker/dev/README.md
A docker/run.sh
M sw/airborne/arch/linux/mcu_periph/uart_arch.c
M sw/airborne/arch/linux/rt_priority.h
M sw/airborne/arch/lpc21/mcu_periph/uart_arch.c
M sw/airborne/arch/stm32/mcu_periph/uart_arch.c
M sw/airborne/firmwares/demo/demo_ahrs_actuators.c
M sw/airborne/firmwares/fixedwing/datalink.c
M sw/airborne/firmwares/rotorcraft/datalink.c
M sw/airborne/firmwares/rotorcraft/main.c
M sw/airborne/firmwares/setup/usb_tunnel.c
M sw/airborne/link_mcu_usart.c
M sw/airborne/mcu_periph/uart.c
M sw/airborne/mcu_periph/uart.h
M sw/airborne/mcu_periph/udp.c
M sw/airborne/mcu_periph/udp.h
M sw/airborne/modules/computer_vision/viewvideo.c
M sw/airborne/modules/datalink/extra_pprz_dl.h
M sw/airborne/modules/hott/hott.c
M sw/airborne/modules/loggers/direct_memory_logger.c
M sw/airborne/modules/loggers/high_speed_logger_direct_memory.c
M sw/airborne/subsystems/ahrs/ahrs_gx3.c
M sw/airborne/subsystems/datalink/datalink.h
M sw/airborne/subsystems/datalink/downlink.c
M sw/airborne/subsystems/gps/gps_nmea.c
M sw/airborne/subsystems/gps/gps_nmea.h
M sw/airborne/subsystems/imu/imu_um6.c
M sw/airborne/test/generic_uart_tunnel.c
M sw/airborne/test/mcu_periph/test_adc.c
M sw/airborne/test/mcu_periph/test_uart.c
M sw/airborne/test/mcu_periph/test_uart_echo.c
M sw/airborne/test/mcu_periph/test_uart_send.c
M sw/airborne/test/peripherals/test_ami601.c
M sw/airborne/test/peripherals/test_lis302dl_spi.c
M sw/airborne/test/peripherals/test_ms2100.c
M sw/airborne/test/subsystems/test_ahrs.c
M sw/airborne/test/subsystems/test_imu.c
M sw/airborne/test/subsystems/test_radio_control.c
M sw/airborne/test/subsystems/test_settings.c
M sw/airborne/test/test_baro_board.c
M sw/airborne/test/test_can.c
M sw/airborne/test/test_datalink.c
M sw/airborne/test/test_telemetry.c
M sw/ground_segment/misc/natnet2ivy.c
M sw/ground_segment/tmtc/link.ml
M sw/ground_segment/tmtc/server.ml
M sw/supervision/paparazzicenter.ml
Log Message:
-----------
Merge branch 'master' into linux_replace_mcu_event
* master: (24 commits)
[gps] make nmea parser a bit more robust
[gps] fix nmea: read multiple msgs, parse when one is available
[arch/linux] rt_prio: fix missing include
more optitrack flight plan improvements
[uart] rename uart_transmit to uart_put_byte for clarity
[udp] rename udp_transmit to udp_put_byte for clarity
fixing optitrack axes and altitude
[modules] viewvideo: be nice to other threads
[messages] description for WP_MOVED
[pprz center] restrict info coloring a bit more
[datalink] fix tests
improvement standard Optitrack flightplan
[datalink] add datalink_nb_msgs counter and cleanup
[datalink] cleanup
[link] fix tx_msgs field in LINK_REPORT
[link] try to fix sending LINK_REPORT
[docker] always mount current paparazzi tree
[docker] add gedit to pprz-dep image
[docker] rename clean target to remove_images
[docker] set nicer gtk theme
...
Commit: a868db07ae758506d6b254e4c9650e592e2a13b7
https://github.com/paparazzi/paparazzi/commit/a868db07ae758506d6b254e4c9650e592e2a13b7
Author: Felix Ruess <address@hidden>
Date: 2015-08-04 (Tue, 04 Aug 2015)
Changed paths:
M sw/airborne/arch/linux/mcu_periph/uart_arch.h
M sw/airborne/mcu_periph/uart.h
Log Message:
-----------
[uart] configurable buffer size, larger for linux arch
Commit: 49b587e586c664b0e07dc649bb04dacad0b17f70
https://github.com/paparazzi/paparazzi/commit/49b587e586c664b0e07dc649bb04dacad0b17f70
Author: Felix Ruess <address@hidden>
Date: 2015-08-04 (Tue, 04 Aug 2015)
Changed paths:
M sw/airborne/arch/linux/mcu_periph/uart_arch.c
Log Message:
-----------
[arch/linux] uart: discard byte if rx buffer is full
Commit: 4501eee67f6760fdeb076eb7e4231ec580b3d897
https://github.com/paparazzi/paparazzi/commit/4501eee67f6760fdeb076eb7e4231ec580b3d897
Author: OpenUAS <address@hidden>
Date: 2015-08-05 (Wed, 05 Aug 2015)
Changed paths:
M sw/airborne/arch/linux/mcu_periph/uart_arch.c
M sw/airborne/arch/linux/mcu_periph/uart_arch.h
M sw/airborne/arch/linux/mcu_periph/udp_arch.c
M sw/airborne/arch/linux/mcu_periph/udp_arch.h
M sw/airborne/firmwares/fixedwing/main_ap.c
M sw/airborne/firmwares/fixedwing/main_fbw.c
M sw/airborne/firmwares/rotorcraft/main.c
M sw/airborne/mcu.c
M sw/airborne/mcu_periph/uart.c
M sw/airborne/mcu_periph/uart.h
M sw/airborne/mcu_periph/udp.c
M sw/airborne/mcu_periph/udp.h
M sw/airborne/test/mcu_periph/test_uart.c
M sw/airborne/test/mcu_periph/test_uart_echo.c
M sw/airborne/test/mcu_periph/test_uart_recv.c
M sw/airborne/test/mcu_periph/test_uart_send.c
Log Message:
-----------
Merge pull request #1277 from flixr/linux_replace_mcu_event
[linux] replace mcu event polling with threads, tested as far as I could with
Bebop and Ardrone2, had no issues so far.
Compare:
https://github.com/paparazzi/paparazzi/compare/5a267dc19921...4501eee67f67
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [paparazzi/paparazzi] 16d674: [arch/linux] udp: read data in thread instead of e...,
GitHub <=