This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import lombok.extern.slf4j.Slf4j; | |
| import java.util.Arrays; | |
| import java.util.HashSet; | |
| import java.util.List; | |
| import java.util.Set; | |
| import java.util.stream.Collectors; | |
| public class Test { | |
| public static void main(String[] args) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.acme; | |
| import io.vertx.core.http.HttpMethod; | |
| import org.apache.commons.codec.digest.HmacUtils; | |
| import java.time.Instant; | |
| import static org.apache.commons.codec.digest.HmacAlgorithms.HMAC_SHA_1; | |
| public class Main { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sub offset_drive | |
| call math.muldiv(left_mod, left_target, 1000, 1000 + DRIVE_OFFSET) | |
| call math.muldiv(right_mod, right_target, 1000, 1000 - DRIVE_OFFSET) | |
| motor.right.target = right_mod | |
| motor.left.target = left_mod |
OlderNewer