Help with rendering of quadrotor example #189
-
Hello, just getting familiarized with the suite but unfortunately having some issues with the quadrotor example from the readme. I ran the commands after following the installation instructions. I expected to see the same animation as in the readme. The path is drawn in red, but then disappears. The simulator UI flashes several times and the quadrotor seems to glitch and teleport around randomly. After that, it flies around but doesn't seem to perform the figure 8 pattern I expected, although it is somewhat difficult to tell as the red path has disappeared. Is there possibly some problem with my installation or something I am missing? I did not encounter any errors while following the installation instructions. My system is:
Attached is the output of the example Thanks in advance for any help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
Hi @itsLydt, thanks for using our gym! I think an easier way to run the examples is to I also realized the animation in the README is from some older configurations, which should still be possible but is not the trajectory we are running in the PID example. The PID example currently is much more aggressive. The red line disappears and the simulation flashes a ton of times because we reset the environment in multiple places (probably too many), but that is to be expected. Finally the drone teleports to the real starting location and flies around, but I agree it is hard to tell if it is following the trajectory. This should be fixable but honestly I don't use the GUI very often, but I will take a look. In summary, what you're seeing is correct, is running a different trajectory than the README (which maybe we should fix) but could be visualized better (which I will look into). Let me know if you have any other questions! |
Beta Was this translation helpful? Give feedback.
Hi @itsLydt, thanks for using our gym! I think an easier way to run the examples is to
cd examples/pid
and then run./pid_experiment.sh
. I now realize that the README does it in this other way, but by looking at and modifyingpid_experiment.sh
you should have an easier time. However, both methods of running it are actually equivalent.I also realized the animation in the README is from some older configurations, which should still be possible but is not the trajectory we are running in the PID example. The PID example currently is much more aggressive. The red line disappears and the simulation flashes a ton of times because we reset the environment in multiple places (probably too many),…