Skip to content
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

Scripting restart sometimes stops scripting #26478

Open
peterbarker opened this issue Mar 11, 2024 · 2 comments
Open

Scripting restart sometimes stops scripting #26478

peterbarker opened this issue Mar 11, 2024 · 2 comments

Comments

@peterbarker
Copy link
Contributor

If there was a previous discussion in the forum, link to it

Bug report

Issue details

Sometimes issuing a scripting restart scripting stops instead of restarting

Version
master

Platform
[ x ] All
[ ] AntennaTracker
[ ] Copter
[ ] Plane
[ ] Rover
[ ] Submarine

Airframe type
n/a

Hardware type
sitl

Logs

https://productionresultssa6.blob.core.windows.net/actions-results/62671f2a-c2d1-4f2c-9bf5-6369c1d3a9d3/workflow-job-run-d03d3150-d197-5ecc-2070-a42b9b69a29b/logs/job/job-logs.txt?rsct=text%2Fplain&se=2024-03-10T23%3A44%3A05Z&sig=FFKgLHFL6GBYoN6Yqeh7rhM8x3%2B%2FiKyjjoSE3I7WaeQ%3D&sp=r&spr=https&sr=b&st=2024-03-10T23%3A34%3A00Z&sv=2021-12-02

2024-03-10T22:36:39.5820414Z AT-0501.7: Restarting Scripting
2024-03-10T22:36:39.5821166Z AT-0501.7: Sending COMMAND_INT to (1,1) (MAV_CMD_SCRIPTING=42701) (p1=3.000000 p2=0.000000 p3=0.000000 p4=0.000000 p5=0 p6=0  p7=0.000000)
2024-03-10T22:36:39.5822372Z AT-0501.7: ACK received: COMMAND_ACK {command : 42701, result : 0, progress : 0, result_param2 : 0, target_system : 250, target_component : 250} (0.000000s)
2024-03-10T22:36:39.5823211Z AT-0501.7: Waiting for text : shiplanding: loaded
2024-03-10T22:36:39.5823738Z AT-0501.7:   statustext got=(Have beacon) want=(ShipLanding: loaded)
2024-03-10T22:36:39.5824206Z AT-0501.7: AP: Scripting: stopped
2024-03-10T22:36:39.5824542Z AT-0501.8: AP: Airspeed 1 calibrated
@IamPete1
Copy link
Member

We should always get "Scripting: stopped" in the restart case, but it should always then restart.

@IamPete1
Copy link
Member

Maybe we just need to wait longer in CI for the next message to come through?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants