Skip to content

Instantly share code, notes, and snippets.

@RJ722
Created July 7, 2019 18:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RJ722/fae9ddca2e0349cca61316224a603c66 to your computer and use it in GitHub Desktop.
Save RJ722/fae9ddca2e0349cca61316224a603c66 to your computer and use it in GitHub Desktop.

NOTES on how to structure future code for AUV 2020 (Meeting on July 7, 2019):

  • Use a logger rather than random print statements.
  • We should use rosbags to record mock data (for testing in simulation) and make an abstract class (eg. mocking NodeRead), which would throw that random data.
  • Install flake8 on vim to prevent badly written code.
  • Don't leave any data unattended (like z-axis data from IMU).
  • Make tearDown for ever sensor so that it clears every resource they are using, therefore freeing up memory for other things.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment