-
Notifications
You must be signed in to change notification settings - Fork 13.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mavlink issues on UART1 #12
Comments
I noticed the script in the tutorial was slightly outdated, try the updated version: https://pixhawk.ethz.ch/px4/users/first_steps?&#setting_up_a_microsd_autostart_script Also make sure to have the most recent code (like from today). Please report back if the issue persists - I can read and write params fine here. |
When you specified UART1 in your config (/dev/ttyS0), did you put an 'exit' at the end of your script? If not it can't work, because NSH is then still active on the port. |
I tested this with the latest firmware and update script from the tutorial and can confirm that it works. |
I found the real cause for this problem as I just had it happened again tonight. Make sure the FTDI ground wire is connected properly, not just the TX/RX wires. |
Fmuv2 bringup lsm303d config
Drop at the exact timing, drop only if facing into the right direction
fix mavlink message sending, make thread priority default
- micro-CDR in PX4/Firmware (76d0c66): eProsima/Micro-CDR@8125eac - micro-CDR current upstream: eProsima/Micro-CDR@f325c4f - Changes: eProsima/Micro-CDR@8125eac...f325c4f f325c4f 2018-10-02 Nuno Marques - add int8_t serialization and deserialization and respective tests (#12)
- micro-CDR in PX4/Firmware (204d7c2): eProsima/Micro-CDR@8125eac - micro-CDR current upstream: eProsima/Micro-CDR@f325c4f - Changes: eProsima/Micro-CDR@8125eac...f325c4f f325c4f 2018-10-02 Nuno Marques - add int8_t serialization and deserialization and respective tests (#12)
- micro-CDR in PX4/Firmware (2025cd6): eProsima/Micro-CDR@8125eac - micro-CDR current upstream: eProsima/Micro-CDR@f325c4f - Changes: eProsima/Micro-CDR@8125eac...f325c4f f325c4f 2018-10-02 Nuno Marques - add int8_t serialization and deserialization and respective tests (#12)
- micro-CDR in PX4/Firmware (2e19f6d): eProsima/Micro-CDR@8125eac - micro-CDR current upstream: eProsima/Micro-CDR@f325c4f - Changes: eProsima/Micro-CDR@8125eac...f325c4f f325c4f 2018-10-02 Nuno Marques - add int8_t serialization and deserialization and respective tests (#12)
- micro-CDR in PX4/Firmware (cca8cd74f97d5fdd4eb98f7cb806da0e151cf649): eProsima/Micro-CDR@8125eac - micro-CDR current upstream: eProsima/Micro-CDR@f325c4f - Changes: eProsima/Micro-CDR@8125eac...f325c4f f325c4f 2018-10-02 Nuno Marques - add int8_t serialization and deserialization and respective tests (#12)
- micro-CDR in PX4/Firmware (eee590f): eProsima/Micro-CDR@8125eac - micro-CDR current upstream: eProsima/Micro-CDR@f325c4f - Changes: eProsima/Micro-CDR@8125eac...f325c4f f325c4f 2018-10-02 Nuno Marques - add int8_t serialization and deserialization and respective tests (#12)
- micro-CDR in PX4/Firmware (f617aa8): eProsima/Micro-CDR@8125eac - micro-CDR current upstream: eProsima/Micro-CDR@f325c4f - Changes: eProsima/Micro-CDR@8125eac...f325c4f f325c4f 2018-10-02 Nuno Marques - add int8_t serialization and deserialization and respective tests (#12)
- micro-CDR in PX4/Firmware (ae27acf): eProsima/Micro-CDR@8125eac - micro-CDR current upstream: eProsima/Micro-CDR@f325c4f - Changes: eProsima/Micro-CDR@8125eac...f325c4f f325c4f 2018-10-02 Nuno Marques - add int8_t serialization and deserialization and respective tests (#12)
- micro-CDR in PX4/Firmware (a1212e9): eProsima/Micro-CDR@8125eac - micro-CDR current upstream: eProsima/Micro-CDR@f325c4f - Changes: eProsima/Micro-CDR@8125eac...f325c4f f325c4f 2018-10-02 Nuno Marques - add int8_t serialization and deserialization and respective tests (#12)
- micro-CDR in PX4/Firmware (a242c0f): eProsima/Micro-CDR@8125eac - micro-CDR current upstream: eProsima/Micro-CDR@f325c4f - Changes: eProsima/Micro-CDR@8125eac...f325c4f f325c4f 2018-10-02 Nuno Marques - add int8_t serialization and deserialization and respective tests (#12)
- micro-CDR in PX4/Firmware (34989ef): eProsima/Micro-CDR@8125eac - micro-CDR current upstream: eProsima/Micro-CDR@f325c4f - Changes: eProsima/Micro-CDR@8125eac...f325c4f f325c4f 2018-10-02 Nuno Marques - add int8_t serialization and deserialization and respective tests (#12)
- micro-CDR in PX4/Firmware (4745f5a): eProsima/Micro-CDR@8125eac - micro-CDR current upstream: eProsima/Micro-CDR@f325c4f - Changes: eProsima/Micro-CDR@8125eac...f325c4f f325c4f 2018-10-02 Nuno Marques - add int8_t serialization and deserialization and respective tests (#12)
- micro-CDR in PX4/Firmware (1dd1d8f): eProsima/Micro-CDR@8125eac - micro-CDR current upstream: eProsima/Micro-CDR@f325c4f - Changes: eProsima/Micro-CDR@8125eac...f325c4f f325c4f 2018-10-02 Nuno Marques - add int8_t serialization and deserialization and respective tests (#12)
- micro-CDR in PX4/Firmware (43ba749): eProsima/Micro-CDR@8125eac - micro-CDR current upstream: eProsima/Micro-CDR@f325c4f - Changes: eProsima/Micro-CDR@8125eac...f325c4f f325c4f 2018-10-02 Nuno Marques - add int8_t serialization and deserialization and respective tests (#12)
- micro-CDR in PX4/Firmware (aebface): eProsima/Micro-CDR@8125eac - micro-CDR current upstream: eProsima/Micro-CDR@f325c4f - Changes: eProsima/Micro-CDR@8125eac...f325c4f f325c4f 2018-10-02 Nuno Marques - add int8_t serialization and deserialization and respective tests (#12)
fix buffer overflow in constrain of wind velocity
plugins: use std::dynamic_pointer_cast rather than boost
NuttX: - https://github.com/PX4-NuttX/nuttx/tree/master - PX4/NuttX@d16f0db Changes from PX4/NuttX (PX4/NuttX@9331fda) in current PX4/master (ef12e63) PX4/NuttX@9331fda...d16f0db d16f0db7b8 (HEAD, origin/master) nxstyle improvements with No tooling (#12) 1db6f92 arch/arm/src/stm32l4/Kconfig: Fixed conditional config for STM32L4_STM32L432XX and STM32L4_STM32L442XX archs. The wrong spelling of STM32L4_STM32L432XX and STM32L4_STM32L442XX, caused the following three peripherals to be available although they are not supported by these architectures: USART3, SPI2, and I2C1. These were available for selection in menuconfig and caused compiler errors when selected. This patch replaces the STM32L4_L432XX and STM32L4_L442XX items with STM32L4_STM32L432XX and STM32L4_STM32L442XX. eba8eec STM32F7 and STM32H7 SDMMC internal pull up usage fixed 8dd4b27 tcp_conn: Check if the remote address is unspecified 87cf5c5 Correct some problems with network timed events when there are multiple network devices in the configuration. ce63457 This change implements the SO_ERROR socket option that is used to obtain the last error reported by the network. 10c4aff Merge pull request #1 from apache/master_imxrt 9b7afcd imxrt106x:pinout add ALT 8 GPIO_GPT2_COMPARE3 & fix GPIO_GPT1_CAPTURE[1|2] 3dcd238 imxrt:lpi2c Fix interrupt storm on failed write. 0050ba9 imxrt:lpi2c ensure that on an error status reflects it. Apps: - https://github.com/PX4/NuttX-apps/tree/master - PX4/NuttX-apps@0536c5b Changes from PX4/NuttX-apps (PX4/NuttX-apps@91b6ad6) in current PX4/master (ef12e63) PX4/NuttX-apps@91b6ad6...0536c5b 0536c5b5 (HEAD -> master, origin/master) apps/nshlib/nsh_parse.c: Correct an error found in build testing. Commit 2a462c78aa5f4ea6dc374eedd86bc85f9f79a0c4 was insufficient. It was a mistake to revert Xiang's change of commit 9defae8af641752506d92b72ea68c8f94d24d580. But we are on a different vector now. 2a462c78 nshlib/nsh_parse.c: Replacement implementation for 9defae8af641752506d92b72ea68c8f94d24d580. This addes conditional compilation on the definition of g_nullstring[] to avoid the warning. Suggested by SUZUKI Y <[email protected]> 6bfd6166 Revert "apps/nshlib/nsh_parse.c: Fix warning: 'g_nullstring defined but not used'. Use directly since the usage is triggered by a complex Kconfig combination." 9b77f807 apps/netutils/dhcpd/dhcpd.c: Correct backward conditional logic in dhcpd_leaseexpired(). Noted by surya prakash <[email protected]>. 9defae8a apps/nshlib/nsh_parse.c: Fix warning: 'g_nullstring defined but not used'. Use directly since the usage is triggered by a complex Kconfig combination. 3a2bd2c0 apps/netutils/ntpclient/ntpclient.c: Merge local structure variables xmit and recv into pkt to save the stack. e48a74f3 apps/Application.mk: Convert object names to guarantee uniqueness. 5ec8fc94 apps/nshlib/nsh_fileapps.c: nsh_fileapp() should return 1 if the application task was spawned successfully but returned failure exit status. For example, nsh shouldn't output "/bin/ping: command not found": 77a3b083 apps/nshlib/nsh_parse.c: Ensure /bin/ping and ping work at the same time. Don't skip nsh_builtin even CONFIG_NSH_FILE_APPS or CONFIG_FS_BINFS equal y. 3da8091d Include nuttx/symtab.h instead of nuttx/binfmt/symtab.h since symtab.h under binfmt folder is for internal use.
- jsbsim_bridge in PX4/Firmware (f0d1f1d): PX4/px4-jsbsim-bridge@c51a61b - jsbsim_bridge current upstream: PX4/px4-jsbsim-bridge@e070c50 - Changes: PX4/px4-jsbsim-bridge@c51a61b...e070c50 e070c50 2021-01-29 JaeyoungLim - Merge pull request #12 from PX4/pr-upstream-merge 1c8c560 2021-01-07 bresch - bridge: FGInitialCondition is a shared_ptr
Faster MR descend for RTL - ported to 1.13
When I connect to the PX4 using Mission Planner mav 1.0 it fails to read the parameters from the board. The error message I get:
Timeout on read - getParamList 1217 Packets were received, but no parameter packets were received.
If I press the board's reset button while it is trying to read then it works. I went ahead and did a radio calibration and when it wanted to write the params back it failed as well ("Failed to set Channel 1", etc).
I have tried the same thing on my Mac using QGroundControl with the same results when trying to read the params.
I am using this autostart config: https://pixhawk.ethz.ch/px4/users/firststeps?s[]=calibration#settingupamicrosdautostartscript
I had specified UART1 (/dev/ttyS0) in the config when starting mavlink instead of ttyS1. Switching to UART2 (/dev/ttyS1) resolves the problem.
The text was updated successfully, but these errors were encountered: