Skip to content

Commit 13ea44c

Browse files
authored
[ Minor Updates] : Package.xml update (#77)
* Python Path update for python scripts, Cmakelist changes for module inclusions in 4_simulation_gazebo * README changes for firmware/4_microros_gazebo for more clear instructions. * Python path updated after testing * Update README.md README instruction changes * Update talker.py * Update inverse_kinematics.py * Package.yml changes for rviz2 packages
1 parent c23f369 commit 13ea44c

File tree

5 files changed

+23
-17
lines changed

5 files changed

+23
-17
lines changed

2_simulation_dh/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Before that we need to perform some steps.
1616
We have the MARIO repository in the workspace. But, for being able to run the script, we need to have the same in the src folder of the ros2_ws.
1717
* We already have ros2_ws. So now just copy the 2_dh_simulation in the src folder of the ros2_ws.
1818
```
19-
cp -r /home/(user_name)/MARIO/2_dh_simulation /home/(user_name)/ros2_ws/src
19+
cp -r /home/(user_name)/MARIO/2_simulation_dh /home/(user_name)/ros2_ws/src
2020
```
2121

2222

3_simulation_rviz/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Introduction to RViz 2:
33

44
RViz 2 is a powerful 3D visualization tool provided by the Robot Operating System (ROS) 2 ecosystem. It serves as an essential component for roboticists, engineers, and researchers to visualize and interact with robot models, sensor data, and other important information in a simulated or real-world environment. RViz 2 offers a user-friendly interface with a wide range of features tailored to support the development, debugging, and testing of robotic systems.Here , along we can visualize the URDF of manipulator on Rviz using command line as well as GUI to give input.
55

6-
If you have not installed the joint_state_publishers and ros_control for ros-noetic, follow the commands given [here](https://github.com/SRA-VJTI/MARIO/tree/master/2_simulation_dh)
6+
If you have not installed the joint_state_publishers and ros_control for ros-noetic, follow the commands given [here](https://github.com/SRA-VJTI/MARIO/tree/master/3_simulation_rviz)
77

88
* Remember : Whenever you are using ros commands in another terminal , make sure you source the ros commands:
99
```

3_simulation_rviz/package.xml

+3-9
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,9 @@
99

1010
<buildtool_depend>ament_cmake</buildtool_depend>
1111
<buildtool_depend>robot_state_publisher</buildtool_depend>
12-
<buildtool_depend>ros2_control</buildtool_depend>
13-
<buildtool_depend>gazebo_ros2_control</buildtool_depend>
14-
<buildtool_depend>rclcpp</buildtool_depend>
15-
<buildtool_depend>std_msgs</buildtool_depend>
16-
<buildtool_depend>geometry_msgs</buildtool_depend>
17-
<buildtool_depend>sensor_msgs</buildtool_depend>
18-
<buildtool_depend>joint_state_broadcaster</buildtool_depend>
19-
<buildtool_depend>joint_trajectory_controller</buildtool_depend>
20-
<buildtool_depend>rviz</buildtool_depend>
12+
<buildtool_depend>joint_state_publisher</buildtool_depend>
13+
<buildtool_depend>joint_state_publisher_gui</buildtool_depend>
14+
<buildtool_depend>rviz2</buildtool_depend>
2115
<buildtool_depend>xacro</buildtool_depend>
2216

2317
<test_depend>ament_lint_auto</test_depend>

4_simulation_gazebo/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## Steps to run the demo in Gazebo
66
* Gazebo is the simulation tool that is used by ROS. It has a lot of Applications. In this workshop we will be using ROS to simulate the Manipulator. For the running the simulation just follow commands mentioned below.
7-
* If you have not installed the joint_state_publishers and ros_control for ros-noetic, follow the commands given [here](https://github.com/hashmis79/MARIO/tree/master/2_simulation_dh)
7+
* If you have not installed the joint_state_publishers and ros_control for ros-noetic, follow the commands given [here](https://github.com/SRA-VJTI/MARIO/tree/master/4_simulation_gazebo)
88

99
* Run the launch file
1010

4_simulation_gazebo/package.xml

+17-5
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,29 @@
77
<maintainer email="[email protected]">proto</maintainer>
88
<license>TODO: License declaration</license>
99

10-
<buildtool_depend>ament_cmake</buildtool_depend>
11-
<buildtool_depend>robot_state_publisher</buildtool_depend>
12-
<buildtool_depend>ros2_control</buildtool_depend>
1310
<buildtool_depend>rclcpp</buildtool_depend>
1411
<buildtool_depend>std_msgs</buildtool_depend>
15-
<buildtool_depend>geometry_msgs</buildtool_depend>
12+
<buildtool_depend>ament_cmake</buildtool_depend>
1613
<buildtool_depend>sensor_msgs</buildtool_depend>
14+
<buildtool_depend>ros2_control</buildtool_depend>
15+
<buildtool_depend>gazebo_msgs </buildtool_depend>
16+
<buildtool_depend>geometry_msgs</buildtool_depend>
17+
<buildtool_depend>gazebo_ros_pkgs</buildtool_depend>
18+
<buildtool_depend>gazebo_ros_pkgs</buildtool_depend>
19+
<buildtool_depend>robot_state_publisher</buildtool_depend>
1720
<buildtool_depend>joint_state_broadcaster</buildtool_depend>
1821
<buildtool_depend>joint_trajectory_controller</buildtool_depend>
19-
<buildtool_depend>rviz</buildtool_depend>
22+
<buildtool_depend>forward_command_controller</buildtool_depend>
23+
<buildtool_depend>joint_state_publisher</buildtool_depend>
24+
<buildtool_depend>gazebo_ros2_control</buildtool_depend>
25+
<buildtool_depend>controller_manager</buildtool_depend>
26+
<buildtool_depend>robot_controllers</buildtool_depend>
27+
<buildtool_depend>control_toolbox</buildtool_depend>
28+
<buildtool_depend>ros2_control</buildtool_depend>
29+
<buildtool_depend>control_msgs</buildtool_depend>
30+
<buildtool_depend>gazebo_ros</buildtool_depend>
2031
<buildtool_depend>xacro</buildtool_depend>
32+
<buildtool_depend>rviz2</buildtool_depend>
2133

2234
<test_depend>ament_lint_auto</test_depend>
2335
<test_depend>ament_lint_common</test_depend>

0 commit comments

Comments
 (0)