Skip to content

Commit

Permalink
Fix for raimad 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
maybeetree committed Sep 3, 2024
1 parent 7ad7955 commit 3a7d161
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/pages/builtin-compos.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ There are many different ways to define an `AnSec`:
# Explicitly define inner radius, outter radius,
# angle one, and angle two

ansec = rai.AnSec(
ansec = rai.AnSec.from_auto(
theta1=np.deg2rad(45),
theta2=np.deg2rad(180),
r1=50,
Expand All @@ -61,7 +61,7 @@ show(ansec)
```python exec
# Make it go the other way

ansec = rai.AnSec(
ansec = rai.AnSec.from_auto(
theta1=np.deg2rad(45),
theta2=np.deg2rad(180),
r1=50,
Expand All @@ -75,7 +75,7 @@ show(ansec)
# define radius delta and angle delta

for x in (10, 40, 60):
ansec = rai.AnSec(
ansec = rai.AnSec.from_auto(
theta1=np.deg2rad(0),
dtheta=np.deg2rad(x * 3),
r1=50,
Expand Down

0 comments on commit 3a7d161

Please sign in to comment.