Skip to content

Commit

Permalink
Merge branch 'devel' of github.com:madcowswe/ODrive into devel
Browse files Browse the repository at this point in the history
  • Loading branch information
madcowswe committed Dec 20, 2020
2 parents 862a6b6 + 95a7c22 commit aa7a7ea
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Firmware/MotorControl/motor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ bool Motor::setup() {
max_dc_calib_ = 0.1f * max_allowed_current_;

if (!gate_driver_.init())
return true;
return false;

return true;
}
Expand Down
2 changes: 1 addition & 1 deletion Firmware/ThirdParty/FreeRTOS/Source/tasks.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ typedef tskTCB TCB_t;

/*lint -save -e956 A manual analysis and inspection has been used to determine
which static variables must be declared volatile. */
PRIVILEGED_DATA TCB_t * volatile pxCurrentTCB = NULL;
__attribute__((used)) PRIVILEGED_DATA TCB_t * volatile pxCurrentTCB = NULL;

/* Lists for ready and blocked tasks. --------------------
xDelayedTaskList1 and xDelayedTaskList2 could be move to function scople but
Expand Down
8 changes: 4 additions & 4 deletions GUI/src/assets/dashboards/Tuning_0_4_12.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@
"vars": [
{
"path": "odrives.odrive0.axis0.controller.pos_setpoint",
"color": "#195bd7"
"color": "#1f77b4"
},
{
"path": "odrives.odrive0.axis0.encoder.pos_estimate",
"color": "#d6941a"
"color": "#ff7f0e"
}
]
},
Expand All @@ -115,11 +115,11 @@
"vars": [
{
"path": "odrives.odrive0.axis0.controller.vel_setpoint",
"color": "#195bd7"
"color": "#1f77b4"
},
{
"path": "odrives.odrive0.axis0.encoder.vel_estimate",
"color": "#d6941a"
"color": "#ff7f0e"
}
]
}
Expand Down
8 changes: 4 additions & 4 deletions GUI/src/assets/dashboards/Tuning_0_5_1.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@
"vars": [
{
"path": "odrives.odrive0.axis0.controller.input_pos",
"color": "#195bd7"
"color": "#1f77b4"
},
{
"path": "odrives.odrive0.axis0.encoder.pos_estimate",
"color": "#d6941a"
"color": "#ff7f0e"
}
]
},
Expand All @@ -115,11 +115,11 @@
"vars": [
{
"path": "odrives.odrive0.axis0.controller.vel_setpoint",
"color": "#195bd7"
"color": "#1f77b4"
},
{
"path": "odrives.odrive0.axis0.encoder.vel_estimate",
"color": "#d6941a"
"color": "#ff7f0e"
}
]
}
Expand Down
19 changes: 12 additions & 7 deletions GUI/src/views/Dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,16 @@ import { JSONView } from "vue-json-component";
import { v4 as uuidv4 } from "uuid";
let plotColors = [
"#195bd7", // blue
"#d6941a", // orange
"#1ad636", // green
"#d61aba", // purple
"#d5241a", // red
"#1f77b4", // blue
"#ff7f0e", // orange
"#2ca02c", // green
"#d62728", // red
"#9467bd", // purple
"#8c564b", // brown
"#e377c2", // pink
"#7f7f7f", // gray
"#bcbd22", // olive
"#17becf", // cyan
];
let odriveEnums = {
Expand All @@ -100,7 +105,7 @@ let odriveEnums = {
value: 1,
},
{
text: "Starup Sequence",
text: "Startup Sequence",
value: 2,
},
{
Expand Down Expand Up @@ -150,7 +155,7 @@ let odriveEnums = {
value: 1,
},
{
text: "Starup Sequence",
text: "Startup Sequence",
value: 2,
},
{
Expand Down

0 comments on commit aa7a7ea

Please sign in to comment.