Installing just autoware_msgs from autoware.ai, possible?
Hello!
Is it possible to install only autoware_msgs from the messages directory in autoware.ai repo. The pc uses CUDA 10.2 which goes against the dependencies and also I don't need all other messages.
I tried to cherry pick the msgs inside autoware_msgs and put it as custom messages to my ros2_ws/src
directory. I have the Package.xml and CMakeLists.txt linked. I also converted them to reflect ROS2 standards. After building it and locally ros sourcing the project I was able access the msg in ros2 msg list
$ ros2 msg list | grep "lane_"
lane_following_msgs/msg/AccelCmd
lane_following_msgs/msg/BrakeCmd
lane_following_msgs/msg/ControlCommand
lane_following_msgs/msg/ControlCommandStamped
lane_following_msgs/msg/Gear
lane_following_msgs/msg/IndicatorCmd
lane_following_msgs/msg/LampCmd
lane_following_msgs/msg/SteerCmd
lane_following_msgs/msg/VehicleCmd
lane_following_msgs/msg/VehicleLocation
$ ros2 msg show lane_following_msgs/msg/VehicleCmd
std_msgs/Header header
lane_following_msgs/SteerCmd steer_cmd
lane_following_msgs/AccelCmd accel_cmd
lane_following_msgs/BrakeCmd brake_cmd
lane_following_msgs/LampCmd lamp_cmd
lane_following_msgs/Gear gear_cmd
int32 mode
geometry_msgs/TwistStamped twist_cmd
lane_following_msgs/ControlCommand ctrl_cmd
int32 emergency
$ ros2 topic list
/parameter_events
/rosout
/simulator/camera_node/left/image/compressed
/simulator/camera_node/main/image/compressed
/simulator/camera_node/right/image/compressed
/vehicleCmd
However when I tried to use the VehicleCmd.msg with LGSVL Autoware, ros2-web-bridge, /vehicle_cmd
with message type autoware_msgs/VehicleCmd
, I wasn't able to send any data. What was I doing wrong?
Any help would be appreciated? Thanks.
Setup -
Ubuntu 18.04.4 LTS, Kernel: 5.3.0-46-generic x86_64, ros-dashing-desktop. CUDA 10.2
$ env |grep ROS
ROS_ETC_DIR=/opt/ros/melodic/etc/ros
ROS_ROOT=/opt/ros/melodic/share/ros
ROS_VERSION=2
ROS_PYTHON_VERSION=3
ROS_PACKAGE_PATH=/opt/ros/melodic/share
ROS_DISTRO=dashing
Pastebin links Package.XML-- https://pastebin.com/G9hdZ6AA CMakeLists.txt -- https://pastebin.com/WbMgEfH5