From 3a7d1613de3f33107fdcea49dcdf8e7fa2d0f86a Mon Sep 17 00:00:00 2001 From: maybetree Date: Tue, 3 Sep 2024 12:26:53 +0200 Subject: [PATCH] Fix for raimad 1.1.0 --- doc/pages/builtin-compos.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/pages/builtin-compos.md b/doc/pages/builtin-compos.md index aa968f6..193a064 100644 --- a/doc/pages/builtin-compos.md +++ b/doc/pages/builtin-compos.md @@ -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, @@ -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, @@ -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,