<commit_before># sensor_interface
This package is the interface between the ROV control system running on a Raspberry Pi and the sensors attached to the ROV. The sensors are read from an Arduino board, which acts as a ROS node by means of `rosserial_arduino`.

## Running the code
### Manually
Run a translator node on the host (Raspberry Pi):
`rosrun rosserial_python serial_node.py /dev/ttyUSB0`
(Note: May also be `/dev/ttyACM0` or something else.)
### With a launch script
`roslaunch sensor_interface sensor_interface.launch`
(Not yet implemented.)

## Building and uploading the code
* Build the package
`catkin_make` or `catkin_make sensor_interface_firmware_sensor_interface`
* Upload to Arduino
`catkin_make sensor_interface_firmware_sensor_interface-upload`
Make sure that the correct Arduino board and serial port is specified in `firmware/CMakeLists.txt`.<commit_msg>Update readme again<commit_after># sensor_interface
This package is the interface between the ROV control system running on a Raspberry Pi and the sensors attached to the ROV. The sensors are read from an Arduino board, which acts as a ROS node by means of `rosserial_arduino`.

## Running the code
* Build and upload the Arduino code
* Run a translator node on the host (Raspberry Pi):
`rosrun rosserial_python serial_node.py /dev/ttyUSB0`
(Note: May also be `/dev/ttyACM0` or something else.)

## Building and uploading the code
* Build the package
`catkin_make` or `catkin_make sensor_interface_firmware_sensor_interface`
* Upload to Arduino
`catkin_make sensor_interface_firmware_sensor_interface-upload`
Make sure that the correct Arduino board and serial port is specified in `firmware/CMakeLists.txt`.
{'fraction_non_alphanumeric': 0.05931198102016608, 'fraction_numerical': 0.002372479240806643, 'mean_word_length': 5.641732283464567, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6929404', 'n_tokens_mistral': 499, 'n_tokens_neox': 470, 'n_words': 212}