Закрыт

Write some software

Этот проект получил 12 заявок от фрилансеров со средней стоимостью заявки в размере $265 AUD.

Получить бесплатно ценовые предложения для подобного проекта
Работодатель работает
Бюджет проекта
$30 - $250 AUD
Всего заявок
12
Описание проекта

I need you to develop some software for me. I would like this software to be developed using Javascript. I have a raspberry pi transmitting data from a Sensehat entering into Node Red. The output is sent to another software program.

The raw data look like this –

{ "acceleration": { "x": [url removed, login to view], "y": [url removed, login to view], "z": [url removed, login to view] }, "gyroscope": { "x": [url removed, login to view], "y": [url removed, login to view], "z": [url removed, login to view] }, "orientation": { "roll": [url removed, login to view], "pitch": [url removed, login to view], "yaw": [url removed, login to view] }, "compass": 155 }

I need a node that converts the raw data into usable data for a software program Track Link navigator.

Job number 1.

[url removed, login to view] needs to be filtered to produce an output range of -90 to +90 instead of the current 0 to 360

[url removed, login to view] needs to be filtered to produce an output range of -90 to +90 instead of the current 0 to 360.

This can be done with the following math

if output >=270 && <=360 newoutput=output-360

if output >=90 && <=180 newoutput=[url removed, login to view]

if output >180 and <270 newoutput=[url removed, login to view]

if output is anything else output=output

The resultant output needs to be formatted to produce data that can be accepted into Track Link software –

$HCHDM,{{[url removed, login to view]}}.0,M*<CR><LF>

$HCHPR,{{[url removed, login to view]}},{{[url removed, login to view]}},{{[url removed, login to view]}},*<CR><LF>

$HCHDT,{{[url removed, login to view]}}.0,T*<CR><LF>

Job number 2.

Produce a TSS1 format string –

The TSS1 data string contains 27 characters in five data fields.

Roll and pitch measurements are in degrees in the range -90 to +90

The resultant pitch output must also be converted to 4 digits.

For example 90 would become 9000 and 5 becomes 0500, [url removed, login to view] would become 0517.

Positive numbers must have a space before them i.e. - xxxxx 9000

Negative numbers have a -sign and no space i.e. - xxxx-9000

The resultant string will look like table 3-4: please see attached data sheet.

:XXAAAASMHHHHQMRRRRSMPPPP[CRLF]

MRRRR – this is the resultant roll data

MPPPP– this is the resultant pitch data

I look forward to working with you

Требуемые навыки

Хотите заработать немного денег?

  • Укажите свой бюджет и срок
  • Опишите свое предложение
  • Получите оплату за свою работу

Нанять фрилансеров, которые также подали заявку в этот проект

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online