Skip to content

Commit

Permalink
Committing clang-format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Clang Robot committed Mar 17, 2024
1 parent 58d2939 commit 6ae9a09
Show file tree
Hide file tree
Showing 4 changed files with 261 additions and 249 deletions.
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
// C++ Libraries
#include <algorithm>
#include <fstream>
#include <iostream>
#include <sstream>
#include <stdint.h>
#include <string>
#include <vector>
#include <fstream>
#include <sstream>
#include <iostream>
#include <algorithm>

#include <fcntl.h> // Used for the O_RDWR define
#include <fcntl.h> // Used for the O_RDWR define
#include <linux/i2c-dev.h> // Used for the I2C_SLAVE define
#include <sys/ioctl.h>
#include <unistd.h> // Used for the close function

#include <unistd.h> // Used for the close function

// Declare functions we can use
namespace thruster_interface_asv_driver_lib {
void init(const std::string& pathToCSVFile, int16_t* minPWM, int16_t* maxPWM);
int16_t* drive_thrusters(float* forces);
}
void init(const std::string &pathToCSVFile, int16_t *minPWM, int16_t *maxPWM);
int16_t *drive_thrusters(float *forces);
} // namespace thruster_interface_asv_driver_lib
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// ROS2 libraries
#include <ament_index_cpp/get_package_share_directory.hpp>
#include <chrono> // For the ROS2 Timer clock
#include <rclcpp/rclcpp.hpp>
#include <std_msgs/msg/float32_multi_array.hpp>
#include <std_msgs/msg/int16_multi_array.hpp>
#include <ament_index_cpp/get_package_share_directory.hpp>
#include <chrono> // For the ROS2 Timer clock

// Custom libraries
#include <thruster_interface_asv/thruster_interface_asv_driver_lib.hpp>

Loading

0 comments on commit 6ae9a09

Please sign in to comment.