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

Make logger write to file #306

Merged
merged 2 commits into from
Jun 1, 2017
Merged

Make logger write to file #306

merged 2 commits into from
Jun 1, 2017

Conversation

BarbourSmith
Copy link
Member

Writes all messages from the machine to the file log.txt in the Ground Control folder

@BarbourSmith BarbourSmith merged commit 83f86bd into master Jun 1, 2017
@BarbourSmith BarbourSmith deleted the make-logger-write-to-file branch June 1, 2017 17:31
BarbourSmith added a commit that referenced this pull request Feb 2, 2018
This is a proposed fix for the issue where the machine will not move again after pressing the stop button.

The solution is to indicate that when a stop has been sent it will free up the entire buffer. As soon as the OK message is recieved to indicate that the stop command has been processed the entire buffer is marked as free.

One more change I would like to make if we like this solution is to change all of the hard coded 256s in there to be a #define so it is more clear why that number is used and the code can be easily modified for different buffer sizes.

Closes #306
BarbourSmith added a commit that referenced this pull request Feb 3, 2018
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

Successfully merging this pull request may close these issues.

1 participant