You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
We created a cosmos demo project for testing the command configuration. Here are the two
command configuration layout. Simply, these configurations are same but only they have different
endianness.
To Reproduce
Create new cosmos demo project
Update file demo/config/targets/EXAMPLE/cmd_tlm/example_cmd.txt as below:
Click "Cmd Packets" Tab of COSMOS Command and Telemetry Server Window
For TEST_CMD1 & TEST_CMD2's click "View In Command Sender" and "View Raw" Tabs.
Send both commands and observe the behaviour from the "Raw Command Packet" Screen.
TEST_CMD1 (BIG_ENDIAN) case seems working fine with default values in the configuration.
However, TEST_CMD2 (LITTLE_ENDIAN) case seems not working with default values.
TEST_CMD1
Address Data Ascii
---------------------------------------------------------------------------
00000000: 00 00 FF FF
TEST_CMD2
Address Data Ascii
---------------------------------------------------------------------------
00000000: 00 C0 FF 3F
Expected behavior
TEST_CMD1 is working as expected ( 00 00 FF FF ).
TEST_CMD2 is not working as expected ( 00 00 FF FF ) but ( 00 C0 FF 3F ) as shown in 'View Raw' tab.
Environment :
Centos6 - x86
COSMOS 4.3.0
The text was updated successfully, but these errors were encountered:
To use same database for simulation which is little endian, we should solve this issue. Actually we add some code to your structure.c file. Using "META" feature, we pass some information to structure.c to mark LITTLE_16, LITTLE_32 situations, so we solved this problem. Maybe using META keyword is not proper solution, but working.
Solution: https://github.com/onurturhan/COSMOS/
Describe the bug
We created a cosmos demo project for testing the command configuration. Here are the two
command configuration layout. Simply, these configurations are same but only they have different
endianness.
To Reproduce
TEST_CMD1 (BIG_ENDIAN) case seems working fine with default values in the configuration.
However, TEST_CMD2 (LITTLE_ENDIAN) case seems not working with default values.
Expected behavior
TEST_CMD1 is working as expected ( 00 00 FF FF ).
TEST_CMD2 is not working as expected ( 00 00 FF FF ) but ( 00 C0 FF 3F ) as shown in 'View Raw' tab.
Environment :
The text was updated successfully, but these errors were encountered: