run rqt_gui at startup

asked 2020-04-29 11:41:59 -0500

dinesh gravatar image

how do i launch the rqt_gui during startup? I am able to run other ros nodes with systemd with service like this:

[Unit]
Description=mavros

[Service]
Type=simple
ExecStart=/home/dinesh/scripts/startup_launch.sh
Restart=on-failure

[Install]
WantedBy=multi-user.target

but when i try to put rqt_gui or some other gui related ros packe like rviz its now working. How should i make it work. what i'm trying to do is every time the controller boots up which i'm using pi 4 with touchscreen the rqt_gui opens up with precofigred setup like image view etc. i'm using ros meleodic.

edit retag flag offensive close merge delete