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
When initializing the CtrlAviary environment, the values for kf and km are displayed as 0 in the terminal output, despite being correctly parsed from the URDF file.
Solution:
Modify the print statement in BaseAviary.init() to use a scientific notation format ({:e}) for kf and km:
Use scientific notation ({:e}) in the print statement to correctly display the values:
Modify the print statement in BaseAviary.init() to use scientific notation for kf and km:
print("[INFO] ... kf {:e}, km {:e}, ...".format(self.KF, self.KM, ...))
Exact Location of the Code:
In class BaseAviary(gym.Env), within the initialization method:
Load the drone properties from the .urdf file
...
self.DW_COEFF_3 = self._parseURDFParameters()
print("[INFO] BaseAviary.init() loaded parameters from the drone's .urdf:\n[INFO] ...
The text was updated successfully, but these errors were encountered:
When initializing the CtrlAviary environment, the values for kf and km are displayed as 0 in the terminal output, despite being correctly parsed from the URDF file.
Solution:
Modify the print statement in BaseAviary.init() to use a scientific notation format ({:e}) for kf and km:
Use scientific notation ({:e}) in the print statement to correctly display the values:
Modify the print statement in BaseAviary.init() to use scientific notation for kf and km:
print("[INFO] ... kf {:e}, km {:e}, ...".format(self.KF, self.KM, ...))
Exact Location of the Code:
In class BaseAviary(gym.Env), within the initialization method:
Load the drone properties from the .urdf file
...
self.DW_COEFF_3 = self._parseURDFParameters()
print("[INFO] BaseAviary.init() loaded parameters from the drone's .urdf:\n[INFO] ...
The text was updated successfully, but these errors were encountered: