Skip to content

shreykavi/wibotic_ros

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wibotic ROS Package

Description:

This package uses ws4py in a python script to retrieve data from the wibotic websocket. The data recieved is in binary format and has to be manipulated to make usable. The data is then organized and pushed to the '/wibotic_websocket' rostopic. Functions have also been included to send read and write requests for specific parameters. For more details on parameters look at the WiBotic_Network_API.pdf doc.

How to use:

1. Add this to a ros project. 2. run **rosdep update** 3. run **rosdep install --from-paths src --ignore-src --rosdistro=kinetic -y** Note: change kinetic to your distro 4. source devel/setup.bash 5. run **rosrun wibotic_ros wibotic.py** to start publishing socket data to rostopic.

Parameters:

- topic_frequency: (default=1) If included this param allows user to control the frequency of messages published to rostopic - ip_address: (default='ws://192.168.2.20/ws') If included this param allows user to pass in websocket ip in scenario that it has been changed from the default - ros_topic: (default=wibotic_websocket) If included the topic on which messages are published will be changed

ex. rosrun wibotic_ros wibotic.py _topic_frequency:=10 _ip_address:=ws://192.168.2.20/ws _ros_topic:=wibotic_new_topic

Checkout the test folder for:

- Wibotic.html: an html tool for basic websocket communication - WiBotic_Network_API.pdf: doc for Wibotic websocket api

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 66.9%
  • HTML 30.0%
  • CMake 3.1%