from . import PanState

""" Parked State

The Parked state occurs in the following conditions:
    * Daytime
    * Bad Weather
    * System error

As such, the state needs to check for a number of conditions.
"""

class State(PanState):
    def main(self):
        

        return 'exit'

from . import PanState


class State(PanState):

    def main(self):

        next_state = 'shutdown'

        # mount = self.panoptes.observatory.mount

        self.logger.info("I'm parked now.")

        return next_state

Change Parked state to something silly
Change Parked state to something silly

  from . import PanState
  
- """ Parked State
- 
- The Parked state occurs in the following conditions:
-     * Daytime
-     * Bad Weather
-     * System error
- 
- As such, the state needs to check for a number of conditions.
- """
  
  class State(PanState):
+ 
      def main(self):
-         
  
-         return 'exit'
+         next_state = 'shutdown'
  
+         # mount = self.panoptes.observatory.mount
+ 
+         self.logger.info("I'm parked now.")
+ 
+         return next_state
+ 
Change Parked state to something silly
## Code Before:
from . import PanState

""" Parked State

The Parked state occurs in the following conditions:
    * Daytime
    * Bad Weather
    * System error

As such, the state needs to check for a number of conditions.
"""

class State(PanState):
    def main(self):
        

        return 'exit'

## Instruction:
Change Parked state to something silly
## Code After:
from . import PanState


class State(PanState):

    def main(self):

        next_state = 'shutdown'

        # mount = self.panoptes.observatory.mount

        self.logger.info("I'm parked now.")

        return next_state
