Skip to content

Commit

Permalink
print문 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
KimDoYoung1997 committed May 22, 2024
1 parent 1db4de4 commit f6dc910
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions exts/stride.simulator/config/go1_cfg.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

sensor:
imu:
update_frequency: 250
update_frequency: 1

lidar:
update_frequency: 25
update_frequency: 15
prim_path: /World/go1/lidar/lidar_PhysX
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ def update_lidar_data(self, data):
Args:
data: The Lidar sensor data.
"""
print("lidar")
msg = PointCloud2()

# Flatten LiDAR data
Expand Down Expand Up @@ -189,7 +188,7 @@ def update_sensor(self, sensor_type: str, data):
sensor_type (str): The type of the sensor.
data: The sensor data.
"""
print(sensor_type)
# print(sensor_type)

if sensor_type == "Imu":
self.update_imu_data(data)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ def update_sensors(self, dt: float):
"""

# Call the update method for the sensor to update its values internally (if applicable)
print("debug2")

for sensor in self._sensors:
try:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,11 @@ def update_sensors(self, dt: float):
dt (float): The time elapsed between the previous and current function calls (s).
"""
## doyoung ##
print("debug3")

# Call the update method for the sensor to update its values internally (if applicable)
for sensor in self._sensors:
## doyoung ##
print(sensor)
# print(sensor)
try:
sensor_data = sensor.update(self._state, dt)
except Exception as e: # pylint: disable=broad-except
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ def update_sensors(self, dt: float):
# If some data was updated and we have a mavlink backend or ros backend (or other), then just update it
if sensor_data is not None:
for backend in self._backends:
print("debug1")
backend.update_sensor(sensor.sensor_type, sensor_data)

def update_sim_state(self, dt: float):
Expand Down

0 comments on commit f6dc910

Please sign in to comment.