Skip to content

Commit c6f2fa4

Browse files
committed
VIC-13143 say_text pitch: update proto #191
1 parent ae1b90a commit c6f2fa4

File tree

3 files changed

+146
-132
lines changed

3 files changed

+146
-132
lines changed

anki_vector/messaging/messages.proto

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ message StopAllMotorsRequest {
7878
}
7979

8080
// See the StopAllMotors rpc for more details.
81-
message StopAllMotorsResponse {
81+
message StopAllMotorsResponse {
8282
ResponseStatus status = 1;
8383
}
8484

@@ -193,7 +193,7 @@ message PoseStruct {
193193
float x = 1;
194194
float y = 2;
195195
float z = 3;
196-
196+
197197
// Rotation quaternion
198198
float q0 = 4;
199199
float q1 = 5;
@@ -613,7 +613,7 @@ message PhotoTaken {
613613
uint32 photo_id = 1;
614614
}
615615

616-
// Struct containing all the information relevant to how a
616+
// Struct containing all the information relevant to how a
617617
// path should be modified or traversed.
618618
message PathMotionProfile {
619619
float speed_mmps = 1;
@@ -837,7 +837,7 @@ message TurnTowardsFaceResponse {
837837
}
838838

839839
// GoToObject
840-
message GoToObjectRequest {
840+
message GoToObjectRequest {
841841
int32 object_id = 1;
842842
PathMotionProfile motion_prof = 2;
843843
float distance_from_object_origin_mm = 3;
@@ -951,7 +951,8 @@ message VersionStateResponse {
951951
message SayTextRequest {
952952
string text = 1;
953953
bool use_vector_voice = 2;
954-
float duration_scalar = 3;
954+
float duration_scalar = 3; // Ranges from 0.05 (fast) to 20.0 (slow)
955+
float pitch_scalar = 4; // Ranges from -1.0 (low) to +1.0 (high)
955956
}
956957

957958
message SayTextResponse {
@@ -1095,7 +1096,7 @@ enum MasterVolumeLevel {
10951096
VOLUME_HIGH = 4;
10961097
}
10971098

1098-
message MasterVolumeRequest
1099+
message MasterVolumeRequest
10991100
{
11001101
MasterVolumeLevel volume_level = 1;
11011102
}
@@ -1143,7 +1144,7 @@ message EnableMotionDetectionResponse
11431144
ResponseStatus status = 1;
11441145
}
11451146

1146-
// When enabled, camera feed will appear on the robot's face, along with any
1147+
// When enabled, camera feed will appear on the robot's face, along with any
11471148
// detections that are enabled from above messages
11481149
message EnableMirrorModeRequest
11491150
{

0 commit comments

Comments
 (0)