Title: Issue · GitHub
Open Graph Title: Issue · ExperimentalAvionics/EFIS_ModuleA
X Title: Issue · ExperimentalAvionics/EFIS_ModuleA
Description: Airspeed, Altitude and AoA module for EFIS. Contribute to ExperimentalAvionics/EFIS_ModuleA development by creating an account on GitHub.
Open Graph Description: Airspeed, Altitude and AoA module for EFIS. Contribute to ExperimentalAvionics/EFIS_ModuleA development by creating an account on GitHub.
X Description: Airspeed, Altitude and AoA module for EFIS. Contribute to ExperimentalAvionics/EFIS_ModuleA development by creating an account on GitHub.
Opengraph URL: https://github.com/ExperimentalAvionics/EFIS_ModuleA
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Some questions about the project code and the CAN bus","articleBody":"Hello @ExperimentalAvionics\r\n\r\nMade a small one refactoring your code for `platformio` or `.pio` and replaced all `*ino` files with `*h` files\r\n \r\nI'm trying to figure out how to send altitude via the `CAN` bus\r\nI can't understand why you use `3 bits` to send altitude, even when the altitude is in feet,\r\n\r\n\u003e https://github.com/ExperimentalAvionics/EFIS_ModuleA/blob/b03a0863c105737ba51b5b4a39bdedf4cd190335/EFIS_ModuleA.ino#L185\r\n\r\nThree bits give a huge number gigantic figure and it is excessive.\r\n\r\n\u003e 2^{24} - 1 = 16,777,215\r\n\r\nEven up to `10,000 feet = 3 kilometers`, where small planes don't fly in principle\r\n\r\n\u003e canMsg[4] = AltitudeINT \u003e\u003e 16;\r\n\r\nalways equals `zero`.\r\n\r\nMade this conclusion in the serial port(in HEX):\r\n\r\n\u003e AltitudeINT = 553\r\n\u003e VSI = 77611\r\n\u003e \r\n\u003e canMsg[2]29\r\n\u003e canMsg[3]2\r\n\u003e canMsg[4]0\r\n\u003e canMsg[5]2B\r\n\u003e canMsg[6]2F\r\n\r\nAlso interesting is the variable\r\n\r\n\u003e Pressure_Int = pressure/10;\r\n\r\nDo you use it to get raw altitude values, but this is some kind of nonsense and these are just decibars?\r\nI'm interested in your project, I hope you clarify the above points🙂","author":{"url":"https://github.com/brightproject","@type":"Person","name":"brightproject"},"datePublished":"2024-10-23T01:12:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1/EFIS_ModuleA/issues/1"}
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:f0eee597-75fa-9401-5ce7-e5f3a2e57a4f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BCE6:2D9A49:647EDA:905F40:6A4BE9FF |
| html-safe-nonce | 0a42235de8d2685ae7ad8e8d2bb104d70e6e4fbd2e97db7d223a0449100da666 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0U2OjJEOUE0OTo2NDdFREE6OTA1RjQwOjZBNEJFOUZGIiwidmlzaXRvcl9pZCI6IjYxNzY3NTA1MzM1NDczODczOTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0ad332d3f25680e3efeb89f29409d0960ac9cbcd7818f71f347ff10ab776058a |
| hovercard-subject-tag | repository:154580929 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/ExperimentalAvionics/EFIS_ModuleA/issues/1 |
| twitter:image | https://opengraph.githubassets.com/c1e5d6177481d5e06ba6ff6b202ee61e1fc672957b007d05db3612b641467900/ExperimentalAvionics/EFIS_ModuleA |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c1e5d6177481d5e06ba6ff6b202ee61e1fc672957b007d05db3612b641467900/ExperimentalAvionics/EFIS_ModuleA |
| og:image:alt | Airspeed, Altitude and AoA module for EFIS. Contribute to ExperimentalAvionics/EFIS_ModuleA development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0f5d3ba365b3985d75c32a5957c8635488d58dcf027ae6ae958eee7edaa306a2 |
| turbo-cache-control | no-cache |
| go-import | github.com/ExperimentalAvionics/EFIS_ModuleA git https://github.com/ExperimentalAvionics/EFIS_ModuleA.git |
| octolytics-dimension-user_id | 22760599 |
| octolytics-dimension-user_login | ExperimentalAvionics |
| octolytics-dimension-repository_id | 154580929 |
| octolytics-dimension-repository_nwo | ExperimentalAvionics/EFIS_ModuleA |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 154580929 |
| octolytics-dimension-repository_network_root_nwo | ExperimentalAvionics/EFIS_ModuleA |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f24da9b76b42d77b0bb458f810509565e9ba5f1a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width