NESTLab / 2122_MultiDroneIndoorSLAM

Code for 21/22 MQP and DRs on Multi Drone Indoor SLAM
0 stars 0 forks source link

Added coms message: Info #49

Closed tylerferrara closed 2 years ago

tylerferrara commented 2 years ago

Info ℹ

About: Ask neighbor for all network information Message: coms/coms/srv/NetInfo.srv

string remote_ip
string state
string parent_ip
string child_ip
string role
---
string ip
string state
string parent_ip
string child_ip
string role

Trigger(s)

Service: /tb3_X/ready_to_meet

rosservice call /tb3_0/get_info "{remote_ip: '192.168.0.2',
state: 'you_choose', parent_ip: 'you_choose', child_ip: 'you_choose', role: 'explorer'}"

Topic: /tb3_X/coms_listening


rostopic pub /tb3_0/coms_listening std_msgs/String "info|remote_ip|state|parent_ip|child_ip|role"