-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathteleop_ec2.bash
19 lines (17 loc) · 985 Bytes
/
teleop_ec2.bash
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
export USE_MIDDLEWARE=true
#export MIDDLEWARE_ADDRESS=crop.5gera.net
export MIDDLEWARE_ADDRESS=ec2-18-101-149-37.eu-south-2.compute.amazonaws.com:31000
export MIDDLEWARE_USER=ad20f254-dc3b-406d-9f15-b73ccd47e867
export MIDDLEWARE_PASSWORD=middleware
#signal
export MIDDLEWARE_TASK_ID=40e47a03-ba03-4f29-9b47-5ccbd92a8456
#reference
#export MIDDLEWARE_TASK_ID=6d7b20ad-8459-4f00-91f4-816dded6395c
export MIDDLEWARE_ROBOT_ID=300c719a-1c06-4500-a13a-c2e20592b273
# TOPICS TO SEND FROM ROBOT TO NETWORK APPLICATION
export TOPICS_FROM_SERVER='[{"name": "/robot/robotnik_base_control/cmd_vel_unstamped", "type": "geometry_msgs/msg/Twist"}]'
# TOPICS TO SEND FROM NETWORK APPLICATION BACK TO ROBOT
export TOPICS_TO_SERVER='[{"name": "/robot/robotnik_base_control/odom", "type": "nav_msgs/msg/Odometry"},{"name": "/robot/front_rgbd_camera/rgb/image_raw/compressed", "type": "sensor_msgs/msg/CompressedImage"}]'
# RUN RELAY CLIENT
python3 -m era_5g_relay_network_application.client