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

send_joy_command() not found #1

Open
ColorfulGhost opened this issue Dec 9, 2023 · 1 comment
Open

send_joy_command() not found #1

ColorfulGhost opened this issue Dec 9, 2023 · 1 comment

Comments

@ColorfulGhost
Copy link

ColorfulGhost commented Dec 9, 2023

hello ~
rm_s1_hacker.py

send_joy_command() not found..

replace hacker.twist_robomaster(int(vx), int(vy), int(z))

bus Time out

**➜  robomaster-python-hack git:(main) ✗ ls /dev/*ACM*         
/dev/ttyACM2
➜  robomaster-python-hack git:(main) ✗ cat can0_interface_setup.sh 
sudo slcand -o -c -s8 /dev/ttyACM2 can0
sudo ifconfig can0 up
sudo ifconfig can0 txqueuelen 1000
➜  robomaster-python-hack git:(main) ✗ ifconfig
can0: flags=193<UP,RUNNING,NOARP>  mtu 16
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 1000  (UNSPEC)
        RX packets 64739  bytes 475217 (475.2 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 7456  bytes 57360 (57.3 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0**

image

@ColorfulGhost ColorfulGhost changed the title end_joy_command() not found send_joy_command() not found Dec 9, 2023
@sgrsn
Copy link
Owner

sgrsn commented Dec 13, 2023

Thank you for trying.

According to the commit 301198b history, send_joy_command has been replaced by twist_command.

The bus time out problem may be due to the execution rate, maybe you could try adjusting the receive_msg rate is executed?

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