Skip to content

Commit

Permalink
removed launch | added readme
Browse files Browse the repository at this point in the history
  • Loading branch information
delihus committed Oct 4, 2024
1 parent 8ca2aba commit 66bd67b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 10 deletions.
21 changes: 18 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
# Overview
# wibotic_ros

WiBotic ROS CAN Connector is a set of ROS packages that supports interacting with a WiBotic Onboard Charger over a CAN bus.
The repository contains `wibotic_connector_can` and `wibotic_msgs` packages. It reads a CAN Bus thanks to the uavcan library and sends the measurements to ROS 2.

The master branch of this repository remains synchronized with the latest WiBotic firmware release. Running firmware that matches with the equivalent WiBotic ROS CAN Connector version is strongly recommended. See the firmware update page on the WiBotic system GUI for more information about updating firmware.
## ROS Nodes

### wibotic_connector_can

It reads a CAN Bus thanks to the uavcan library and sends the measurements to ROS 2.

#### Publishes

- `wibotic_info` [*wibotic_msgs/WiboticInfo*]: Wibotic charger measurements.

#### Parameters

- `~can_iface_name` [*string*, default: **can0**]: CAN BUS interface used for Wibotic receiver.
- `uavcan_node_id_` [*int*, default: **20**]: Uavcan node ID.
- `uavcan_node_name_` [*string*, default: **can0**]: Uavcan node name.
- `update_time_s_` [*string*, default: **can0**]: The period of reading WiboticInfo on a CAN BUS.

## Add can interface

Expand Down
6 changes: 0 additions & 6 deletions wibotic_connector_can/launch/wibotic_connector_can.launch

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class MockWiboticCanDriver : public wibotic_connector_can::WiboticCanDriverInter
MOCK_METHOD(wibotic::WiBoticInfo, GetWiboticInfo, (), (override));

// Nice mock suppresses warnings about uninteresting calls
// using NiceMock = testing::NiceMock<MockWiboticCanDriver>;
using NiceMock = testing::NiceMock<MockWiboticCanDriver>;
};

class WiboticCanDriverNodeWrapper : public wibotic_connector_can::WiboticCanDriverNode
Expand Down

0 comments on commit 66bd67b

Please sign in to comment.