Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bigprint
twins-controller
Commits
20f62a76
Commit
20f62a76
authored
Mar 09, 2020
by
Jayant Khatkar
Browse files
added docs for using the calibration file
parent
e47cb668
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
20f62a76
...
...
@@ -8,6 +8,26 @@ Includes the following important components:
-
connecting with extruder through ros: todo
-
printing the whole thing: todo
Required
:
####
Required
-
pynput
-
gcode2contour
#### How to Run
1.
Source catkin workspace containing ur_robot_driver
```
bash
source
catkin_ws/devel/setup.zsh
```
2.
Run the launch file to connect to the UR5 with the calibration file
```
bash
roslaunch ur_robot_driver ur5e_bringup.launch robot_ip:
=
192.168.1.95 kinematics_config:
=
$(
pwd
)
/calibration.yaml
```
3.
Run the controller file.
```
bash
ipython
-i
controller.py
```
controller.py
View file @
20f62a76
...
...
@@ -74,7 +74,7 @@ class controller:
self
.
traj
.
publish
(
traj
)
def
move_to
(
self
,
joint_angles
,
max_speed
=
pi
/
10
):
def
move_to
(
self
,
joint_angles
,
max_speed
=
pi
/
10
0
):
# TODO TODO linear interpolation for larger angles - if needed?
"""
move the robot to particular joint angle
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment