diff --git a/build.sh b/build.sh index df524c3..c075c61 100755 --- a/build.sh +++ b/build.sh @@ -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 \ No newline at end of file diff --git a/simulated_pcb/odo.py b/simulated_pcb/odo.py index b352f7a..004332c 100644 --- a/simulated_pcb/odo.py +++ b/simulated_pcb/odo.py @@ -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): diff --git a/src/modelec_core/launch/modelec.launch.py b/src/modelec_core/launch/modelec.launch.py index f40d5d7..c0d92e4 100644 --- a/src/modelec_core/launch/modelec.launch.py +++ b/src/modelec_core/launch/modelec.launch.py @@ -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 []