Commit 4c70d640 authored by Lukas Bram's avatar Lukas Bram
Browse files

Set speed limit in JavaAutopilot

parent 457d780c
Pipeline #426497 passed with stage
in 56 seconds
......@@ -125,6 +125,8 @@ public class JavaAutopilot extends EEComponent implements Inspectable {
trajX = newTrajX;
} else if (msg.isMsg(batteryMsg)) {
batteryLevel = (double) msg.message;
} else if (msg.isMsg(upperSpeedLimitMsg)) {
upperSpeedLimitArr = (double[]) msg.message;
}
else {
for (int i=0; i<sensorMsg.size(); i++){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment