Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用c++通信之后舵机避开了人脸 #2

Open
helloworld-y-y opened this issue Apr 17, 2022 · 6 comments
Open

用c++通信之后舵机避开了人脸 #2

helloworld-y-y opened this issue Apr 17, 2022 · 6 comments

Comments

@helloworld-y-y
Copy link

helloworld-y-y commented Apr 17, 2022

请教一下,我用c++去写的人脸检测程序,在使用的时候,检测到人脸就直接避开了,无法进行调整

@helloworld-y-y helloworld-y-y changed the title 用c++无法进行通信 用c++通信之后舵机避开了人脸 Apr 24, 2022
@XL1429
Copy link

XL1429 commented Jun 20, 2022

请问舵机跟stm32怎么接线呀

@helloworld-y-y
Copy link
Author

请问舵机跟stm32怎么接线呀

PA6与PA7接口,你可以看STM32的技术手册,看定时器3的端口

@XL1429
Copy link

XL1429 commented Jun 22, 2022

我的板子是stm32f4的,跟这个stm32f103,请问在程序上应该咋修改呀?

@helloworld-y-y
Copy link
Author

我的板子是stm32f4的,跟这个stm32f103,请问在程序上应该咋修改呀?

F1和F4的库是不兼容的,系统时钟设置也没办法做到一致的,需要自行修改。我是直接用的F1的板子

@XL1429
Copy link

XL1429 commented Jun 22, 2022

用f1的板子,程序烧录之后就可以直接实现嘛?

@helloworld-y-y
Copy link
Author

用f1的板子,程序烧录之后就可以直接实现嘛?

可以,我自己是对pid部分进行了修改,作者提供了三种pid算法。我是选用第二个进行修改,你可以自己调试一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants