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

Add stop all robots button #1012

Closed
wants to merge 11 commits into from
Closed

Conversation

aeshub
Copy link
Contributor

@aeshub aeshub commented Sep 19, 2023

No description provided.

@github-actions
Copy link

🔔 Changes in database folder detected 🔔
Do these changes require adding new migrations? 🤔 In that case follow these steps.
If you are uncertain, ask a database admin on the team 😄

@aeshub aeshub added the feature New feature or request label Sep 19, 2023
Comment on lines 568 to 580
// The code below does not work since the request above runs in another thread which may not complete before the code below
/*
string filterQuery = $"?Statuses=Ongoing&Statuses=Pending&PageSize=100&OrderBy=DesiredStartTime";
var currentMissionResponse = await _client.GetAsync("/missions/runs" + filterQuery);
Assert.True(currentMissionResponse.IsSuccessStatusCode);

var missionRuns = await currentMissionResponse.Content.ReadFromJsonAsync<List<MissionRun>>(_serializerOptions);
Assert.True(missionRuns != null);
Assert.NotEmpty(missionRuns);
var newMission = missionRuns.Find(m => m.Tasks != null && JsonSerializer.Serialize(m.Tasks[0].RobotPose.Position) ==
JsonSerializer.Serialize(testPosition));
Assert.NotNull(newMission);
*/
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove comments

Comment on lines 152 to 154
public async Task<ActionResult> ClearInstallationEmergencyState(
[FromRoute] string robotId)
{
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change this to clear emergency state for all robots

@aeshub aeshub mentioned this pull request Sep 19, 2023
@oysand oysand linked an issue Sep 25, 2023 that may be closed by this pull request
1 task
@mrica-equinor
Copy link
Contributor

I am closing this because main has changed to much and I have rebased main but would also have to rebase the aestene/new-branch-test. Continues in #1045

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

Successfully merging this pull request may close these issues.

Add return to home / safe zone functionality
3 participants