Skip to content

Commit 7792c76

Browse files
author
YH.Wang
committed
1.0.4 Mainly add the TM5S and TM7S, mesh files and Xacro simulation models.
1 parent a59da39 commit 7792c76

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+2122308
-11
lines changed

doc/tm_humble.md

100755100644
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ The user can manually click the `Data Table Setting` <sup>2</sup> item and check
135135
> Now, the user can use a new terminal to run each ROS node or command but don't forget to source the correct setup shell files as starting a new terminal.
136136
>
137137
> &#10146; <sup>1</sup> The user can download the TM driver relative ROS apps [Experimental TM2 Humble ROS Apps](https://github.com/TechmanRobotInc/tm2_ros2/tree/humble) of the GitHub repository for ROS applications.
138+
> **Note**: When you are finished, press CTRL + C in all terminal windows to shut everything down.<br/>
138139
<div> </div>
139140
140141
## __3. TMflow Vision node setup and prerequisites for using TM ROS Vision__
@@ -235,5 +236,6 @@ The user can manually click the `Data Table Setting` <sup>2</sup> item and check
235236
> ```
236237
>
237238
> Then, the viewer will display image data from _TMflow_.
239+
**Note**: When you are finished, press CTRL + C in all terminal windows to shut everything down.<br/>
238240
<div> </div>
239241

doc/tm_humble_demo.md

100755100644
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,5 +96,6 @@ The <robot_ip_address> is the IP address of the TM Robot, the user can get it th
9696
``source ./install/setup.bash``<br/>
9797
``ros2 run demo demo_set_io``<br/>
9898
> :warning:[CAUTION] Some demos will let the TM Robot move, please be careful.<br/>
99+
**Note**: When you are finished, press CTRL + C in all terminal windows to shut everything down.<br/>
99100
<div> </div>
100101

doc/tm_humble_demo_e.md

100755100644
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,5 +105,6 @@ For example: (select to run demo_set_io)
105105
>> {workspace}$ source ./install/setup.bash
106106
>> {workspace}$ ros2 run demo demo_set_io
107107
>> ```
108+
**Note**: When you are finished, press CTRL + C in all terminal windows to shut everything down.<br/>
108109
<div> </div>
109110

doc/tm_humble_e.md

100755100644
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ The __Listen node__: a socket server can be established and be connected with RO
207207
>> **Note**: The <ROS_DOMAIN_ID> is the key to ROS communication and must be the same as the value of _TM Flow 2_ in the _ROS Settings_.<br/>
208208
>
209209
> Then, the viewer will display image data from _TMflow_.
210+
**Note**: When you are finished, press CTRL + C in all terminal windows to shut everything down.<br/>
210211
<div> </div>
211212
212213
## __4. ROS Settings on Configuration__

doc/tm_humble_gui.md

100755100644
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ The <robot_ip_address> is the IP address of the TM Robot, the user can get it th
5757
> 6. In another new terminal: Source setup.bash in the workspace path and start GUI debug by typing<br/>
5858
``source ./install/setup.bash``<br/>
5959
``ros2 run tm_inspect robot_ui``<br/>
60+
**Note**: When you are finished, press CTRL + C in all terminal windows to shut everything down.<br/>
6061
>
6162
>
6263
<br/>

doc/tm_humble_gui_e.md

100755100644
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ This chapter describes a simplified GUI for displaying tm_driver connection stat
5555
``export ROS_DOMAIN_ID=<ROS_DOMAIN_ID>``<br/>
5656
The <ROS_DOMAIN_ID> value of this setting must be the same as the value of TM Flow.<br/>
5757
``ros2 run tm_inspect robot_ui``<br/>
58+
**Note**: When you are finished, press CTRL + C in all terminal windows to shut everything down.<br/>
5859
>
5960
For example:
6061
>> Assume the domain ID is set to 30 and the embedded TM ROS driver is successfully enabled on _Tmflow 2_. If the user has successfully built the specific code (tm2_ros2) before, now the user only needs to open a new terminal, and set the path to the TM driver workspace ``cd ~/tm2_ws``, then type the following command to start the debug GUI.<br/>

tm_description/launch/view_robot.launch.py

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,22 @@
1414

1515

1616
def generate_launch_description():
17+
# Robot description Configuration
18+
description_path = 'tm_description'
19+
xacro_path = 'tm12s.urdf.xacro'
20+
rviz_path = '/rviz/view_robot.rviz'
21+
1722
robot_description_config = xacro.process_file(
1823
os.path.join(
19-
get_package_share_directory('tm_description'),
24+
get_package_share_directory(description_path),
2025
'xacro',
21-
'tm12s.urdf.xacro',
26+
xacro_path,
2227
)
2328
)
2429
robot_description = {'robot_description': robot_description_config.toxml()}
2530

2631
# RViz
27-
rviz_config_file = get_package_share_directory('tm_description') + '/rviz/view_robot.rviz'
32+
rviz_config_file = get_package_share_directory(description_path) + rviz_path
2833
rviz_node = Node(
2934
package='rviz2',
3035
executable='rviz2',
@@ -52,10 +57,11 @@ def generate_launch_description():
5257
parameters=[robot_description]
5358
)
5459

55-
joint_state_publisher_node = Node(
60+
# publish joint states
61+
joint_state_slider = Node(
5662
package='joint_state_publisher_gui',
5763
executable='joint_state_publisher_gui',
5864
name='joint_state_publisher_gui'
5965
)
6066

61-
return LaunchDescription([static_tf, robot_state_publisher, joint_state_publisher_node, rviz_node])
67+
return LaunchDescription([static_tf, robot_state_publisher, joint_state_slider, rviz_node])
171 KB
Binary file not shown.
262 KB
Binary file not shown.
40.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)