This commit is contained in:
acki
2025-05-29 15:56:01 -04:00
parent 58c6b0e818
commit f0ad4041fd
3 changed files with 3 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
MAKEFLAGS="-j2" colcon build --packages-skip modelec_com --executor sequential --parallel-workers 1 --cmake-args -DCMAKE_BUILD_TYPE=Release
MAKEFLAGS="-j2" colcon build --executor sequential --parallel-workers 1 --cmake-args -DCMAKE_BUILD_TYPE=Release
source install/setup.bash

View File

@@ -81,7 +81,7 @@ class SimulatedPCB:
self.theta = self.normalize_angle(self.theta)
if now - self.last_send > 0.1:
self.ser.write(f'SET;POS;{int(self.x)};{int(self.y)};{self.theta:.5f}\n'.encode())
# self.ser.write(f'SET;POS;{int(self.x)};{int(self.y)};{self.theta:.5f}\n'.encode())
self.last_send = now
def run(self):

View File

@@ -88,7 +88,7 @@ def generate_launch_description():
if context.launch_configurations.get('with_com') == 'true':
return [
Node(package='modelec_com', executable='serial_listener', name='serial_listener'),
# Node(package='modelec_com', executable='pcb_odo_interface', name='pcb_odo_interface'),
Node(package='modelec_com', executable='pcb_odo_interface', name='pcb_odo_interface'),
Node(package='modelec_com', executable='pcb_action_interface', name='pcb_action_interface'),
]
return []