Skip to main content

robot_stream_core 0.1.1 copy "robot_stream_core: ^0.1.1" to clipboard
robot_stream_core: ^0.1.1 copied to clipboard

Pure-Dart core models, interfaces, and TLS certificate pinning helpers for robot_stream ROS 2 video and telemetry packages.

example/main.dart

import 'dart:math' as math;

import 'package:robot_stream_core/robot_stream_core.dart';

void main() {
  final pose = RobotPose.fromQuaternion(
    x: 1.25,
    y: -0.5,
    qx: 0,
    qy: 0,
    qz: math.sin(math.pi / 4),
    qw: math.cos(math.pi / 4),
    frameId: 'map',
  );
  print('Pose: $pose');

  const goal = NavGoal(x: 2.0, y: 0.0, yaw: 0.0);
  print('Goal: $goal');

  const battery = BatteryState(voltage: 12.1, percentage: 0.85);
  print('Battery: $battery');

  print('Normalized fingerprint: ${normalizeFingerprint('AB:CD:12:34')}');
}
0
likes
160
points
58
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Pure-Dart core models, interfaces, and TLS certificate pinning helpers for robot_stream ROS 2 video and telemetry packages.

Repository (GitHub)
View/report issues
Contributing

Topics

#ros #ros2 #robotics #webrtc #mjpeg

License

BSD-3-Clause (license)

Dependencies

crypto

More

Packages that depend on robot_stream_core