Skip to content

system/xrcedds: add eProsima Micro XRCE-DDS - #3777

Open
lljwork2021 wants to merge 1 commit into
apache:masterfrom
lljwork2021:master
Open

system/xrcedds: add eProsima Micro XRCE-DDS#3777
lljwork2021 wants to merge 1 commit into
apache:masterfrom
lljwork2021:master

Conversation

@lljwork2021

Copy link
Copy Markdown

Note: Please adhere to Contributing Guidelines.

Summary

Update this section with information on why change is necessary,
what it exactly does and how, if new feature shows up, provide
references (dependencies, similar problems and solutions), etc.

Impact

Update this section, where applicable, on how change affects users,
build process, hardware, documentation, security, compatibility, etc.

Testing

Update this section with details on how did you verify the change,
what Host was used for build (OS, CPU, compiler, ..), what Target was
used for verification (arch, board:config, ..), etc. Providing build
and runtime logs from before and after change is highly appreciated.

~/nuttxspace/nuttx$ ./tools/configure.sh sim:xrcedds
~/nuttxspace/nuttx$ make
~/nuttxspace/nuttx$ sudo setcap cap_net_admin+ep ./nuttx
~/nuttxspace/nuttx$ ./nuttx
nsh> PublishHelloWorldClient 10.0.1.1 2026 10
Send topic: Hello DDS world!, id: 1
Send topic: Hello DDS world!, id: 2
Send topic: Hello DDS world!, id: 3
Send topic: Hello DDS world!, id: 4
Send topic: Hello DDS world!, id: 5
Send topic: Hello DDS world!, id: 6
Send topic: Hello DDS world!, id: 7
Send topic: Hello DDS world!, id: 8
Send topic: Hello DDS world!, id: 9
Send topic: Hello DDS world!, id: 10

~$ sudo ip addr replace 10.0.1.1/24 dev tap0
~$ sudo ip link set tap0 up
~$ MicroXRCEAgent udp4 -p 2026
~$ SubscribeHelloWorldClient 127.0.0.1 2026
Received topic: Hello DDS world!, id: 1
Received topic: Hello DDS world!, id: 2
Received topic: Hello DDS world!, id: 3
Received topic: Hello DDS world!, id: 4
Received topic: Hello DDS world!, id: 5
Received topic: Hello DDS world!, id: 6
Received topic: Hello DDS world!, id: 7
Received topic: Hello DDS world!, id: 8
Received topic: Hello DDS world!, id: 9
Received topic: Hello DDS world!, id: 10

CONFIG_ALLOW_BSD_COMPONENTS=y
CONFIG_ARCH="sim"
CONFIG_ARCH_BOARD="sim"
CONFIG_ARCH_BOARD_SIM=y
CONFIG_ARCH_CHIP="sim"
CONFIG_ARCH_SIM=y
CONFIG_BOARDCTL_POWEROFF=y
CONFIG_BUILTIN=y
CONFIG_DEBUG_SYMBOLS=y
CONFIG_ETC_ROMFS=y
CONFIG_EXPERIMENTAL=y
CONFIG_FS_BINFS=y
CONFIG_FS_HOSTFS=y
CONFIG_FS_PROCFS=y
CONFIG_FS_ROMFS=y
CONFIG_HAVE_CXX=y
CONFIG_HAVE_CXXINITIALIZE=y
CONFIG_IDLETHREAD_STACKSIZE=2048
CONFIG_INIT_ENTRYPOINT="init_main"
CONFIG_IOB_NBUFFERS=1024
CONFIG_IOB_NCHAINS=128
CONFIG_IOB_NOTIFIER=y
CONFIG_IOB_THROTTLE=16
CONFIG_LIBC_EXECFUNCS=y
CONFIG_LIBC_MAX_EXITFUNS=1
CONFIG_LIBC_NETDB=y
CONFIG_MM_REGIONS=2
CONFIG_MQ_MAXMSGSIZE=64
CONFIG_NET=y
CONFIG_NETDEV_LATEINIT=y
CONFIG_NETINIT_DRIPADDR=0x0a000101
CONFIG_NETINIT_IPADDR=0x0a000102
CONFIG_NET_UDP=y
CONFIG_NSH_BUILTIN_APPS=y
CONFIG_NSH_FILE_APPS=y
CONFIG_NSH_READLINE=y
CONFIG_PREALLOC_TIMERS=4
CONFIG_PTHREAD_MUTEX_TYPES=y
CONFIG_READLINE_CMD_HISTORY=y
CONFIG_READLINE_TABCOMPLETION=y
CONFIG_SCHED_CHILD_STATUS=y
CONFIG_SCHED_HAVE_PARENT=y
CONFIG_SCHED_WAITPID=y
CONFIG_SERIAL_TERMIOS=y
CONFIG_SIG_DEFAULT=y
CONFIG_SIG_EVTHREAD=y
CONFIG_SIM_HOSTFS=y
CONFIG_SIM_NETDEV=y
CONFIG_STACK_COLORATION=y
CONFIG_SYSLOG_CONSOLE=y
CONFIG_SYSTEM_NSH=y
CONFIG_SYSTEM_NXINIT=y
CONFIG_SYSTEM_XRCEDDS=y
CONFIG_SYSTEM_XRCEDDS_PUBLISH_DEMO=y
CONFIG_SYSTEM_XRCEDDS_PUBLISH_DEMO_AGENT_IP="10.0.1.1"
CONFIG_TASK_NAME_SIZE=32
CONFIG_TLS_NCLEANUP=2
CONFIG_TTY_SIGINT=y

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant