Skip to content

Commit

Permalink
Minor changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-harms committed Aug 21, 2024
1 parent f53c766 commit 63c363e
Show file tree
Hide file tree
Showing 245 changed files with 126,539 additions and 5,781 deletions.
Binary file modified tbotsim/script_build config/pickle/tetherbot.pkl
Binary file not shown.
Binary file modified tbotsim/script_build config/pickle/tetherbot_light.pkl
Binary file not shown.
11 changes: 6 additions & 5 deletions tbotsim/script_build config/script_build config.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,20 +78,21 @@
# create tetherbot file
mapping = [[0,0],[1,1],[2,2],[3,3],[4,4],[0,5],[1,6],[2,7],[3,8],[4,9]]
aorder = Ring([4,3,2,1,0]) #indices of the grippers counter clockwise
W = hyperRectangle(np.array([2,2,0,0,0,0.22]), np.array([-2,-2,-0,-0,-0,-0.22]))
W = TbRectangleWrenchSet([2,2,0,0,0,0.22], [-2,-2,-0,-0,-0,-0.22])
F = TbTetherForceSet(0, 150)
tbot = TbTetherbot(platform = platform, grippers = grippers, tethers = tethers, wall = wall,
mode_2d = True,
mapping = mapping,
aorder = aorder,
W = W,
tether_collision_margin = 0.055,
F = F,
l_min = 0.12,
l_max = 2)
tbot.place_all([0,1,2,3,4])
tbot.save(os.path.join(absolute_path, 'pickle/tetherbot.pkl'), overwrite = True)

vi = TetherbotVisualizer(tbot)
vi.run()
""" vi = TetherbotVisualizer(tbot)
vi.run() """

# create urdf files
tb2urdf(tbot, prefix = '', stlpath = 'package://tbotros_description/desc/', filepath = os.path.join(absolute_path, 'urdf'))
Expand All @@ -101,7 +102,7 @@
mapping = mapping,
aorder = aorder,
W = W,
tether_collision_margin = 0.055,
F = F,
l_min = 0.12,
l_max = 2)
tbot_light.remove_all_geometries()
Expand Down
18 changes: 18 additions & 0 deletions tbotsim/script_build config/urdf/tetherbot.urdf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@
<origin xyz="0.0 0.0 0.0" rpy="0.0 -0.0 0.0"/>
</joint>

<link name="tetherforceset0">
</link>

<joint name="map_to_tetherforceset0" type="fixed">
<parent link="map"/>
<child link="tetherforceset0"/>
<origin xyz="0.0 0.0 0.0" rpy="0.0 -0.0 0.0"/>
</joint>

<link name="gripper0">
</link>

Expand Down Expand Up @@ -280,6 +289,15 @@
<origin xyz="0.0 0.0 0.0" rpy="0.0 -0.0 0.0"/>
</joint>

<link name="rectanglewrenchset0">
</link>

<joint name="platform0_to_rectanglewrenchset0" type="fixed">
<parent link="platform0"/>
<child link="rectanglewrenchset0"/>
<origin xyz="0.0 0.0 0.0" rpy="0.0 -0.0 0.0"/>
</joint>

<link name="trianglemesh14">
<visual>
<geometry>
Expand Down
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 63c363e

Please sign in to comment.