Skip to content

Commit

Permalink
Replace AMBLDC project with AMCBLDC experimental (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfussi66 authored Sep 5, 2024
1 parent 0520b3f commit 40b0275
Show file tree
Hide file tree
Showing 466 changed files with 21 additions and 13 deletions.
Binary file modified boards/amcbldc/messaging/can_decoder.slx
Binary file not shown.
Binary file modified boards/amcbldc/messaging/can_encoder.slx
Binary file not shown.
Binary file modified boards/amcbldc/messaging/format_can_id.slx
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info>
<Category UUID="FileClassCategory">
<Label UUID="design"/>
</Category>
</Info>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info location="can_multiple_messages.slx" type="File"/>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<Info>
<Category UUID="FileClassCategory">
<Label UUID="design" />
<Label UUID="design"/>
</Category>
</Info>
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<?xml version='1.0' encoding='UTF-8'?>
<Info location="AMC_BLDC.slx" type="File" />
<Info location="AMC_BLDC.slx" type="File"/>
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<?xml version='1.0' encoding='UTF-8'?>
<Info Name="AMC_BLDC" />
<?xml version="1.0" encoding="UTF-8"?>
<Info Name="AMC_BLDC_legacy"/>
Binary file not shown.
Binary file not shown.
Binary file modified boards/amcbldc/sim2can/send_receive.slx
Binary file not shown.
Binary file not shown.
Binary file modified boards/amcbldc/supervisor/SupervisorFSM_TX.slx
Binary file not shown.
Binary file modified boards/amcbldc/system/AMC_BLDC.slx
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
MotionControlInitConf(1).pids.velocityPID.type = ControlModes.Velocity;
MotionControlInitConf(1).pids.velocityPID.OutMax = single(0);
MotionControlInitConf(1).pids.velocityPID.OutMin = single(0);
MotionControlInitConf(1).pids.velocityPID.P = single(-3e-5);
MotionControlInitConf(1).pids.velocityPID.I = single(-3e-5);
MotionControlInitConf(1).pids.velocityPID.P = single(-20);
MotionControlInitConf(1).pids.velocityPID.I = single(-20);
MotionControlInitConf(1).pids.velocityPID.D = single(0);
MotionControlInitConf(1).pids.velocityPID.N = single(10);
MotionControlInitConf(1).pids.velocityPID.N = single(100);
MotionControlInitConf(1).pids.velocityPID.I0 = single(0);
MotionControlInitConf(1).pids.velocityPID.D0 = single(0);
MotionControlInitConf(1).pids.velocityPID.shift_factor = uint8(0);
MotionControlInitConf(1).pids.velocityPID.shift_factor = uint8(10);
MotionControlInitConf(1).pids.positionPID = struct;
MotionControlInitConf(1).pids.positionPID.type = ControlModes.Position;
MotionControlInitConf(1).pids.positionPID.OutMax = single(0);
Expand All @@ -56,7 +56,7 @@
MotionControlInitConf(1).motor.externals.has_torque_sens = false;
MotionControlInitConf(1).motor.externals.encoder_tolerance = uint8(0);
MotionControlInitConf(1).motor.externals.pole_pairs = uint8(7);
MotionControlInitConf(1).motor.externals.rotor_encoder_resolution = int16(16000);
MotionControlInitConf(1).motor.externals.rotor_encoder_resolution = int16(0);
MotionControlInitConf(1).motor.externals.rotor_index_offset = int16(0);
MotionControlInitConf(1).motor.externals.use_index = false;
MotionControlInitConf(1).motor.Kbemf = single(0);
Expand Down
Binary file added boards/amcbldc/system/dictionaries/amcbldc.sldd
Binary file not shown.
Binary file modified boards/amcbldc/system/dictionaries/can_messaging.sldd
Binary file not shown.
File renamed without changes.
File renamed without changes.
Binary file not shown.
Binary file removed boards/amcbldc/tests/control/control_pmsm.slx
Binary file not shown.
Binary file removed boards/amcbldc/tests/motor/pmsm.slx
Binary file not shown.
Binary file modified boards/amcbldc/tests/supervisor/TestSupervisorFSM_TX.slx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed boards/amcbldc_experimental/system/AMC_BLDC.slx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added boards/amcbldc_legacy/messaging/can_decoder.slx
Binary file not shown.
Binary file added boards/amcbldc_legacy/messaging/can_encoder.slx
Binary file not shown.
Binary file added boards/amcbldc_legacy/messaging/format_can_id.slx
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version='1.0' encoding='UTF-8'?>
<Info location="AMC_BLDC.slx" type="File" />
Loading

0 comments on commit 40b0275

Please sign in to comment.