An open API service indexing awesome lists of open source software.

https://github.com/rickstaa/rospy-example

A simple ros python node example
https://github.com/rickstaa/rospy-example

Last synced: 3 months ago
JSON representation

A simple ros python node example

Awesome Lists containing this project

README

          

# A simple ros python node example

[![Ros version](https://img.shields.io/badge/ROS%20version-Melodic-green)](https://wiki.ros.org/melodic)
[![Python 2](https://img.shields.io/badge/Python%202-2.7-brightgreen)](https://www.python.org/)
[![Python 3](https://img.shields.io/badge/Python%203-not%20supported-red)](https://www.python.org/)

This repository contains a simple ROS python pack.

## How to use

1. Clone the repository in a `catkin_ws/src` folder.
2. Source the `/opt/ros//setup.bash` file.
3. Run `catkin build` or `catkin_make` from within the `catkin_ws/src` folder.
4. Start the clock_call node using the `roslaunch my_robot_pkg launch_example.launch` command.

## Known problems

By default it only works with python 2.7 [see this issue](https://stackoverflow.com/questions/54094876/ros-melodic-installation-with-python-3-only-and-without-messing-up-system-librar). A guide on how to use
`Python3` in ROS Melodic or Noetic can be found [here](https://wiki.ros.org/UsingPython3).