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

arm.set_position(x,y,z) is not working with UArmConnectException #14

Open
quinnliu opened this issue Sep 30, 2020 · 2 comments
Open

arm.set_position(x,y,z) is not working with UArmConnectException #14

quinnliu opened this issue Sep 30, 2020 · 2 comments

Comments

@quinnliu
Copy link

quinnliu commented Sep 30, 2020

This problem was self fixed :)

@quinnliu
Copy link
Author

quinnliu commented Sep 30, 2020

UPDATE: running q@Q-336-MacBook-Pro:~/Documents/jia.com> uarm_helper firmware -d fixed the previous problem copied from the master branch on github

However, my arm.set_position(150, 150, 150) = False always returns False && my arm.get_position() = [nan, nan, nan] always is nan

Here is the output of all the current API functions I have called:

q@Q-336-MacBook-Pro:~/Documents/jia.com> python control_uarm_metal.py 
uarm_ports() =  ['/dev/cu.usbserial-A600CRPH']
>>>>>> running control_uarm_metal()...
pyuarm - INFO - pyuarm version: 2.2.5.3
pyuarm - INFO - Connecting from port - /dev/cu.usbserial-A600CRPH...
pyuarm - INFO - Connected...
pyuarm - INFO - Firmware Version: 2.2.1
arm.get_firmware_version() =  None
arm.get_hardware_version() =  None
arm.get_position() =  [nan, nan, nan]
arm.get_rom_data(2048) =  238
arm.get_servo_angle() =  [nan, nan, nan, 0.0]
arm.get_simulation(150, 150, 150) =  ['v1']
arm.get_sn_number() =  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
arm.get_tip_sensor() =  False
arm.is_connected() =  True
arm.is_moving() =  False
arm.is_ready() =  False
arm.set_buzzer(34, 2) =  True
arm.get_sn_number() =  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
arm.set_gripper(True) =  True
arm.set_position(150, 150, 150) =  False
arm.set_pump(True) =  True
arm.set_servo_angle(0, 60) =  True
arm.set_servo_angle(1, 60) =  True
arm.set_servo_angle(2, 60) =  True
arm.set_servo_angle(3, 60) =  True
>>>>>> done control_uarm_metal()...

@quinnliu
Copy link
Author

quinnliu commented Sep 30, 2020

Is there a way for me to visit the pyuarm API for version 2.2.5.3 specifically?

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

1 participant