Formula Student Electronics & Software
The code for the embedded software
Loading...
Searching...
No Matches
utils.hpp File Reference
#include <Arduino.h>
#include "../../CAN_IDs.h"
#include "model/systemData.hpp"
#include "enum_utils.hpp"
Include dependency graph for utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void create_left_wheel_msg (std::array< uint8_t, 5 > &msg, double value)
 Function to create left wheel msg.
 
std::array< uint8_t, 8 > create_debug_message_1 (const SystemData &system_data, uint8_t state, uint8_t state_checkup)
 
std::array< uint8_t, 7 > create_debug_message_2 (const SystemData &system_data)
 

Function Documentation

◆ create_debug_message_1()

std::array< uint8_t, 8 > create_debug_message_1 ( const SystemData system_data,
uint8_t  state,
uint8_t  state_checkup 
)
inline

Definition at line 21 of file utils.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ create_debug_message_2()

std::array< uint8_t, 7 > create_debug_message_2 ( const SystemData system_data)
inline

Definition at line 44 of file utils.hpp.

Here is the caller graph for this function:

◆ create_left_wheel_msg()

void create_left_wheel_msg ( std::array< uint8_t, 5 > &  msg,
double  value 
)

Function to create left wheel msg.

Definition at line 11 of file utils.hpp.

Here is the caller graph for this function: