Crate haply

Source
Expand description

Haply Robotics Client Library

This crate provides a Rust interface for interacting with Haply haptic devices through the Haply Inverse Service. It supports both HTTP and WebSocket communications for device control and state management.

Re-exports§

pub use device::HaplyDevice;
pub use physics::compute_total_force;
pub use physics_model::Cube;
pub use physics_model::Sphere;

Modules§

device
Device module provides the core functionality for interacting with Haply haptic devices. It handles device communication, state management, and command processing through both HTTP and WebSocket protocols.
device_model
http
HTTP client module for communicating with the Haply Inverse Service. Provides functionality for querying device information and service status.
physics
Physics computation module for haptic interactions. Provides utilities for calculating forces and interactions with virtual objects.
physics_model
websocket
WebSocket client module for real-time communication with Haply devices. Handles bidirectional communication for state updates and command transmission.