@@ -3,16 +3,17 @@ layout: page
3
3
title : Radio
4
4
---
5
5
6
- Radio
7
- =====
6
+ # Radio
8
7
9
8
<div class =" info " >
10
9
This documentation refers to a feature which is only available within the simulator.
11
10
</div >
12
11
13
- The ` sr.robot ` library contains support for detecting radio transmitters with the simulated radio unit on the robot.
14
- Radio transmitters are attached to various items in the Student Robotics arena.
15
- Each transmitter encodes their identity in a machine-readable way, which means that robots can identify these objects.
12
+ The ` sr.robot ` library contains support for using a simulated radio unit on the robot.
13
+ Radio transmitters and receivers are attached to various items in the Student Robotics arena.
14
+ Each transmitter encodes their identity in a machine-readable way, which means that receivers can identify these objects.
15
+
16
+ ## [ Detecting other stations] ( #detecting-other-stations ) {#detecting-other-stations}
16
17
17
18
Using the signal strength and bearing of the received radio signals, you are able to
18
19
determine the distance and direction of a transmitter in 3D space relative to
@@ -50,12 +51,11 @@ while True:
50
51
))
51
52
~~~~~
52
53
54
+ <!-- TODO: radio tranmission here -->
53
55
54
- [ Objects of the Radio System] ( #radio_objects ) {#radio_objects}
55
- ===================================
56
+ ## [ Objects of the Radio System] ( #radio_objects ) {#radio_objects}
56
57
57
- [ ` Target ` ] ( #Target ) {#Target}
58
- ----------
58
+ ### [ ` Target ` ] ( #Target ) {#Target}
59
59
60
60
A ` Target ` object contains information about a _ detected_ transmitter.
61
61
It has the following attributes:
@@ -69,8 +69,7 @@ signal_strength
69
69
bearing
70
70
: A float giving the angle to the ` Target ` in radians.
71
71
72
- [ ` TargetInfo ` ] ( #TargetInfo ) {#TargetInfo}
73
- --------------
72
+ ### [ ` TargetInfo ` ] ( #TargetInfo ) {#TargetInfo}
74
73
75
74
The ` TargetInfo ` object contains information about a transmitter.
76
75
It has the following attributes:
0 commit comments