-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fov environment #20
Comments
We replace If you want to generate the gifs by code, you may refer to line 167 -177 of this file from another of our repos. |
In my code, the robot is shown moving each frame, but the direction of the fov line only shows the last frame. How can the robot's fov recognize and avoid humans every frame? |
Sorry about the late reply, you forgot to copy and paste the code for rendering the FOV lines under the condition ` def render(self, mode='human', output_file=None):
` |
FYI, your code creates a new subplot every timestep, which easily fills up all memory and crashes the computer. |
i want to creat fov environment like you with this code.
def render(self, mode='human', output_file=None):
from matplotlib import animation
import matplotlib.pyplot as plt
plt.rcParams['animation.ffmpeg_path'] = '/usr/bin/ffmpeg'
i'm trying to make fov animation with your code and can you help to modify the code for fov? how can i make animation?
The text was updated successfully, but these errors were encountered: