You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how to solve the start and end curvatures by fitting many points(xi,yi) ? Can you explain,the following code got multiple spirals using two points.
`
def road(self, **kwargs):
start_x = 0 # x coordinate at the beginning of the curvature
start_y = 0 # y coordinate at the beginning of the curvature
start_h = 0 # heading at the beginning of the curvature
end_x = 150 # x coordinate at the end of the curvature
end_y = 20 # y coordinate at the end of the curvature
end_h = 0 # heading at the end of the curvature
clothoids = pcloth.SolveG2(
start_x,
start_y,
start_h,
xodr.STD_START_CLOTH,
end_x,
end_y,
end_h,
xodr.STD_START_CLOTH,
)
# create spirals from each responce
roadgeoms = [
xodr.Spiral(x.KappaStart, x.KappaEnd, length=x.length) for x in clothoids
]
`
The text was updated successfully, but these errors were encountered:
how to solve the start and end curvatures by fitting many points(xi,yi) ? Can you explain,the following code got multiple spirals using two points.
`
def road(self, **kwargs):
start_x = 0 # x coordinate at the beginning of the curvature
start_y = 0 # y coordinate at the beginning of the curvature
start_h = 0 # heading at the beginning of the curvature
`
The text was updated successfully, but these errors were encountered: