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

Add simple EvAPI and extend EvManager with simplistic SoC calculation #891

Open
wants to merge 20 commits into
base: main
Choose a base branch
from

clang-format

5060f53
Select commit
Loading
Failed to load commit list.
Open

Add simple EvAPI and extend EvManager with simplistic SoC calculation #891

clang-format
5060f53
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Nov 6, 2024 in 0s

16 new issues (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 16
           

Clones added
============
- modules/EvAPI/EvAPI.cpp  2
- modules/EvAPI/EvAPI.hpp  1
         

See the complete overview on Codacy

Annotations

Check notice on line 91 in modules/EvAPI/EvAPI.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

modules/EvAPI/EvAPI.hpp#L91

class member 'EvAPI::api_threads' is never used.

Check notice on line 94 in modules/EvAPI/EvAPI.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

modules/EvAPI/EvAPI.hpp#L94

class member 'EvAPI::info' is never used.

Check notice on line 96 in modules/EvAPI/EvAPI.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

modules/EvAPI/EvAPI.hpp#L96

class member 'EvAPI::api_base' is never used.

Check notice on line 1 in modules/EvAPI/README.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

modules/EvAPI/README.md#L1

Expected: 1; Actual: 0; Below

Check notice on line 1 in modules/EvAPI/README.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

modules/EvAPI/README.md#L1

Expected: [None]; Actual: # EvAPI module documentation

Check notice on line 2 in modules/EvAPI/README.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

modules/EvAPI/README.md#L2

Expected: 80; Actual: 126

Check notice on line 2 in modules/EvAPI/README.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

modules/EvAPI/README.md#L2

Files should end with a single newline character

Check notice on line 35 in modules/EvManager/EvManager.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

modules/EvManager/EvManager.hpp#L35

struct member 'Conf::ac_nominal_voltage' is never used.

Check notice on line 49 in modules/EvManager/EvManager.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

modules/EvManager/EvManager.hpp#L49

struct member 'Conf::soc' is never used.

Check warning on line 28 in modules/EvManager/main/car_simulation.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

modules/EvManager/main/car_simulation.hpp#L28

Variable 'timepoint_last_update' is assigned in constructor body. Consider performing initialization in initialization list.

Check notice on line 115 in modules/EvManager/main/car_simulation.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

modules/EvManager/main/car_simulation.hpp#L115

class member 'CarSimulation::charge_current_a' is never used.

Check notice on line 116 in modules/EvManager/main/car_simulation.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

modules/EvManager/main/car_simulation.hpp#L116

class member 'CarSimulation::charge_voltage_v' is never used.

Check notice on line 117 in modules/EvManager/main/car_simulation.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

modules/EvManager/main/car_simulation.hpp#L117

class member 'CarSimulation::charge_ac' is never used.

Check notice on line 118 in modules/EvManager/main/car_simulation.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

modules/EvManager/main/car_simulation.hpp#L118

class member 'CarSimulation::charge_three_phase' is never used.

Check notice on line 55 in modules/EvManager/main/simulation_data.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

modules/EvManager/main/simulation_data.hpp#L55

struct member 'SimulationData::battery_charge_wh' is never used.

Check notice on line 56 in modules/EvManager/main/simulation_data.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

modules/EvManager/main/simulation_data.hpp#L56

struct member 'SimulationData::battery_capacity_wh' is never used.