User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cs:topics_list:start [2017/08/15 15:01]
James Irwin [ROS Topics]
cs:topics_list:start [2018/10/20 16:06] (current)
Sean Kallaher
Line 1: Line 1:
 +<WRAP center round important 60%>
 +This page is stale and should be updated.
 +</​WRAP>​
 +
 ====== ROS Topics ====== ====== ROS Topics ======
-This page is a description of all the topics we are using (or plan to use) on the sub.+This page is a description of all the topics we are using (or plan to use) on the sub. Below is a symbolic representation of data flow on the sub (with sensors as we have right now).
  
-{{:​cs:​topics_list:​node_graph.png|}}+{{:​cs:​topics_list:​node_graph.png?800|}}
 ===== Sensors ===== ===== Sensors =====
 ==== /​orientation ==== ==== /​orientation ====
Line 9: Line 13:
  
 ==== /​pretty/​orientation ==== ==== /​pretty/​orientation ====
-Message: [[https://​github.com/​PalouseRobosub/​robosub/​blob/​dev/​msg/​Euler.msg | robosub/​Euler ]] \\+Message: [[https://​github.com/​PalouseRobosub/​robosub/​blob/​master/​msg/​Euler.msg | robosub/​Euler ]] \\
 The current orientation of the sub, given in roll, pitch, yaw. This is meant just for human readability of the sub's orientation,​ code should use the /​orientation topic. The current orientation of the sub, given in roll, pitch, yaw. This is meant just for human readability of the sub's orientation,​ code should use the /​orientation topic.
  
Line 18: Line 22:
 ===== Movement ===== ===== Movement =====
 ==== /thruster ==== ==== /thruster ====
-Message: [[https://​github.com/​PalouseRobosub/​robosub/​blob/​dev/​msg/​thruster.msg|robosub/​thruster]] \\+Message: [[https://​github.com/​PalouseRobosub/​robosub/​blob/​master/​msg/​thruster.msg|robosub/​thruster]] \\
 Dynamic array of commands going to the thrusters. Order of the thrusters is dependent on their order in the settings file. Dynamic array of commands going to the thrusters. Order of the thrusters is dependent on their order in the settings file.
  
  
 ==== /control ==== ==== /control ====
-Message: [[ https://​github.com/​PalouseRobosub/​robosub/​blob/​dev/​msg/​control.msg | robosub/​control ]] \\+Message: [[ https://​github.com/​PalouseRobosub/​robosub/​blob/​master/​msg/​control.msg | robosub/​control ]] \\
 Send messages to this topic to move the sub around, the control system subscribes to this topic. Send messages to this topic to move the sub around, the control system subscribes to this topic.
  
  
 ==== /​joystick_driver ==== ==== /​joystick_driver ====
-Message: [[ https://​github.com/​PalouseRobosub/​robosub/​blob/​dev/​msg/​joystick.msg| robosub/​joystick]]+Message: [[ https://​github.com/​PalouseRobosub/​robosub/​blob/​master/​msg/​joystick.msg| robosub/​joystick]]
 This is the raw joystick state, published by the joystick driver. Shows the current state of all axes and buttons on the joystick. This is the raw joystick state, published by the joystick driver. Shows the current state of all axes and buttons on the joystick.
  
 ==== /​gamepad_driver ==== ==== /​gamepad_driver ====
-Message: [[https://​github.com/​PalouseRobosub/​robosub/​blob/​dev/​msg/​gamepad.msg | robosub/​gamepad]]+Message: [[https://​github.com/​PalouseRobosub/​robosub/​blob/​master/​msg/​gamepad.msg | robosub/​gamepad]]
 This is the raw gamepad state, published by the gamepad driver. Shows the current state of all axes and buttons on the gamepad. This is the raw gamepad state, published by the gamepad driver. Shows the current state of all axes and buttons on the gamepad.
  
Line 41: Line 45:
 Images from our cameras. Images from our cameras.
  
-==== /vision/​buoy/​(red|green|yellow) ​==== +==== /vision ==== 
-Message: [[https://​github.com/​PalouseRobosub/​robosub/blob/dev/msg/visionPosArray.msg | robosub/visionPosArray]] \\ +Message: [[https://​github.com/​PalouseRobosub/​rs_yolo/blob/master/msg/DetectionArray.msg | rs_yolo/DetectionArray]] \\ 
-Describes where the buoy is in the sub's view. +Results ​of the deep vision ​processing systemIt'​s ​a list detailing all the objects it sees.
- +
- +
-==== /​vision/​start_gate ==== +
-Message: [[https://​github.com/​PalouseRobosub/​robosub/​blob/​dev/​msg/​visionPosArray.msg | robosub/​visionPosArray]] \\ +
-Describes how many posts of the start gate can be seen and where they are located in the sub's view. +
- +
-==== /vision/​navigate_pass ==== +
-Message: [[https://​github.com/​PalouseRobosub/​robosub/​blob/​dev/​msg/​visionPosArray.msg | robosub/​visionPosArray]] \\ +
-Describes where the yellow channel is in the sub'​s ​view. +
- +
-==== /​vision/​bins ==== +
-Message: [[https://​github.com/​PalouseRobosub/​robosub/​blob/​dev/​msg/​visionPosArray.msg | robosub/​visionPosArray]] \\ +
-Describes where the marker bins are in the sub's view. +
- +
-==== /​vision/​torpedo_target ==== +
-Message: [[https://​github.com/​PalouseRobosub/​robosub/​blob/​dev/​msg/​visionPosArray.msg | robosub/​visionPosArray]] \\ +
-Describes where the torpedo targets are in the sub's view. +
- +
-==== /​vision/​octagon ==== +
-Message: [[https://​github.com/​PalouseRobosub/​robosub/​blob/​dev/​msg/​visionPosArray.msg | robosub/​visionPosArray]] \\ +
-Describes where the octagon is in the sub's view.+
  
 ===== Hydrophones ===== ===== Hydrophones =====
Line 96: Line 79:
 </​code>​ </​code>​
  
-==== /​hydrophones/​[Frequency]/​output/​direction ​==== +==== /​hydrophones/​bearing ​==== 
-Message: [[https://github.com/PalouseRobosub/robosub/blob/dev/msg/Euler.msg robosub/Euler]] \\ +Message: [[http://docs.ros.org/api/geometry_msgs/html/msg/Vector3Stamped.html geometry_msgs/Vector3Stamped]] \\ 
-Used for sending the angle from the forward direction to the pinger. Roll will always be zero while Pitch and Yaw should be filled out.+A 3-dimensional vector pointing at the pinger ​in $i,j,k$ notation.
  
-==== /​hydrophones/​[Frequency]/​output/​location ==== 
-Message: [[http://​docs.ros.org/​api/​geometry_msgs/​html/​msg/​Point.html | geometry_msgs/​Point]] \\ 
-Used for sending the final result of the Trilaterization calculations.