cfclient 2024.10__py3-none-any.whl → 2025.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of cfclient might be problematic. Click here for more details.

Files changed (31) hide show
  1. cfclient/__init__.py +5 -3
  2. cfclient/configs/log/PID_tuning/Attitude.json +46 -0
  3. cfclient/configs/log/PID_tuning/Attitude_rate.json +46 -0
  4. cfclient/configs/log/PID_tuning/Position.json +46 -0
  5. cfclient/configs/log/PID_tuning/Velocity.json +46 -0
  6. cfclient/configs/log/PID_tuning_components/Pitch.json +22 -0
  7. cfclient/configs/log/PID_tuning_components/Pitch_rate.json +22 -0
  8. cfclient/configs/log/PID_tuning_components/Position_x.json +22 -0
  9. cfclient/configs/log/PID_tuning_components/Position_y.json +22 -0
  10. cfclient/configs/log/PID_tuning_components/Position_z.json +22 -0
  11. cfclient/configs/log/PID_tuning_components/Roll.json +22 -0
  12. cfclient/configs/log/PID_tuning_components/Roll_rate.json +22 -0
  13. cfclient/configs/log/PID_tuning_components/Velocity_x.json +22 -0
  14. cfclient/configs/log/PID_tuning_components/Velocity_y.json +22 -0
  15. cfclient/configs/log/PID_tuning_components/Velocity_z.json +22 -0
  16. cfclient/configs/log/PID_tuning_components/Yaw.json +22 -0
  17. cfclient/configs/log/PID_tuning_components/Yaw_rate.json +22 -0
  18. cfclient/resources/log_param_doc.json +1 -1
  19. cfclient/ui/main.py +1 -1
  20. cfclient/ui/tabs/FlightTab.py +9 -12
  21. cfclient/utils/periodictimer.py +1 -1
  22. cfclient/version.py +16 -0
  23. cfclient-2025.2.dist-info/METADATA +70 -0
  24. {cfclient-2024.10.dist-info → cfclient-2025.2.dist-info}/RECORD +30 -11
  25. {cfclient-2024.10.dist-info → cfclient-2025.2.dist-info}/WHEEL +1 -1
  26. {cfclient-2024.10.dist-info → cfclient-2025.2.dist-info}/top_level.txt +1 -0
  27. cfconfig/Makefile +51 -0
  28. cfconfig/configblock.py +111 -0
  29. cfclient-2024.10.dist-info/METADATA +0 -53
  30. {cfclient-2024.10.dist-info → cfclient-2025.2.dist-info}/LICENSE.txt +0 -0
  31. {cfclient-2024.10.dist-info → cfclient-2025.2.dist-info}/entry_points.txt +0 -0
cfclient/__init__.py CHANGED
@@ -44,9 +44,11 @@ if not hasattr(sys, 'frozen'):
44
44
  except pkg_resources.DistributionNotFound:
45
45
  VERSION = "dev"
46
46
  else:
47
- with open(os.path.join(module_path, "version.json")) as f:
48
- VERSION = json.load(f)['version']
49
-
47
+ try:
48
+ from .version import __version__ as imported_version
49
+ VERSION = imported_version
50
+ except ImportError:
51
+ VERSION = "dev"
50
52
  try:
51
53
  with open(os.path.join(module_path, "resources/log_param_doc.json")) as f:
52
54
  log_param_doc = json.load(f)
@@ -0,0 +1,46 @@
1
+ {
2
+ "logconfig": {
3
+ "logblock": {
4
+ "variables": [
5
+ {
6
+ "name": "controller.pitch",
7
+ "stored_as": "",
8
+ "fetch_as": "float",
9
+ "type": "TOC"
10
+ },
11
+ {
12
+ "name": "controller.roll",
13
+ "stored_as": "",
14
+ "fetch_as": "float",
15
+ "type": "TOC"
16
+ },
17
+ {
18
+ "name": "controller.yaw",
19
+ "stored_as": "",
20
+ "fetch_as": "float",
21
+ "type": "TOC"
22
+ },
23
+ {
24
+ "name": "stateEstimate.pitch",
25
+ "stored_as": "",
26
+ "fetch_as": "float",
27
+ "type": "TOC"
28
+ },
29
+ {
30
+ "name": "stateEstimate.roll",
31
+ "stored_as": "",
32
+ "fetch_as": "float",
33
+ "type": "TOC"
34
+ },
35
+ {
36
+ "name": "stateEstimate.yaw",
37
+ "stored_as": "",
38
+ "fetch_as": "float",
39
+ "type": "TOC"
40
+ }
41
+ ],
42
+ "name": "Attitude",
43
+ "period": 10
44
+ }
45
+ }
46
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "logconfig": {
3
+ "logblock": {
4
+ "variables": [
5
+ {
6
+ "name": "controller.pitchRate",
7
+ "stored_as": "",
8
+ "fetch_as": "float",
9
+ "type": "TOC"
10
+ },
11
+ {
12
+ "name": "controller.rollRate",
13
+ "stored_as": "",
14
+ "fetch_as": "float",
15
+ "type": "TOC"
16
+ },
17
+ {
18
+ "name": "controller.yawRate",
19
+ "stored_as": "",
20
+ "fetch_as": "float",
21
+ "type": "TOC"
22
+ },
23
+ {
24
+ "name": "gyro.x",
25
+ "stored_as": "",
26
+ "fetch_as": "float",
27
+ "type": "TOC"
28
+ },
29
+ {
30
+ "name": "gyro.y",
31
+ "stored_as": "",
32
+ "fetch_as": "float",
33
+ "type": "TOC"
34
+ },
35
+ {
36
+ "name": "gyro.z",
37
+ "stored_as": "",
38
+ "fetch_as": "float",
39
+ "type": "TOC"
40
+ }
41
+ ],
42
+ "name": "Attitude rate",
43
+ "period": 10
44
+ }
45
+ }
46
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "logconfig": {
3
+ "logblock": {
4
+ "variables": [
5
+ {
6
+ "name": "posCtl.targetX",
7
+ "stored_as": "",
8
+ "fetch_as": "float",
9
+ "type": "TOC"
10
+ },
11
+ {
12
+ "name": "posCtl.targetY",
13
+ "stored_as": "",
14
+ "fetch_as": "float",
15
+ "type": "TOC"
16
+ },
17
+ {
18
+ "name": "posCtl.targetZ",
19
+ "stored_as": "",
20
+ "fetch_as": "float",
21
+ "type": "TOC"
22
+ },
23
+ {
24
+ "name": "stateEstimate.x",
25
+ "stored_as": "",
26
+ "fetch_as": "float",
27
+ "type": "TOC"
28
+ },
29
+ {
30
+ "name": "stateEstimate.y",
31
+ "stored_as": "",
32
+ "fetch_as": "float",
33
+ "type": "TOC"
34
+ },
35
+ {
36
+ "name": "stateEstimate.z",
37
+ "stored_as": "",
38
+ "fetch_as": "float",
39
+ "type": "TOC"
40
+ }
41
+ ],
42
+ "name": "Position",
43
+ "period": 10
44
+ }
45
+ }
46
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "logconfig": {
3
+ "logblock": {
4
+ "variables": [
5
+ {
6
+ "name": "posCtl.targetVX",
7
+ "stored_as": "",
8
+ "fetch_as": "float",
9
+ "type": "TOC"
10
+ },
11
+ {
12
+ "name": "posCtl.targetVY",
13
+ "stored_as": "",
14
+ "fetch_as": "float",
15
+ "type": "TOC"
16
+ },
17
+ {
18
+ "name": "posCtl.targetVZ",
19
+ "stored_as": "",
20
+ "fetch_as": "float",
21
+ "type": "TOC"
22
+ },
23
+ {
24
+ "name": "stateEstimate.vx",
25
+ "stored_as": "",
26
+ "fetch_as": "float",
27
+ "type": "TOC"
28
+ },
29
+ {
30
+ "name": "stateEstimate.vy",
31
+ "stored_as": "",
32
+ "fetch_as": "float",
33
+ "type": "TOC"
34
+ },
35
+ {
36
+ "name": "stateEstimate.vz",
37
+ "stored_as": "",
38
+ "fetch_as": "float",
39
+ "type": "TOC"
40
+ }
41
+ ],
42
+ "name": "Velocity",
43
+ "period": 10
44
+ }
45
+ }
46
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "logconfig": {
3
+ "logblock": {
4
+ "variables": [
5
+ {
6
+ "name": "controller.pitch",
7
+ "stored_as": "",
8
+ "fetch_as": "float",
9
+ "type": "TOC"
10
+ },
11
+ {
12
+ "name": "stateEstimate.pitch",
13
+ "stored_as": "",
14
+ "fetch_as": "float",
15
+ "type": "TOC"
16
+ }
17
+ ],
18
+ "name": "Pitch",
19
+ "period": 10
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "logconfig": {
3
+ "logblock": {
4
+ "variables": [
5
+ {
6
+ "name": "controller.pitchRate",
7
+ "stored_as": "",
8
+ "fetch_as": "float",
9
+ "type": "TOC"
10
+ },
11
+ {
12
+ "name": "gyro.y",
13
+ "stored_as": "",
14
+ "fetch_as": "float",
15
+ "type": "TOC"
16
+ }
17
+ ],
18
+ "name": "Pitch rate",
19
+ "period": 10
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "logconfig": {
3
+ "logblock": {
4
+ "variables": [
5
+ {
6
+ "name": "posCtl.targetX",
7
+ "stored_as": "",
8
+ "fetch_as": "float",
9
+ "type": "TOC"
10
+ },
11
+ {
12
+ "name": "stateEstimate.x",
13
+ "stored_as": "",
14
+ "fetch_as": "float",
15
+ "type": "TOC"
16
+ }
17
+ ],
18
+ "name": "Position x",
19
+ "period": 10
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "logconfig": {
3
+ "logblock": {
4
+ "variables": [
5
+ {
6
+ "name": "posCtl.targetY",
7
+ "stored_as": "",
8
+ "fetch_as": "float",
9
+ "type": "TOC"
10
+ },
11
+ {
12
+ "name": "stateEstimate.y",
13
+ "stored_as": "",
14
+ "fetch_as": "float",
15
+ "type": "TOC"
16
+ }
17
+ ],
18
+ "name": "Position y",
19
+ "period": 10
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "logconfig": {
3
+ "logblock": {
4
+ "variables": [
5
+ {
6
+ "name": "posCtl.targetZ",
7
+ "stored_as": "",
8
+ "fetch_as": "float",
9
+ "type": "TOC"
10
+ },
11
+ {
12
+ "name": "stateEstimate.z",
13
+ "stored_as": "",
14
+ "fetch_as": "float",
15
+ "type": "TOC"
16
+ }
17
+ ],
18
+ "name": "Position z",
19
+ "period": 10
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "logconfig": {
3
+ "logblock": {
4
+ "variables": [
5
+ {
6
+ "name": "controller.roll",
7
+ "stored_as": "",
8
+ "fetch_as": "float",
9
+ "type": "TOC"
10
+ },
11
+ {
12
+ "name": "stateEstimate.roll",
13
+ "stored_as": "",
14
+ "fetch_as": "float",
15
+ "type": "TOC"
16
+ }
17
+ ],
18
+ "name": "Roll",
19
+ "period": 10
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "logconfig": {
3
+ "logblock": {
4
+ "variables": [
5
+ {
6
+ "name": "controller.rollRate",
7
+ "stored_as": "",
8
+ "fetch_as": "float",
9
+ "type": "TOC"
10
+ },
11
+ {
12
+ "name": "gyro.x",
13
+ "stored_as": "",
14
+ "fetch_as": "float",
15
+ "type": "TOC"
16
+ }
17
+ ],
18
+ "name": "Roll rate",
19
+ "period": 10
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "logconfig": {
3
+ "logblock": {
4
+ "variables": [
5
+ {
6
+ "name": "posCtl.targetVX",
7
+ "stored_as": "",
8
+ "fetch_as": "float",
9
+ "type": "TOC"
10
+ },
11
+ {
12
+ "name": "stateEstimate.vx",
13
+ "stored_as": "",
14
+ "fetch_as": "float",
15
+ "type": "TOC"
16
+ }
17
+ ],
18
+ "name": "Velocity x",
19
+ "period": 10
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "logconfig": {
3
+ "logblock": {
4
+ "variables": [
5
+ {
6
+ "name": "posCtl.targetVY",
7
+ "stored_as": "",
8
+ "fetch_as": "float",
9
+ "type": "TOC"
10
+ },
11
+ {
12
+ "name": "stateEstimate.vy",
13
+ "stored_as": "",
14
+ "fetch_as": "float",
15
+ "type": "TOC"
16
+ }
17
+ ],
18
+ "name": "Velocity y",
19
+ "period": 10
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "logconfig": {
3
+ "logblock": {
4
+ "variables": [
5
+ {
6
+ "name": "posCtl.targetVZ",
7
+ "stored_as": "",
8
+ "fetch_as": "float",
9
+ "type": "TOC"
10
+ },
11
+ {
12
+ "name": "stateEstimate.vz",
13
+ "stored_as": "",
14
+ "fetch_as": "float",
15
+ "type": "TOC"
16
+ }
17
+ ],
18
+ "name": "Velocity z",
19
+ "period": 10
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "logconfig": {
3
+ "logblock": {
4
+ "variables": [
5
+ {
6
+ "name": "controller.yaw",
7
+ "stored_as": "",
8
+ "fetch_as": "float",
9
+ "type": "TOC"
10
+ },
11
+ {
12
+ "name": "stateEstimate.yaw",
13
+ "stored_as": "",
14
+ "fetch_as": "float",
15
+ "type": "TOC"
16
+ }
17
+ ],
18
+ "name": "Yaw",
19
+ "period": 10
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "logconfig": {
3
+ "logblock": {
4
+ "variables": [
5
+ {
6
+ "name": "controller.yawRate",
7
+ "stored_as": "",
8
+ "fetch_as": "float",
9
+ "type": "TOC"
10
+ },
11
+ {
12
+ "name": "gyro.z",
13
+ "stored_as": "",
14
+ "fetch_as": "float",
15
+ "type": "TOC"
16
+ }
17
+ ],
18
+ "name": "Yaw rate",
19
+ "period": 10
20
+ }
21
+ }
22
+ }