arduino / arduino/ArduinoCore-API

Should we provide a Math.h?

Open
#2 9 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
306
Forks
150
PR merge metrics
No merged PRs in 30d

Description

I think that EulerAngles, Quaternion and any other math structure should be moved into a specific Math.h file.

I imagine that maintaining a Math.h file may quickly become a project on his own if we try to support all the possible mathematical constructs... maybe we should consider adopting an already existing library? Or extract a subset of an existing library?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the existing EulerAngles and Quaternion definitions and reviewing how a proposed Math.h would fit the ArduinoCore-API. The issue does not name files, tests, a preferred library, or acceptance criteria, so the scope and definition of done need to be clarified before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
api, embedded-iot
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.