Simulation - sim/: the unchanged robot firmware compiled into hexapod_sim.dll against PC stand-ins (Arduino, Servo, Wire + register-level MPU6050, RF24 with matching-config radio), a kinematic body model (support plane + planted-foot odometry) that also drives the simulated IMU, and a headless smoke test (sim_smoke). build.ps1 builds and tests. - Hexapod_Simulation_Unity/ folded in (history kept in a bundle outside the repo). Assets/HexapodSim loads the DLL, drives the existing leg rig, and offers joystick / keyboard / robot-serial input plus a test panel. Robot (all found or confirmed in the simulation) - Config.h geometry taken from the Unity model. - IK femur elevation sign, gait stance direction, body pose rotation direction, yaw lever arm. - Stance feet integrated from the current command; gait restarts at mid-stance; heading integrates the applied turn rate, only while walking. - Leg clearance and reach checks (Limits::feetFeasible); walk command and body pose scaled as a whole, pose scale rate-limited, planted feet guarded so the body never snaps or legs collide. - Robot-gyro self-leveling as an integrator. - Heading mode: steering relative to the body; S walks backward. - Standing height from the remote (STANCE_HEIGHT_RANGE_MM). Protocol v3 (reflash both boards) - CmdPacket gains body_height (22 bytes). Remote - Height slider (Nextion hHeight/nHeight, serial [ ]). - Fixed unspecified I2C read order in RemoteIMU. LEGACY/: owner's old Nextion HMI and remote hardware assets. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
78 lines
2.2 KiB
Plaintext
78 lines
2.2 KiB
Plaintext
%YAML 1.1
|
|
%TAG !u! tag:unity3d.com,2011:
|
|
--- !u!850595691 &4890085278179872738
|
|
LightingSettings:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_Name: MainSettings
|
|
serializedVersion: 10
|
|
m_EnableBakedLightmaps: 1
|
|
m_EnableRealtimeLightmaps: 1
|
|
m_RealtimeEnvironmentLighting: 1
|
|
m_BounceScale: 1
|
|
m_AlbedoBoost: 1
|
|
m_IndirectOutputScale: 1
|
|
m_UsingShadowmask: 1
|
|
m_BakeBackend: 1
|
|
m_LightmapMaxSize: 1024
|
|
m_LightmapSizeFixed: 0
|
|
m_UseMipmapLimits: 1
|
|
m_BakeResolution: 40
|
|
m_Padding: 2
|
|
m_LightmapCompression: 3
|
|
m_LightmapPackingMode: 1
|
|
m_LightmapPackingMethod: 0
|
|
m_XAtlasPackingAttempts: 16384
|
|
m_XAtlasBruteForce: 0
|
|
m_XAtlasBlockAlign: 0
|
|
m_XAtlasRepackUnderutilizedLightmaps: 1
|
|
m_AO: 0
|
|
m_AOMaxDistance: 1
|
|
m_CompAOExponent: 1
|
|
m_CompAOExponentDirect: 0
|
|
m_ExtractAO: 0
|
|
m_MixedBakeMode: 2
|
|
m_LightmapsBakeMode: 1
|
|
m_FilterMode: 1
|
|
m_LightmapParameters: {fileID: 15204, guid: 0000000000000000f000000000000000, type: 0}
|
|
m_ExportTrainingData: 0
|
|
m_EnableWorkerProcessBaking: 1
|
|
m_TrainingDataDestination: TrainingData
|
|
m_RealtimeResolution: 2
|
|
m_ForceWhiteAlbedo: 0
|
|
m_ForceUpdates: 0
|
|
m_PVRCulling: 1
|
|
m_PVRSampling: 1
|
|
m_PVRDirectSampleCount: 32
|
|
m_PVRSampleCount: 512
|
|
m_PVREnvironmentSampleCount: 512
|
|
m_PVREnvironmentReferencePointCount: 2048
|
|
m_LightProbeSampleCountMultiplier: 4
|
|
m_PVRBounces: 2
|
|
m_PVRMinBounces: 2
|
|
m_PVREnvironmentImportanceSampling: 0
|
|
m_PVRFilteringMode: 2
|
|
m_PVRDenoiserTypeDirect: 0
|
|
m_PVRDenoiserTypeIndirect: 0
|
|
m_PVRDenoiserTypeAO: 0
|
|
m_PVRFilterTypeDirect: 0
|
|
m_PVRFilterTypeIndirect: 0
|
|
m_PVRFilterTypeAO: 0
|
|
m_PVRFilteringGaussRadiusDirect: 1
|
|
m_PVRFilteringGaussRadiusIndirect: 1
|
|
m_PVRFilteringGaussRadiusAO: 1
|
|
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
|
|
m_PVRFilteringAtrousPositionSigmaIndirect: 2
|
|
m_PVRFilteringAtrousPositionSigmaAO: 1
|
|
m_RespectSceneVisibilityWhenBakingGI: 0
|
|
m_DirectLightSamplingMode: 2
|
|
m_DirectRISCandidateCount: 4
|
|
m_IndirectLightSamplingMode: 1
|
|
m_IndirectRISCandidateCount: 1
|
|
m_LightAccelerationStructure: 0
|
|
m_LightGridMaxCells: 262144
|
|
m_DirectEmissiveSamplingMode: 2
|
|
m_IndirectEmissiveSamplingMode: 1
|