You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 21, 2020. It is now read-only.
In Modular there are a couple of states that rely on the different presets to determine what to do. For example
@state
def forward(self):
"""
Move forward to the desired location for either the cargo ship or rocket.
"""
if self.target == Target.ROCKET:
# self.drive.move(x)
self.next_state('align_rocket')
elif self.target == Target.CARGO:
# self.drive.move(y)
self.next_state('align_cargo')
Instead of checking the values of target, this method should be implemented in all of the different presets like
In
Modular
there are a couple of states that rely on the different presets to determine what to do. For exampleInstead of checking the values of target, this method should be implemented in all of the different presets like
The text was updated successfully, but these errors were encountered: