Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
launch
scripts
.gitignore
CHANGELOG.rst
CMakeLists.txt
LICENSE
README.md
mainpage.dox
package.xml

README.md

rospatlite

This is a ROS driver for patlite.

Setup

  1. connect the patlite with your computer directly
  2. set IP address of your computer to 192.168.10.x (patlite has 192.168.10.1)
  3. open http://192.168.10.1/index.htm with your web broswser and setup network stuff. Please see the manual for details.
  4. roslaunch rospatlite patlite.launch IP:=IP_ADDRES
  5. enjoy patlite

Usage

Run patlite_node.py with following ros params.

  • host : a hostname or ip address of your patlite
  • port : a port for TCP connection of your patlite
  • timeout : timeout of socket

Then you can see some topics under the private namespace.

$ rostopic list
/patlite/set/blue
/patlite/set/buzzer
/patlite/set/green
/patlite/set/red
/patlite/set/white
/patlite/set/yellow
$ rostopic pub /patlite/set/buzzer std_msgs/Int8 1 # <- buzzer ON
$ rostopic pub /patlite/set/buzzer std_msgs/Int8 0 # <- buzzer OFF
$ rostopic pub /patlite/set/red std_msgs/Int8 1 # <- red light ON
$ rostopic pub /patlite/set/yellow std_msgs/Int8 2 # <- yellow light blink
You can’t perform that action at this time.