~xdavidwu/motion-control

26a4364d5eac97a8a383d12e7ff751e7bca067cb — xdavidwu 2 years ago cf4d937
motion-control: reduce yaw downscale

this make movements (subjectively?) more friendly in general case
1 files changed, 1 insertions(+), 1 deletions(-)

M cmd/motion-control/main.ha
M cmd/motion-control/main.ha => cmd/motion-control/main.ha +1 -1
@@ 102,7 102,7 @@ export fn main() int = {

		let attitude = complementary::read_euler(complementary);
		buf.x = ((attitude.2 / math::PI * 180.0): int / 8): i8;
		buf.y = ((attitude.1 / math::PI * 180.0): int / 8): i8;
		buf.y = ((attitude.1 / math::PI * 180.0): int / 4): i8;
		match (udp::send(sock, buf.bytes)) {
		case let err: net::error =>
			fmt::fatalf("Cannot send(): {}", net::strerror(err));