Skip to content

tnaka/patlite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

patlite

This is a ROS driver for 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages