前言
- 要操纵机械臂,学习一下基本知识
目录
参考
学习记录
设置波特率(必要时)
1 | sudo stty -F /dev/ttyS0 9600 |
cytonviwer安装
从USB插上机械臂才能够进行实验
1 | cd ~/ProgramFile/Robai/Cyton\ Gamma\ 1500\ Viewer_4.0.12-20160307/bin/ |
1 | This application failed to start because it could not find or load the Qt platform plugin "xcb". |
- 搞了半天没解决,换台电脑试试。
- 换台电脑也一样,需要设置环境变量
1 | export LD_LIBRARY_PATH="/home/zs/catkin_ws/src/cyton_actin_ros_driver/Robai/Cyton Gamma 1500 Viewer_4.0.12-20160307/lib" |
ros包安装
1 | git clone https://git.lcsr.jhu.edu/ggarime1/cyton_actin_ros_driver.git |
Viwer 使用
1 | cd '/home/zs/Downloads/TestingPackages/sim_ws/src/cyton_actin_ros_driver/Robai/Cyton Gamma 1500 Viewer_4.0.12-20160307/bin' |
- Think of this dragger frame as the desired position of the active end effector of the model. You can move the position and orientation of the dragger by clicking and dragging the mouse. Dragging with the left mouse button changes the translation of the dragger. Dragging with the right mouse button changes the orientation. Scrolling the mouse wheel moves the dragger towards and away from the screen. Holding the x key will constrain the movement to the x axis of the viewer plane, and y will constrain the movement to the y axis of the viewer plane. The robot model will not try and move unless the simulation is running. Run the simulation by clicking play and the robot should follow the guide frame.
ROS包构建
1 | # CMakeLists.txt |
1 | # CytonConfig.cmake |
- 下载cyton_gamma_1500_description
- 接下来catkin_make