Skip to content
This repository has been archived by the owner on Sep 27, 2018. It is now read-only.

Define Control Modes #4

Open
arandell93 opened this issue Jul 27, 2016 · 6 comments
Open

Define Control Modes #4

arandell93 opened this issue Jul 27, 2016 · 6 comments

Comments

@arandell93
Copy link
Member

arandell93 commented Jul 27, 2016

The boat will need several control modes that we can switch between (via commands on the wireless link) for different circumstances. Discussion can be had here about what control modes to have and what they should be used for.

I'll edit this post as we come up with more.

  1. Autonomous - Boat can determine its own path and map completely autonomously. Can use geo-fences to limit the range from home location.
  2. Path Following - Boat autonomously navigates a set of waypoints in sequence
  3. Standby - Boat waits for further instructions/change in control mode
  4. Remote - Boat receives throttle and steering commands over the wireless link
  5. Return Home - Boat clears the waypoint queue and replaces it with a single location; the launch point
  6. Path Upload - Similar to standby, but here the boat is listening for a new series of waypoints to be sent over the wireless link (Can we just use standby for this)
  7. Set Home - Standby, but the boat sets its current location as its new home location
  8. Battery Bypass (Ref. Error Handling Brainstorming #6 ) - Bypasses a critical battery level and returns home autonomously at most efficient speed (Maybe have both an Auto and Remote option for this?)
@arandell93 arandell93 changed the title Define Control Modes (Rev 2) Define Control Modes Nov 8, 2016
@arandell93 arandell93 added this to the Rev 2 milestone Nov 8, 2016
@arandell93 arandell93 changed the title (Rev 2) Define Control Modes Define Control Modes Nov 8, 2016
@arandell93 arandell93 removed this from the Rev 2 milestone Dec 21, 2016
@whymarrh
Copy link
Member

whymarrh commented Feb 3, 2017

@arandell93 does this issue have a home in a particular revision?

@arandell93
Copy link
Member Author

Starting in Rev 1.3 we will need to begin adding control modes in order to switch between our basic 'autonomous' mode and RC. The modes we will need for Rev 1.3 will be:

  1. Remote Control Mode (The mode we currently have)
  2. Single Waypoint Autonomous Mode (as described in Rev 1.3)
  3. Return Home Mode (requires ability to 'set' the home location via Hangashore and have it transmitted and stored on the boat)

@whymarrh
Copy link
Member

Should we move this to the wiki?

@arandell93
Copy link
Member Author

We should, but perhaps not until we have 1.3 implemented so that we have control modes.

whymarrh added a commit that referenced this issue Apr 23, 2017
Move schemas into a directory named "schemas"
@whymarrh
Copy link
Member

whymarrh commented May 4, 2017

Starting in Rev 1.3 we will need to begin adding control modes in order to switch between our basic 'autonomous' mode and RC. The modes we will need for Rev 1.3 will be:

  1. Remote Control Mode (The mode we currently have)
  2. Single Waypoint Autonomous Mode (as described in Rev 1.3)
  3. Return Home Mode (requires ability to 'set' the home location via Hangashore and have it transmitted and stored on the boat)

Do we want to elaborate on these modes:

  • How are modes toggled?
  • What happens when the boat transitions between the modes?

@arandell93
Copy link
Member Author

How are modes toggled?

A joystick button and/or soft button on the GUI would be the most obvious choices IMO. However, we should put in a caveat for some sort of 'heartbeat' such that if wireless comms is lost for a period of time the boat will automatically transition to 'return home' and begin moving toward the last known shoreside position.

What happens when the boat transitions between the modes?

Following a request for a mode change, the boat will need to clear all outputs (set motor speeds to zero) and then do some form of acknowledgement to us that it is indeed transitioning (could be a message over wireless to indicate which state is is transferring from and to which state is it moving). Once the boat has confirmed that transition is complete, we then can begin giving it commands*

*The exception to this is that if the transition is to the 'return home' mode, the boat should simply tell us it has completed the mode transition and then begin moving home. That way if the link it lost it will still return home.

@whymarrh whymarrh removed this from the Rev 1.3 milestone Feb 16, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants