mirror of
https://github.com/bjoernellens1/cps_loki.git
synced 2024-11-22 15:33:46 +00:00
update
This commit is contained in:
parent
1e1b6e8ca1
commit
8a1e43c3b8
@ -1,5 +1,4 @@
|
||||
version: "3.9"
|
||||
|
||||
services:
|
||||
# Base image containing dependencies.
|
||||
base:
|
||||
@ -37,7 +36,6 @@ services:
|
||||
# Allows graphical programs in the container.
|
||||
- /tmp/.X11-unix:/tmp/.X11-unix:rw
|
||||
- ${XAUTHORITY:-$HOME/.Xauthority}:/root/.Xauthority
|
||||
|
||||
# Overlay image containing the project specific source code.
|
||||
overlay:
|
||||
extends: base
|
||||
@ -54,7 +52,6 @@ services:
|
||||
- linux/amd64
|
||||
volumes:
|
||||
- .:/repo
|
||||
|
||||
# Additional dependencies for GUI applications
|
||||
guis:
|
||||
extends: overlay
|
||||
@ -69,59 +66,50 @@ services:
|
||||
platforms:
|
||||
- linux/arm64
|
||||
- linux/amd64
|
||||
command: >
|
||||
command: |
|
||||
/bin/bash
|
||||
|
||||
# Robot State Publisher
|
||||
robot_state_publisher:
|
||||
extends: overlay
|
||||
command: >
|
||||
command: |
|
||||
ros2 launch cps_loki_bringup rsp.launch.py
|
||||
|
||||
# Controller
|
||||
controller:
|
||||
extends: overlay
|
||||
command: >
|
||||
command: |
|
||||
ros2 launch cps_loki_bringup robot_controller.launch.py
|
||||
devices:
|
||||
- /dev/ttyUSB0:/dev/ttyUSB0
|
||||
- /dev/ttyACM0:/dev/ttyACM0
|
||||
restart: unless-stopped
|
||||
|
||||
# teleop
|
||||
teleop:
|
||||
extends: overlay
|
||||
command: >
|
||||
command: |
|
||||
ros2 launch cps_loki_bringup robot_joy_teleop.launch.py
|
||||
devices:
|
||||
- /dev/input:/dev/input
|
||||
restart: unless-stopped
|
||||
|
||||
|
||||
# scan filter node
|
||||
lidar_filter:
|
||||
extends: overlay
|
||||
command: >
|
||||
command: |
|
||||
ros2 launch cps_loki_bringup robot_scan_filter.launch.py
|
||||
|
||||
# lidar
|
||||
lidar:
|
||||
extends: overlay
|
||||
depends_on:
|
||||
- lidar_filter
|
||||
command: >
|
||||
command: |
|
||||
ros2 launch cps_loki_bringup robot_lidar.launch.py
|
||||
devices:
|
||||
- /dev/ttyUSB0:/dev/ttyUSB0
|
||||
#- /dev/ttyUSB1:/dev/ttyUSB1
|
||||
- /dev/ttyACM0:/dev/ttyACM0
|
||||
|
||||
# mapping
|
||||
mapping:
|
||||
extends: overlay
|
||||
command: >
|
||||
command: |
|
||||
ros2 launch cps_loki_bringup robot_mapper.launch.py
|
||||
|
||||
# navigation
|
||||
navigation:
|
||||
extends: overlay
|
||||
@ -129,25 +117,26 @@ services:
|
||||
# ros2 launch cbot_mini_bringup robot_navigation.launch.py
|
||||
# map_subscribe_transient_local:=true
|
||||
command: >
|
||||
ros2 launch nav2_bringup bringup_launch.py slam:=True map:=/repo/map.yaml use_sim_time:=False use_composition:=True params_file:=/overlay_ws/src/cps_loki_bringup/config/nav2_params.yaml
|
||||
ros2 launch nav2_bringup bringup_launch.py slam:=True map:=/repo/map.yaml
|
||||
use_sim_time:=False use_composition:=True
|
||||
params_file:=/overlay_ws/src/cps_loki_bringup/config/nav2_params.yaml
|
||||
depends_on:
|
||||
- lidar
|
||||
- controller
|
||||
- teleop
|
||||
|
||||
# camera
|
||||
cam:
|
||||
extends: overlay
|
||||
command: >
|
||||
command: |
|
||||
bash
|
||||
|
||||
################################################################################################################################
|
||||
# This section is mostly for supervision from PC #
|
||||
################################################################################################################################
|
||||
# rviz2
|
||||
rviz2:
|
||||
extends: guis
|
||||
command: >
|
||||
command: |
|
||||
rviz2
|
||||
# Needed to display graphical applications
|
||||
privileged: true
|
||||
networks: {}
|
||||
|
BIN
maps/cps_half_new_posegraph.pgm
Normal file
BIN
maps/cps_half_new_posegraph.pgm
Normal file
Binary file not shown.
7
maps/cps_half_new_posegraph.yaml
Normal file
7
maps/cps_half_new_posegraph.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
image: cps_half_new_posegraph.pgm
|
||||
mode: trinary
|
||||
resolution: 0.05
|
||||
origin: [5.07, -8.25, 0]
|
||||
negate: 0
|
||||
occupied_thresh: 0.65
|
||||
free_thresh: 0.25
|
BIN
maps/cps_half_new_ser.data
Normal file
BIN
maps/cps_half_new_ser.data
Normal file
Binary file not shown.
BIN
maps/cps_half_new_ser.posegraph
Normal file
BIN
maps/cps_half_new_ser.posegraph
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user