ros3djs中交互式标记(interactive marker)的客户端类InteractiveMarkerClient的使用

ros3djs中交互式标记(interactive marker)的客户端类InteractiveMarkerClient的使用

ros3djs中交互式标记(interactive marker)的客户端类InteractiveMarkerClient的使用_第1张图片

1.首先准备后端项目

系统:ubuntu20.04 ,  ros:noetic

mkdir catkin_ws
cd catkin_ws
mkdir src
cd src
git clone https://github.com/ros-visualization/visualization_tutorials.git
git clone https://github.com/RobotWebTools/interactive_marker_proxy.git

修改 interactive_marker_prox 项目中的代码 proxy.cpp  把tf改tf2.

/*
 * Copyright (c) 2012, Willow Garage, Inc.
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 *     * Redistributions of source code must retain the above copyright
 *       notice, this list of conditions and the following disclaimer.
 *

你可能感兴趣的:(新ros专栏,ros3djs,Interactive,MarkerClient,rvzi,交互式标记)