Adding minimal config setup
Create and publish a Docker image / build-and-push-image (push) Successful in 7m31s Details

This commit is contained in:
emranB 2024-06-26 19:10:52 -03:00
parent ff198103e9
commit a9ae6c4e2b
2 changed files with 7 additions and 16 deletions

View File

@ -1,9 +1,6 @@
version: "3.8" version: "3.8"
services: services:
xbee-mav: xbee-mav:
command: rosrun xbee_ros_node xbee_config /dev/ttyUSB0 230400 command: rosrun xbee_ros_node xbee_config /dev/ttyUSB0 230400
build: build:
@ -11,11 +8,5 @@ services:
dockerfile: Dockerfile dockerfile: Dockerfile
devices: devices:
- /dev/ttyUSB0:/dev/ttyUSB0 - /dev/ttyUSB0:/dev/ttyUSB0
environment:
- "ROS_MASTER_URI=http://ros-master:11311"
networks:
- sim_network
networks:
sim_network:
driver: bridge

View File

@ -2,9 +2,9 @@
<XBeeConfig> <XBeeConfig>
<Settings> <Settings>
<Parameter Command="CM" Description="Channel Mask">00FFFFFFFFFFF7FFFF</Parameter> <Parameter Command="CM" Description="Channel Mask">00FFFFFFFFFFFFFFFF</Parameter>
<Parameter Command="HP" Description="Preamble ID">1</Parameter> <Parameter Command="HP" Description="Preamble ID">1</Parameter>
<Parameter Command="ID" Description="Network ID">5FFF</Parameter> <Parameter Command="ID" Description="Network ID">7777</Parameter>
<Parameter Command="MT" Description="Broadcast Multi-Transmits">0</Parameter> <Parameter Command="MT" Description="Broadcast Multi-Transmits">0</Parameter>
<Parameter Command="PL" Description="TX Power Level">4</Parameter> <Parameter Command="PL" Description="TX Power Level">4</Parameter>
<Parameter Command="RR" Description="Unicast Retries">A</Parameter> <Parameter Command="RR" Description="Unicast Retries">A</Parameter>
@ -16,10 +16,10 @@
<Parameter Command="DH" Description="Destination Address High">0</Parameter> <Parameter Command="DH" Description="Destination Address High">0</Parameter>
<Parameter Command="DL" Description="Destination Address Low">FFFF</Parameter> <Parameter Command="DL" Description="Destination Address Low">FFFF</Parameter>
<Parameter Command="TO" Description="Transmit Options">C0</Parameter> <Parameter Command="TO" Description="Transmit Options">C0</Parameter>
<Parameter Command="NI" Description="Node Identifier">'Node 1'</Parameter> <Parameter Command="NI" Description="Node Identifier">Router</Parameter>
<Parameter Command="NT" Description="Network Dsicovery Back-Off">82</Parameter> <Parameter Command="NT" Description="Network Dsicovery Back-Off">82</Parameter>
<Parameter Command="NO" Description="Network Dsicovery Options">0</Parameter> <Parameter Command="NO" Description="Network Dsicovery Options">0</Parameter>
<Parameter Command="CI" Description="Cluster ID">11</Parameter> <Parameter Command="CI" Description="Cluster ID">1</Parameter>
<Parameter Command="EE" Description="Encryption Enbale">0</Parameter> <Parameter Command="EE" Description="Encryption Enbale">0</Parameter>
<Parameter Command="KY" Description="Encryption Key"></Parameter> <Parameter Command="KY" Description="Encryption Key"></Parameter>
<Parameter Command="BD" Description="Baud Rate">8</Parameter> <Parameter Command="BD" Description="Baud Rate">8</Parameter>
@ -46,7 +46,7 @@
<Parameter Command="P4" Description="DIO14/DIN">1</Parameter> <Parameter Command="P4" Description="DIO14/DIN">1</Parameter>
<Parameter Command="PD" Description="Pull Direction">7FFF</Parameter> <Parameter Command="PD" Description="Pull Direction">7FFF</Parameter>
<Parameter Command="PR" Description="Pull-Up/Down Resistor">7FFF</Parameter> <Parameter Command="PR" Description="Pull-Up/Down Resistor">7FFF</Parameter>
<Parameter Command="M0" Description=" PWM0 Duty Cycle">0</Parameter> <Parameter Command="M0" Description="PWM0 Duty Cycle">0</Parameter>
<Parameter Command="M1" Description="PWM1 Duty Cycle">0</Parameter> <Parameter Command="M1" Description="PWM1 Duty Cycle">0</Parameter>
<Parameter Command="LT" Description="Associate LED Blink Time">0</Parameter> <Parameter Command="LT" Description="Associate LED Blink Time">0</Parameter>
<Parameter Command="RP" Description="RSSI PWM Timer">28</Parameter> <Parameter Command="RP" Description="RSSI PWM Timer">28</Parameter>
@ -56,7 +56,7 @@
<Parameter Command="IR" Description="Sample Rate">0</Parameter> <Parameter Command="IR" Description="Sample Rate">0</Parameter>
<Parameter Command="SM" Description="Sleep Mode">0</Parameter> <Parameter Command="SM" Description="Sleep Mode">0</Parameter>
<Parameter Command="SO" Description="Sleep Options">2</Parameter> <Parameter Command="SO" Description="Sleep Options">2</Parameter>
<Parameter Command="SN" Description="Nu,ber of Cycles between On/Sleep">1</Parameter> <Parameter Command="SN" Description="Number of Cycles between On/Sleep">1</Parameter>
<Parameter Command="SP" Description="Sleep Time">12C</Parameter> <Parameter Command="SP" Description="Sleep Time">12C</Parameter>
<Parameter Command="ST" Description="Wake Time">BB8</Parameter> <Parameter Command="ST" Description="Wake Time">BB8</Parameter>
<Parameter Command="WH" Description="Wake Host Delay">0</Parameter> <Parameter Command="WH" Description="Wake Host Delay">0</Parameter>