File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
- FROM debian:stretch -slim
1
+ FROM debian:trixie -slim
2
2
3
3
RUN dpkg --add-architecture armel
4
4
5
5
RUN apt-get update
6
- RUN sed -i "s#deb http://security.debian.org/debian-security stretch/updates main#deb http://deb.debian.org/debian-security stretch/updates main#g" /etc/apt/sources.list
6
+ # RUN sed -i "s#deb http://security.debian.org/debian-security stretch/updates main#deb http://deb.debian.org/debian-security stretch/updates main#g" /etc/apt/sources.list
7
7
8
8
RUN apt-get --yes install curl cmake pkg-config clang g++ g++-arm-linux-gnueabi crossbuild-essential-armel libssl-dev libssl-dev:armel libclang-dev \
9
9
&& rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ fn main() -> Ev3Result<()> {
7
7
let large_motor = LargeMotor :: get ( MotorPort :: OutA ) ?;
8
8
let medium_motor = MediumMotor :: get ( MotorPort :: OutB ) ?;
9
9
10
+ // Set the initial speed so that the motors will move
11
+ large_motor. set_speed_sp ( 300 ) ?;
12
+ medium_motor. set_speed_sp ( 300 ) ?;
13
+
10
14
large_motor. run_to_rel_pos ( Some ( 360 ) ) ?;
11
15
medium_motor. run_to_rel_pos ( Some ( 180 ) ) ?;
12
16
You can’t perform that action at this time.
0 commit comments