-
Notifications
You must be signed in to change notification settings - Fork 1
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
6 changed files
with
131 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Usage: | ||
# xhost +local:docker && docker compose up | ||
|
||
x-net-config: | ||
&net-config | ||
network_mode: host | ||
ipc: host | ||
env_file: net.env | ||
|
||
x-gpu-config: | ||
&gpu-config | ||
runtime: nvidia | ||
environment: | ||
- DISPLAY=${DISPLAY:?err} | ||
- NVIDIA_VISIBLE_DEVICES=all | ||
- NVIDIA_DRIVER_CAPABILITIES=all | ||
|
||
services: | ||
rviz: | ||
# Launching rviz with moveit2 requires all the configs, using manipulation simulation image is easiest option | ||
image: husarion/rosbot-xl-manipulation-gazebo:humble | ||
<<: [ *net-config, *gpu-config ] | ||
container_name: rviz | ||
volumes: | ||
- /tmp/.X11-unix:/tmp/.X11-unix:rw | ||
- ./config/rosbot_xl.rviz:/ros2_ws/install/rosbot_xl_manipulation_moveit/share/rosbot_xl_manipulation_moveit/config/moveit.rviz | ||
command: ros2 launch rosbot_xl_manipulation_moveit rviz.launch.py | ||
|
||
joy2twist: | ||
image: husarion/joy2twist:humble-1.0.0-20230204-stable | ||
<<: *net-config | ||
devices: | ||
- /dev/input | ||
volumes: | ||
- ./config/joy2twist.yaml:/joy2twist.yaml | ||
command: > | ||
ros2 launch joy2twist gamepad_controller.launch.py | ||
joy2twist_params_file:=/joy2twist.yaml |
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,22 @@ | ||
/**: | ||
ros__parameters: | ||
linear_velocity_factor: | ||
fast: 1.0 | ||
regular: 0.5 | ||
slow: 0.2 | ||
|
||
angular_velocity_factor: | ||
fast: 1.5 | ||
regular: 0.8 | ||
slow: 0.4 | ||
|
||
# This button mapping should be adjusted to the specific controller | ||
# The following map is suited for Logitech F710 | ||
button_index_map: | ||
axis: | ||
angular_z: 2 # Right joystick | ||
linear_x: 1 # Left joystick | ||
linear_y: 0 # Left joystick | ||
dead_man_switch: 4 # LB | ||
fast_mode: 7 # RT | ||
slow_mode: 5 # RB |
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,18 @@ | ||
# ======================================= | ||
# Network config options (uncomment one) | ||
# ======================================= | ||
|
||
# 1. Fast DDS + LAN | ||
# RMW_IMPLEMENTATION=rmw_fastrtps_cpp | ||
|
||
# 2. Cyclone DDS + LAN | ||
RMW_IMPLEMENTATION=rmw_cyclonedds_cpp | ||
|
||
# 3. Fast DDS + VPN | ||
# RMW_IMPLEMENTATION=rmw_fastrtps_cpp | ||
# FASTRTPS_DEFAULT_PROFILES_FILE=/husarnet-fastdds.xml | ||
|
||
# 4. Cyclone DDS + VPN | ||
# RMW_IMPLEMENTATION=rmw_cyclonedds_cpp | ||
# FASTRTPS_DEFAULT_PROFILES_FILE=/husarnet-fastdds.xml | ||
# CYCLONEDDS_URI=file:///husarnet-cyclonedds.xml |
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