Skip to content

Commit

Permalink
Make comments less AI vibes
Browse files Browse the repository at this point in the history
  • Loading branch information
hexbabe committed Oct 11, 2024
1 parent 199c0cd commit 7760858
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/src/robot/client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class RobotClientOptions {
}

/// {@category Viam SDK}
/// Represents a discovery query in the SDK to query for components.
/// Represents a discovery query in the SDK to query for discoverable components.
class DiscoveryQuery {
final String subtype;
final String model;
Expand Down Expand Up @@ -280,10 +280,10 @@ class RobotClient {
return await _client.getCloudMetadata(rpb.GetCloudMetadataRequest());
}

/// Discover components connected to the robot using a more abstract SDK query.
/// Discover components that the robot can connect to, given specific query metadata.
///
/// ```
/// var queries = [DiscoveryQuery(subtype: 'camera', model: 'webcam', extra: {'resolution': '1080p'})];
/// var queries = [DiscoveryQuery(subtype: 'camera', model: 'webcam', extra: {'username': 'admin', 'password': 'admin'})];
/// var discoveredComponents = await machine.discoverComponents(queries);
/// ```
Future<rpb.DiscoverComponentsResponse> discoverComponents([List<DiscoveryQuery> queries = const []]) async {
Expand Down

0 comments on commit 7760858

Please sign in to comment.