Skip to content

Vertical Angle of Installation Position Adjustment - #451

Open
scotttimmins wants to merge 3 commits into
EverythingSmartHome:mainfrom
scotttimmins:main
Open

Vertical Angle of Installation Position Adjustment#451
scotttimmins wants to merge 3 commits into
EverythingSmartHome:mainfrom
scotttimmins:main

Conversation

@scotttimmins

Copy link
Copy Markdown
Contributor

This addresses #381.

This adds an Installation Angle Vertical config number (-45–45°) alongside the existing horizontal angle. The vertical angle scales target X/Y coordinates by cos(angle_y), correcting the distance error that occurs when the sensor is mounted high in a top corner.

@EverythingSmartHome

Copy link
Copy Markdown
Owner

Cool thanks! I will try and give this a test out shortly

Realised that cos(x) === cos(-x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants