https://github.com/tamimehsan/ros_melodic_projects
https://github.com/tamimehsan/ros_melodic_projects
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/tamimehsan/ros_melodic_projects
- Owner: TamimEhsan
- Created: 2021-06-24T11:30:23.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-25T19:24:16.000Z (over 4 years ago)
- Last Synced: 2025-06-25T23:37:52.065Z (4 months ago)
- Language: C++
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ROS_Melodic_Tutorials
This is my self note for learning ROS Melodic
## Primary
ROS Melodic Morenia is primarily targeted at the Ubuntu 18.04 (Bionic) release, though other Linux systems as well as Mac OS X, Android, and Windows are supported to varying degrees. I am using Ubuntu 18.04 (Bionic) release in Virtual Machine.
You can find the installation procedure here: [Installation Guide](http://wiki.ros.org/melodic/Installation/Ubuntu)
## Creating a Catkin Package
Create a package with
```bash
catkin_create_pkg
```eg.
```bash
catkin_create_pkg beginner_tutorials std_msgs rospy roscpp
```compileproject
```bash
catkin_make
```## Nodes
A node really isn't much more than an executable file within a ROS package. ROS nodes use a ROS client library to communicate with other nodes. Nodes can publish or subscribe to a Topic. Nodes can also provide or use a Service.
## Topics

Topics are kind of like a bridge between a publishing node and a subscribing node. A publisher and a subscriber has to communicate through a topic.
## Commands
All commands are to be executed in catkin workspace
**Start ROS server**
```bash
roscore
```**Find all active topics**
```bash
rostopic list
```**See details of a topic**
```bash
rostopic info
```eg
```bash
rostopic info /cmd_vel
```**See type used in a topic**
```bash
rosmsg show
```eg
```bash
rosmsg show /cmd_vel
```