Skip to content

Commit 5f0f962

Browse files
committed
Fix formatting issues
1 parent c0325a8 commit 5f0f962

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

vesc_driver/src/vesc_device_uuid_lookup.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ VescDeviceLookup::VescDeviceLookup(std::string name)
3535
std::string(),
3636
std::bind(&VescDeviceLookup::vescPacketCallback, this, _1),
3737
std::bind(&VescDeviceLookup::vescErrorCallback, this, _1)
38-
)
38+
)
3939
{
4040
try {
4141
vesc_.connect(device_);
4242
vesc_.requestFWVersion();
43-
} catch (SerialException &e) {
43+
} catch (SerialException & e) {
4444
std::cerr << "VESC error on port " << device_ << std::endl << e.what() << std::endl;
4545
return;
4646
}

vesc_driver/src/vesc_driver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ VescDriver::VescDriver(const rclcpp::NodeOptions & options)
7171
// attempt to connect to the serial port
7272
try {
7373
vesc_.connect(port);
74-
} catch (SerialException &e) {
74+
} catch (SerialException & e) {
7575
RCLCPP_FATAL(get_logger(), "Failed to connect to the VESC, %s.", e.what());
7676
rclcpp::shutdown();
7777
return;

0 commit comments

Comments
 (0)