12-26-2022 restore Return-to-Top function. Header-only link is no longer recognized, now requires full URL.
@ -31,7 +31,7 @@ Change the default "text" to the actual message that you want. The OpMode will
|
|||||||
|
|
||||||
Unlike the regular typed Telemetry that appears on the DS screen, spoken audio Telemetry does not require a "Telemetry.update" command.
|
Unlike the regular typed Telemetry that appears on the DS screen, spoken audio Telemetry does not require a "Telemetry.update" command.
|
||||||
|
|
||||||
[<p align="right"><i>Return to Top</i>](#introduction)<p>
|
<p align="right"><i>[[Return to Top|https://github.com/FIRST-Tech-Challenge/FtcRobotController/wiki/Driver Station Speech Telemetry]]</i><p>
|
||||||
|
|
||||||
## Step 2 - Optional - allow time to finish
|
## Step 2 - Optional - allow time to finish
|
||||||
|
|
||||||
@ -61,7 +61,7 @@ Using timers in a **TeleOp** program (_iterative_ OpMode) is different. The abo
|
|||||||
|
|
||||||
_Note: more uses of Timers in FTC Blocks are described in [this FTC Wiki tutorial](https://github.com/FIRST-Tech-Challenge/FtcRobotController/wiki/Timers-in-FTC-Blocks#timer-examples)._
|
_Note: more uses of Timers in FTC Blocks are described in [this FTC Wiki tutorial](https://github.com/FIRST-Tech-Challenge/FtcRobotController/wiki/Timers-in-FTC-Blocks#timer-examples)._
|
||||||
|
|
||||||
[<p align="right"><i>Return to Top</i>](#introduction)<p>
|
<p align="right"><i>[[Return to Top|https://github.com/FIRST-Tech-Challenge/FtcRobotController/wiki/Driver Station Speech Telemetry]]</i><p>
|
||||||
|
|
||||||
## Step 3 - Testing
|
## Step 3 - Testing
|
||||||
|
|
||||||
@ -75,7 +75,7 @@ If the words don't sound the way you want, adjust the text. Clearly understood
|
|||||||
|
|
||||||
**Those are the basics! Enjoy this fun and useful feature of FTC Blocks.**
|
**Those are the basics! Enjoy this fun and useful feature of FTC Blocks.**
|
||||||
|
|
||||||
[<p align="right"><i>Return to Top</i>](#introduction)<p>
|
<p align="right"><i>[[Return to Top|https://github.com/FIRST-Tech-Challenge/FtcRobotController/wiki/Driver Station Speech Telemetry]]</i><p>
|
||||||
|
|
||||||
***
|
***
|
||||||
|
|
||||||
@ -88,7 +88,7 @@ If the words don't sound the way you want, adjust the text. Clearly understood
|
|||||||
- [Toggle debug audio](#toggle-debug-audio)
|
- [Toggle debug audio](#toggle-debug-audio)
|
||||||
- [Boolean for playback completion](#boolean-for-playback-completion)
|
- [Boolean for playback completion](#boolean-for-playback-completion)
|
||||||
|
|
||||||
[<p align="right"><i>Return to Top</i>](#introduction)<p>
|
<p align="right"><i>[[Return to Top|https://github.com/FIRST-Tech-Challenge/FtcRobotController/wiki/Driver Station Speech Telemetry]]</i><p>
|
||||||
|
|
||||||
***
|
***
|
||||||
|
|
||||||
@ -102,7 +102,7 @@ Speak _"Drive forward 10 inches and stop."_ - did that happen?
|
|||||||
|
|
||||||
If your OpMode is not behaving as expected, audio feedback can help you find the problem in your code.
|
If your OpMode is not behaving as expected, audio feedback can help you find the problem in your code.
|
||||||
|
|
||||||
[<p align="right"><i>Return to Top</i>](#introduction)<p>
|
<p align="right"><i>[[Return to Top|https://github.com/FIRST-Tech-Challenge/FtcRobotController/wiki/Driver Station Speech Telemetry]]</i><p>
|
||||||
|
|
||||||
## Numeric and Boolean values
|
## Numeric and Boolean values
|
||||||
|
|
||||||
@ -120,7 +120,7 @@ _Note: this code sample illustrates the concept of speaking sensor values. Do n
|
|||||||
|
|
||||||
The "create text" Block expands the ways that DS Speech can help with development and debugging. And in competition, this can reduce the need for a Coach/Driver to constantly monitor and call out robot data from the DS screen.
|
The "create text" Block expands the ways that DS Speech can help with development and debugging. And in competition, this can reduce the need for a Coach/Driver to constantly monitor and call out robot data from the DS screen.
|
||||||
|
|
||||||
[<p align="right"><i>Return to Top</i>](#introduction)<p>
|
<p align="right"><i>[[Return to Top|https://github.com/FIRST-Tech-Challenge/FtcRobotController/wiki/Driver Station Speech Telemetry]]</i><p>
|
||||||
|
|
||||||
## Sound triggers in TeleOp
|
## Sound triggers in TeleOp
|
||||||
|
|
||||||
@ -146,7 +146,7 @@ You can also use a **timer and Boolean together**. This is shown as Example #5
|
|||||||
|
|
||||||
All these solutions can also be used when the audio is **triggered by a sensor** or other event on the robot. However if the audio starts when a touch sensor is pressed, for example, the playback could keep starting continuously if the sensor stays "pressed". Annoying! Use a timer and/or flag to initiate a **single start**, allowing the iterative OpMode to continue looping without repeating the audio starts.
|
All these solutions can also be used when the audio is **triggered by a sensor** or other event on the robot. However if the audio starts when a touch sensor is pressed, for example, the playback could keep starting continuously if the sensor stays "pressed". Annoying! Use a timer and/or flag to initiate a **single start**, allowing the iterative OpMode to continue looping without repeating the audio starts.
|
||||||
|
|
||||||
[<p align="right"><i>Return to Top</i>](#introduction)<p>
|
<p align="right"><i>[[Return to Top|https://github.com/FIRST-Tech-Challenge/FtcRobotController/wiki/Driver Station Speech Telemetry]]</i><p>
|
||||||
|
|
||||||
## Languages
|
## Languages
|
||||||
|
|
||||||
@ -199,7 +199,7 @@ If that Block's drop-down menu still does not offer the code you need, pull the
|
|||||||
|
|
||||||
In some cases, a language code alone will work, with no country code needed. _¡Buena suerte!_ _Bonne chance!_
|
In some cases, a language code alone will work, with no country code needed. _¡Buena suerte!_ _Bonne chance!_
|
||||||
|
|
||||||
[<p align="right"><i>Return to Top</i>](#introduction)<p>
|
<p align="right"><i>[[Return to Top|https://github.com/FIRST-Tech-Challenge/FtcRobotController/wiki/Driver Station Speech Telemetry]]</i><p>
|
||||||
|
|
||||||
## Toggle debug audio
|
## Toggle debug audio
|
||||||
|
|
||||||
@ -213,7 +213,7 @@ _Note: consider adding timed pauses between robot actions, also subject to the s
|
|||||||
|
|
||||||
A more advanced solution is for the Driver/Coach to set this toggle during INIT, using the gamepad. A fun programming exercise!
|
A more advanced solution is for the Driver/Coach to set this toggle during INIT, using the gamepad. A fun programming exercise!
|
||||||
|
|
||||||
[<p align="right"><i>Return to Top</i>](#introduction)<p>
|
<p align="right"><i>[[Return to Top|https://github.com/FIRST-Tech-Challenge/FtcRobotController/wiki/Driver Station Speech Telemetry]]</i><p>
|
||||||
|
|
||||||
## Boolean for playback completion
|
## Boolean for playback completion
|
||||||
|
|
||||||
@ -227,7 +227,7 @@ Again, the first one or two playbacks might need extra time for processing. Con
|
|||||||
|
|
||||||
Note the above code sample should **not** be placed in the RUN section of an iterative OpMode, as discussed above in [Sound triggers in TeleOp](#sound-triggers-in-teleop). It could be used in the INIT section, or in a linear (Autonomous) OpMode.
|
Note the above code sample should **not** be placed in the RUN section of an iterative OpMode, as discussed above in [Sound triggers in TeleOp](#sound-triggers-in-teleop). It could be used in the INIT section, or in a linear (Autonomous) OpMode.
|
||||||
|
|
||||||
[<p align="right"><i>Return to Top</i>](#introduction)<p>
|
<p align="right"><i>[[Return to Top|https://github.com/FIRST-Tech-Challenge/FtcRobotController/wiki/Driver Station Speech Telemetry]]</i><p>
|
||||||
|
|
||||||
***
|
***
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user