Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement pico temperature acquisition function #60

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

Nari-19
Copy link
Contributor

@Nari-19 Nari-19 commented Nov 11, 2024

Implemented functions to acquire pico_temperature data via csp.

@Nari-19 Nari-19 force-pushed the pico_temp branch 5 times, most recently from cba07d9 to 6591306 Compare November 13, 2024 01:34
@Nari-19 Nari-19 changed the title Fix a program to get temperature data Implement a program to get temperature data Nov 13, 2024
@Nari-19 Nari-19 changed the title Implement a program to get temperature data Implement pico temperature acquisition function Nov 13, 2024
@Nari-19 Nari-19 force-pushed the pico_temp branch 2 times, most recently from 0a18c89 to e975776 Compare November 15, 2024 06:35
@Nari-19 Nari-19 force-pushed the pico_temp branch 2 times, most recently from 71e9d93 to fb4e568 Compare November 25, 2024 09:41
This commit implements a telecommand for temperature retrieval.
It uses the port number (11)
and temperature data type (float) defined in MCS.

temp.c is modified to use zephyr's sensor API (fetch and get)
for temperature retrieval.
The Fetch and Get API is selected
because the Zephyr kernel of this satellite is version 3.7
and the newer Read and Decode API is still unstable.

Signed-off-by: Riho Natsushima <nasshi7224@gmail.com>
@yashi yashi merged commit 2f93c95 into spacecubics:main Nov 25, 2024
20 checks passed
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