Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Simple-Robotics/Simple
/ ground
Function
ground
tests/python/test_simulator_instance.py:508–513 ·
view source on GitHub ↗
(xy)
Source
from the content-addressed store, hash-verified
506
507
# Create height field ground
508
def
ground(xy):
509
return
(
510
np.sin(xy[0] * 3) / 5
511
+ np.cos(xy[1] ** 2 * 3) / 20
512
+ np.sin(xy[1] * xy[0] * 5) / 10
513
)
514
515
xg = np.arange(-2, 2, 0.02)
516
nx = xg.shape[0]
Callers
1
setSolo
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected