Structs§
- PidState
- Real PID Controller state and algorithm
- Stdlib
Module - Built-in Standard Library Modules in Sesh (Documentation & API metadata)
Constants§
Functions§
- diff_
drive_ ik - Differential Drive Kinematic Inverse Solver
Given desired linear velocity
linear_v(m/s) and angular velocityangular_w(rad/s), returns left and right wheel PWM speeds (-100 to 100 %). - ekf_
update - 1D Extended Kalman Filter (EKF) state estimation step
- feedforward_
pid - Feed-Forward + PID Controller for high-speed trajectory tracking
- fuse_
imu_ gps - Sensor fusion combining IMU yaw angle with GPS geodetic coordinates
- get_
stdlib_ module - haversine_
distance - Geodetic Earth distance using Haversine formula (meters)
- ik_
3dof_ arm - 3-DOF Analytical Inverse Kinematics solver for a planar/articulated robotic arm Computes joint angles (base_deg, shoulder_deg, elbow_deg) given target (x, y, z)
- lidar_
find_ closest - Scan a 360-degree LiDAR point cloud array and return (min_distance, min_angle_deg)
- lqr_
compute - Linear Quadratic Regulator (LQR) feedback control calculation (-K * x)
- pid_
compute - Stateful PID calculation function for Sesh scripts with genuine damping & integral clamping
- pure_
pursuit - Pure Pursuit geometric path-tracking algorithm Returns (curvature_kappa, angular_velocity_w) given robot pose and target waypoint