-
Notifications
You must be signed in to change notification settings - Fork 373
User_Inst_ROSOnUbuntu
Mehmet Emre Çakal edited this page Oct 10, 2024
·
8 revisions
1.3 ROS on Ubuntu
Note: This tutorial assumes that you have completed Ubuntu on VM tutorial.
-
Check ROS Distributions Page for ROS/Ubuntu compatibility.
- For Ubuntu 22, follow this tutorial to install ROS2 Hubmle.
- For Ubuntu 20, follow this tutorial to install ROS Noetic
-
Follow this tutorial to configure the ROS1 and this tutorial for ROS2 environment.
ROS# uses websocket. So you need to install and launch a ROS 1 or ROS 2 websocket on your system. Here's how:
- For ROS1
# Install rosbridge_suite
sudo apt-get install ros-noetic-rosbridge-suite
# Launch ROS 1 websocket
roslaunch rosbridge_server rosbridge_websocket.launch
- For ROS2
# Install rosbridge_suite
sudo apt-get install ros-humble-rosbridge-server
# Launch ROS 2 websocket
ros2 launch rosbridge_server rosbridge_websocket_launch.xml
You can find your local IP address using,
-
hostname -I
(Ubuntu) -
ifconfifg
(Ubuntu, requries network tools) -
ipconfig
(Windows)
Note: ROS#, Unity, and .NET projects: Ensure that ROS# and your ROS websocket server are running on the same local network.
Next tutorial: Gazebo Setup on VM
© Siemens AG, 2017-2024
-
- 1.3.1 R2D2 Setup
- 1.3.2 Gazebo Setup on VM
- 1.3.3 TurtleBot Setup (Optional for ROS2)
-
- 2.1 Quick Start
- 2.2 Transfer a URDF from ROS to Unity
- 2.3 Transfer a URDF from Unity to ROS
- 2.4 Unity Simulation Scene Example
- 2.5 Gazebo Simulation Scene Example
- 2.6 Fibonacci Action Client
- 2.7 Fibonacci Action Server
- 3.1 Import a URDF on Windows
- 3.2 Create, Modify and Export a URDF Model
- 3.3 Animate a Robot Model in Unity
- Message Handling: Readers & Writers
- Thread Safety for Message Reception
- File Server Package
- ROS-Unity Coordinate System Conversions
- Post Build Events
- Preprocessor Directives in ROS#
- Adding New Message Types
- RosBridgeClient Protocols
- RosBridgeClient Serializers
- Action Server State Machine Model
© Siemens AG, 2017-2024