Skip to content

An error while sending command through House Keeping (HK) Application #243

@blueed9696

Description

@blueed9696

Describe the bug
A clear and concise description of what the bug is.
I'm trying to add HK application by following ground system guide : https://github.com/nasa/cFS-GroundSystem/blob/main/Guide-GroundSystem.md

I'm getting below error whenever I send command through Ground SYstem GUI.

image

Traceback (most recent call last): File "/home/pi/cFS/tools/cFS-GroundSystem/Subsystems/cmdGui/Parameter.py", line 67, in ProcessSendButton sendSuccess = self.mcu.send_packet() File "/home/pi/cFS/tools/cFS-GroundSystem/Subsystems/cmdGui/MiniCmdUtil.py", line 136, in send_packet self.assemble_packet() File "/home/pi/cFS/tools/cFS-GroundSystem/Subsystems/cmdGui/MiniCmdUtil.py", line 120, in assemble_packet pri_header = self.assemble_pri_header() File "/home/pi/cFS/tools/cFS-GroundSystem/Subsystems/cmdGui/MiniCmdUtil.py", line 77, in assemble_pri_header self.assemble_payload() File "/home/pi/cFS/tools/cFS-GroundSystem/Subsystems/cmdGui/MiniCmdUtil.py", line 99, in assemble_payload endian = type_sig.endian or self.endian UnboundLocalError: local variable 'type_sig' referenced before assignment

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Start Command System -> Display Page 'House Keeping'
  2. Click on 'Send' for any commands
  3. See error

Expected behavior
Send the integer command to the object

Code snips
If applicable, add references to the software.

System observed on:

  • Hardware : Raspberry Pi Zero
  • OS: Raspbian GNU/Linux 11 (bullseye)"
  • Versions : 11 (bullseye)"

Additional context
Add any other context about the problem here.

Reporter Info
Jaehyun Park (UT Dallas)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions