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
- Host: GitHub
- URL: https://github.com/rickstaa/rospy-example
- Owner: rickstaa
- Created: 2019-08-26T09:04:19.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-02-28T12:51:13.000Z (over 6 years ago)
- Last Synced: 2025-03-04T03:20:51.217Z (over 1 year ago)
- Language: CMake
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A simple ros python node example
[](https://wiki.ros.org/melodic)
[](https://www.python.org/)
[](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).