Skip to content

Display sink for the hero display that presents information to the user

Notifications You must be signed in to change notification settings

tue-robotics/hero-display

Repository files navigation

hero-display

CI

Display sink for the hero display that presents information to the user.

Build Setup

# install dependencies
npm install

# Compiles and hot-reloads for development
npm run dev

# Compiles and minifies for production
npm run build

# Run your unit tests
NO_FULLSCREEN=1 npm run test

# Lints and fixes files
npm run format
npm run lint

Test hero display

Dependencies

ROS1

sudo apt-get install ros-${ROS_DISTRO}-rosbridge-server ros-${ROS_DISTRO}-rostopic

ROS2

sudo apt-get install ros-${ROS_DISTRO}-rosbridge-server ros-${ROS_DISTRO}-ros2topic

Run

ROS1

# Launch rosbridge server
roslaunch rosbridge_server rosbridge_websocket.launch

# Launch example string publisher
rostopic pub /text_to_speech/output std_msgs/String -- "I am hero, an awesome robot!"

ROS2

# Launch rosbridge server
ros2 launch rosbridge_server rosbridge_websocket_launch.xml

# Launch example string publisher
ros2 topic pub /text_to_speech/output std_msgs/msg/String "data: 'I am hero, an awesome robot!'"

Start hero-display

# Run hero-display executable
NO_FULLSCREEN=1 ./dist_electron/hero-display.AppImage

To connect to a different rosbridge webserver, add the desired hostname or ip-address as final argument.

NO_FULLSCREEN=1 ./dist_electron/hero-display.AppImage --host=other_machine.local

About

Display sink for the hero display that presents information to the user

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 5