Giter Site home page Giter Site logo

inf_uwb_ros's Introduction

infinity_uwb_ros

This node is for infinity UWB module, which can be used to measure distance and broadcast data in a multiple drone swarm system.

Usage

By default, we direct plug-in the infinity UWB to the manifold by USB port. Which will use serial named /dev/ttyUSB0 and 921600 as its baudrate

roslaunch infinity_uwb_ros uwb_node.launch

Now we can only send no more than 250 byte data one time and use the send rate of 50hz

Publishes

/uwb_node/remote_nodes
/uwb_node/incoming_broadcast_data

The example of /uwb_node/remote_nodes is

header:                                            
  seq: 99                                          
  stamp:                                           
    secs: 1531916471                               
    nsecs: 531233072                               
  frame_id: ''                                     
sys_time: 14608531                                 
remote_node_num: 2                                 
self_id: 0                                         
node_ids: [2, 3]                                   
node_dis: [4.763000011444092, 1.1990000009536743]  
recv_distance_time: [14608510, 14608510]           
active: [True, True]                               
data_available: [False, False]                      
datas: ['', '']                                                                        
  • sys_time is LPS Time provide directly by UWB module.(unit is ms)
  • remote_node_num shows all the remote node appeared, include the node that we have loss the signal.
  • self_id is the id of UWB node itself which will be recognize by other UWB nodes.
  • node_ids is the list of UWB node id appeared. Every id is unique and in the range of [0,10] now.
  • node_dis is the last measurement of distance of the indicated node. When node disappear, this value will keep the last value.
  • recv_distance_time is the time when that node recieve last distance measurement, if also we have message recieved, this time will also be the time of recieve message.
  • active is if the node is still active now, when the node disappear, this value will be False.
  • data_available is if last tick receive data from corrspending node.
  • datas shows what message they receievd when there a data received this tick, if there is no message received, this value comes "".

Example of /uwb_node/incoming_broadcast_data is show below

header:
  seq: 1
  stamp:
    secs: 1531917314
    nsecs: 641238927
  frame_id: ''
remote_id: 3
remote_recv_time: 15453781
lps_time: 15453801
data: "TestSendingdata123"

it publish everytime a broadcast message from some node is received.

  • remote_id is the id of who publish this message
  • remote_recv_time is when we receive this messsage, we use distance measurement time(ms).
  • lps_time is UWB system LPS time(ms).
  • data is the data we received.

Subscribe

The node subscribe only

/uwb_node/send_broadcast_data

sending string data to this node just send a message to every node in the system.

rostopic pub /uwb_node/send_broadcast_msg std_msgs/String TestSendinata123

Auto Instal script

git clone https://github.com/xuhao1/SwarmAutoInstall.git
cd SwarmAutoInstall
./auto_install.sh

inf_uwb_ros's People

Contributors

xuhao1 avatar zbylgsc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

inf_uwb_ros's Issues

uwb的配置

请问uwb 的配置是怎么样的 使用的是nooploop的linktrack 对应的话题互相接收不到

bspline package

Hello, Thank you for your contribution with Omni-Swarm!
I wanna ask about which bspline package are you using? I don't seem to find any corresponding package using CMake, only scons (https://github.com/NCAR/bspline).
Did you make your own cmakelist.txt?

Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.