-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
276 additions
and
505 deletions.
There are no files selected for viewing
34 changes: 0 additions & 34 deletions
34
motion/thruster_interface_asv/include/thruster_interface_asv/thruster_interface.hppp
This file was deleted.
Oops, something went wrong.
19 changes: 10 additions & 9 deletions
19
...ruster_interface_asv/include/thruster_interface_asv/thruster_interface_asv_driver_lib.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
// 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); | ||
} // namespace thruster_interface_asv_driver_lib | ||
void init(const std::string& pathToCSVFile, int16_t* minPWM, int16_t* maxPWM); | ||
int16_t* drive_thrusters(float* forces); | ||
} |
6 changes: 5 additions & 1 deletion
6
motion/thruster_interface_asv/include/thruster_interface_asv/thruster_interface_asv_node.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
// ROS2 libraries | ||
#include <ament_index_cpp/get_package_share_directory.hpp> | ||
#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> | ||
|
31 changes: 0 additions & 31 deletions
31
motion/thruster_interface_asv/include/thruster_interface_asv/thruster_interface_node.hppp
This file was deleted.
Oops, something went wrong.
132 changes: 0 additions & 132 deletions
132
motion/thruster_interface_asv/src/thruster_interface.cppp
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.