hanruihua / ir_sim Goto Github PK
View Code? Open in Web Editor NEWA python based light weight robot simulator for the intelligent robotics navigation and learning
License: MIT License
A python based light weight robot simulator for the intelligent robotics navigation and learning
License: MIT License
当前目录中没有setup.py文件
似乎是在添加图形元素时使用了不正确的坐标,报错信息如下
User
Traceback (most recent call last):
File "/home/c/RL_nav/ir_sim-main/ir_sim/usage/11collision_avoidance/collision_avoidance.py", line 8, in
env.render(0.01)
File "/home/c/RL_nav/ir_sim-main/ir_sim/env/env_base.py", line 118, in render
self._env_plot.draw_components('dynamic', self.objects, **kwargs)
File "/home/c/RL_nav/ir_sim-main/ir_sim/env/env_plot.py", line 78, in draw_components
[obj.plot(self.ax, **kwargs) for obj in objects if not obj.static]
File "/home/c/RL_nav/ir_sim-main/ir_sim/env/env_plot.py", line 78, in
[obj.plot(self.ax, **kwargs) for obj in objects if not obj.static]
File "/home/c/RL_nav/ir_sim-main/ir_sim/world/robots/robot_diff.py", line 55, in plot
super().plot(ax, show_goal=show_goal, show_arrow = show_arrow, **kwargs)
File "/home/c/RL_nav/ir_sim-main/ir_sim/world/object_base.py", line 483, in plot
self.plot_trail(ax, **self.plot_kwargs)
File "/home/c/RL_nav/ir_sim-main/ir_sim/world/object_base.py", line 596, in plot_trail
ax.add_patch(car_circle)
File "/usr/lib/python3/dist-packages/matplotlib/axes/_base.py", line 1971, in add_patch
self._update_patch_limits(p)
File "/usr/lib/python3/dist-packages/matplotlib/axes/_base.py", line 1991, in _update_patch_limits
xys = patch.get_patch_transform().transform(vertices)
File "/usr/lib/python3/dist-packages/matplotlib/patches.py", line 1505, in get_patch_transform
self._recompute_transform()
File "/usr/lib/python3/dist-packages/matplotlib/patches.py", line 1493, in _recompute_transform
self._patch_transform = transforms.Affine2D()
File "/usr/lib/python3/dist-packages/matplotlib/transforms.py", line 1970, in translate
translate_mtx = np.array(
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (3, 3) + inhomogeneous part.
Simulated Environment End with sim time elapsed: 0.2 seconds
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.