ArduPilot / ArduPilot/MissionPlanner

Reboot and auto reconnect will loading for a long time when APM set CAN_P1_DRIVER to 1

Open
#3,384 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2.4k
Forks
2.9k
Avg merge
19h 16m
Merged PRs (30d)
4

Description

#### Issue details
In current Ardupilot master branch if compile with copter, when set `CAN_P1_DRIVER` or `CAN_P2_DRIVER` to `1` and send a reboot command to autopilot, Mission Planner will reconnect automaticlly and enter a infinite loading state just like that:
![mp2](https://github.com/user-attachments/assets/bff594e3-6f68-45ae-9c75-de3fbb564246)

In order to exit this loading state, you must disconnect and reconnect manually in MP, or click the Retry Now button in `CONFIG` tabs. When MP staying in the loading state, the console window shows that it reading a 'None' param. This issue will not occur if APM changes `GPS1_TYPE` to any value. But if reset all paramters to default, this issue will reappear.
![MP_Console](https://github.com/user-attachments/assets/c9a5aba4-06b5-4b25-80ac-3d232500861c)

I guess it might be a MP issue, see https://github.com/ArduPilot/ardupilot/issues/27608.

#### Version
ArduCopter V4.6.0-dev
Mission Planner 1.3.81 build 1.3.8741.25556

#### Platform
[ ] All
[ ] AntennaTracker
[ x ] Copter
[ ] Plane
[ ] Rover
[ ] Sub

#### Airframe type
Copter

#### Logs
no logs.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce with ArduCopter V4.6.0-dev and Mission Planner 1.3.81 while CAN_P1_DRIVER or CAN_P2_DRIVER is set to 1, then reboot and observe the automatic reconnect, CONFIG tab, and MP console. Compare behavior after changing GPS1_TYPE and after resetting parameters to defaults, and review the related ArduPilot issue. Done means automatic reconnect no longer remains in the infinite loading state and manual retry is unnecessary.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.