ArduPilot / ArduPilot/MAVProxy
Mavproxy starts up with only garbage packets - restarts fine
- Dominant language
- Python
- Stars
- 595
- Forks
- 773
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 18
Description
I have a number of vehicles I have built which run Raspberry Pi's hooked up via the serial port to a Pixhawk. Mavproxy is configured to start at boot. Some non-zero percentage of time mavproxy starts up in what I call "garbage mode" and just pumps out noise packets - never connects to autopilot. Restarting mavproxy it comes up properly the second time every time. It seems almost like the baud rate isn't configured properly sometimes. I have dug and dug to see if any other process is opening the serial port and mucking with things, but I haven't found anything. Likewise I have played with the startup timing extensively and it makes no difference.
Has anyone experienced this? Any tips? Considering patching mavproxy to have a "restart on excessive noise" function, but that seems like a bandaid.
Contributor guide
No contributing guide indexed for this repository
Research direction
Begin with MAVProxy's boot-time startup and serial-port/baud-rate handling on a Raspberry Pi connected to Pixhawk. Reproduce the first-start versus restart behavior and trace when noise packets appear; done means the initial launch connects reliably without requiring a restart.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, raspberry-pi
- Domain
- cli, embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100