Skip to content

Class Diagram

sangyeop edited this page Apr 6, 2026 · 60 revisions

APP

classDiagram

    namespace HAL {
        class Input {
            <<interface>>
            +read()
        }
        class Output {
            <<interface>>
            +write()
        }
    }

    namespace APP {
        class GCU{}
        class CAM_IR{}
        class GPS_INU{}
        class Servo{}
    }

    namespace OSAL {
        class Timer {
            <<interface>>
            +delay_ms()
        }
        class Queue {
            <<interface>>
            +push()
            +pull()
        }
    }

    namespace COAL {
        class Communication{
            <<interface>>
            +send()
            +receive()
        }
    }

GCU *-- Timer
GCU *-- Queue
GCU *-- Input
GCU *-- Output
GCU *-- Communication
Loading

COAL

OSAL

HAL

DTO

common

classDiagram
    class common_parameter{
      uint16_t message_id
      uint8_t mcu_voltage
      uint8_t cpu_temperature
      uint8_t cpu_usage
      uint8_t ram_usage
      uint8_t heap_usage
    }

    class feature_inspect_finish_res {
        uint16_t message_id
    }

    class reboot_command {
        uint16_t message_id
        subsystem target
    }
Loading

ACT

classDiagram
   class act_info{
    uint16_t message_id
    uint8_t act_status
    int32_t a_motor_theta
    int32_t a_motor_omega
    int32_t b_motor_theta
    int32_t b_motor_omega
    
   }

   class pin_control_res{
    uint16_t message_id
   }

   class pin_control_req{
    uint16_t message_id
    int32_t a_motor_theta
    int32_t b_motor_theta
   }
Loading

GCU

classDiagram
Loading

IMU

classDiagram
Loading

SKR

classDiagram
    SKR_info          
    SRK_info : uint16_t message_id
    SRK_info : skr_status status
    SRK_info : common-parameter com_param    
    
    SRK_dist
    SRK_dist : uint16_t message_id
    SRK_dist : int16_t srk_dist
Loading

UI

classDiagram
    class feature_inspect_command {
        uint16_t message_id
        uint32_t loop_count
    }
Loading

Clone this wiki locally