-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jakub Delicat <[email protected]>
- Loading branch information
Showing
19 changed files
with
163 additions
and
163 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# husarion_ugv_docking | ||
|
||
The package contains a `ChargingDock` plugin for the [opennav_docking](https://github.com/open-navigation/opennav_docking) project. Thanks to this package, Panther can dock to a charging station. | ||
|
||
## Launch Files | ||
|
||
- `docking.launch.py`: Launch a node that creates `docking_server` and runs a `ChargingDock` plugin. Also it launches `station.launch.py`. | ||
- `station.launch.py`: Launch a node that creates a charging station description with generated apriltag. | ||
|
||
## Configuration Files | ||
|
||
- [`husarion_ugv_docking_server.yaml`](./config/husarion_ugv_docking_server.yaml): Defines parameters for a `docking_server` and a `ChargingDock` plugin. Defines poses where charging docks are spawned in the Gazebo. | ||
|
||
|
||
## ROS Nodes | ||
|
||
- `DockPosePublisherNode`: A lifecycle node listens to `tf` and republishes position of `dock_pose` in the fixed frame when it is activated. | ||
- `ChargingDock`: A plugin for a Panther robot what is responsible for a charger service. | ||
|
||
### DockPosePublisherNode | ||
|
||
#### Publishes | ||
|
||
- `docking/dock_pose` [*geometry_msgs/PoseStamped*]: An offset dock pose. | ||
|
||
#### Subscribers | ||
|
||
- `tf` [*tf2_msgs/TFMessage*]: Tf tree with a detected dock transform. | ||
|
||
#### Parameters | ||
|
||
- `fixed_frame` [*string*, default: **odom**]: A fixed frame id of a robot. | ||
- `<dock_name>.type` [*string*, default: **charging_dock**]: It checks if this dock with name `dock_name` is a type of `charging_dock`. | ||
- `<dock_name>.frame` [*string*, default: **main_wibotic_transmitter_link** ]: Then look for transformation between `fixed_frame` and `<dock_name>.frame` to publish `dock_pose`. A frame id of a wireless transmitter. | ||
|
||
### ChargingDock | ||
|
||
#### Publishes | ||
|
||
- `docking/staging_pose` [*geometry_msgs/PoseStamped*]: An offset staging pose next to a charging station. | ||
|
||
#### Subscribers | ||
|
||
- `docking/dock_pose` [*geometry_msgs/PoseStamped*]: An offset dock pose. | ||
|
||
#### Parameters | ||
|
||
- `base_frame` [*string*, default: **base_link**]: A frame id of a wireless receiver. | ||
- `fixed_frame` [*string*, default: **odom**]: A fixed frame id of a robot. | ||
- `charging_dock.external_detection_timeout` [*double*, default: **0.2**]: A timeout in seconds for looking up a transformation from an april tag of a dock to a base frame id. | ||
- `charging_dock.docking_distance_threshold` [*double*, default: **0.05**]: A threshold of a distance between a robot pose and a dock pose to declare if docking succeed. | ||
- `charging_dock.docking_yaw_threshold` [*double*, default: **0.3**]: A threshold of a difference of yaw angles between a robot pose and a dock pose to declare if docking succeed. | ||
- `charging_dock.staging_x_offset` [*double*, default: **-0.7**]: A staging pose is defined by offsetting a dock pose in axis X. | ||
- `charging_dock.filter_coef` [*double*, default: **0.1**]: A key parameter that influences the trade-off between the filter's responsiveness and its smoothness, balancing how quickly it reacts to new pose data pose how much it smooths out fluctuations. | ||
- `charging_dock.use_wibotic_info` [*bool*, default: **True**]: Whether Wibotic information is used. | ||
- `charging_dock.wibotic_info_timeout` [*double*, default: **1.5**]: A timeout in seconds to receive a wibotic_info. | ||
- `<dock_name>.apriltag_id` [*int*, default: **0**]: AprilTag ID of a dock. | ||
- `<dock_name>.dock_frame` [*string*, default: **main_wibotic_transmitter_link**]: A frame id to compare with fixed frame if docked. | ||
- `<dock_name>.pose` [*list*, default: **[0.0, 0.0, 0.0]**]: A pose of a dock on the map. If the simulation is used a dock is spawned in this pose. |
File renamed without changes.
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
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
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
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
File renamed without changes.
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
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
Oops, something went wrong.