Skip to content

Commit ddd8740

Browse files
committed
Whitespace
1 parent 00a63a1 commit ddd8740

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

content/api/compass.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ The forklift robot has a compass unit. This allows [robots](../../robots/) to de
1010
heading = r.compass.get_heading() # Radians
1111
```
1212

13-
When called, the `get_heading` method will return the heading of the robot in radians as a float. The heading is in the range 0 to tau (2π), where 0 is the robot facing directly North, and values increasing clockwise.
13+
When called, the `get_heading` method will return the heading of the robot in radians as a float. The heading is in the range 0 to tau (2π), where 0 is the robot facing directly North, and values increasing clockwise.

content/api/magnet.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ weight: 8
66
The magnet is only available on the [Crane robot](../../robots/crane).
77

88
The magnet of the crane will only stick to containers.
9-
9+
1010
## Getting the magnet's status
11-
11+
1212
A magnet can be either energised or de-energised, you can turn the magnet on or off by setting `r.magnet.energised` like so:
1313
```python
1414
# Turn on the magnet
@@ -26,11 +26,11 @@ You can get the current state of the magnet by getting the value of `energized`
2626
```python
2727
magnet_on = r.magnet.energised
2828
```
29-
29+
3030
## Checking if a container is nearby
3131

3232
The magnet can tell you if there is an object in range to be picked up. You can check if any object is in range by accessing the `nearby` method:
3333
```python
3434
# Is there a container nearby?
3535
is_nearby = r.magnet.nearby() # True or False
36-
```
36+
```

0 commit comments

Comments
 (0)