mirror of
https://github.com/westonrobot/scout_ros.git
synced 2026-01-12 03:15:01 +08:00
removed scout_sdk, replace with wrp_sdk
This commit is contained in:
@@ -15,7 +15,7 @@ find_package(catkin REQUIRED COMPONENTS
|
||||
std_msgs
|
||||
geometry_msgs
|
||||
scout_msgs
|
||||
scout_sdk
|
||||
wrp_sdk
|
||||
tf2
|
||||
tf2_ros
|
||||
)
|
||||
@@ -29,7 +29,7 @@ find_package(catkin REQUIRED COMPONENTS
|
||||
catkin_package(
|
||||
INCLUDE_DIRS include
|
||||
LIBRARIES scout_messenger
|
||||
CATKIN_DEPENDS scout_msgs roscpp sensor_msgs scout_sdk
|
||||
CATKIN_DEPENDS scout_msgs roscpp sensor_msgs wrp_sdk
|
||||
# DEPENDS Boost
|
||||
)
|
||||
|
||||
|
||||
@@ -18,9 +18,9 @@
|
||||
#include <tf2_ros/transform_broadcaster.h>
|
||||
|
||||
#include "scout_msgs/ScoutLightCmd.h"
|
||||
#include "scout_sdk/scout_base.hpp"
|
||||
#include "wrp_sdk/platforms/scout/scout_base.hpp"
|
||||
|
||||
namespace wescore
|
||||
namespace westonrobot
|
||||
{
|
||||
class ScoutROSMessenger
|
||||
{
|
||||
@@ -68,6 +68,6 @@ private:
|
||||
void LightCmdCallback(const scout_msgs::ScoutLightCmd::ConstPtr &msg);
|
||||
void PublishOdometryToROS(double linear, double angular, double dt);
|
||||
};
|
||||
} // namespace wescore
|
||||
} // namespace westonrobot
|
||||
|
||||
#endif /* SCOUT_MESSENGER_HPP */
|
||||
|
||||
@@ -19,13 +19,13 @@
|
||||
<build_depend>roslaunch</build_depend>
|
||||
<build_depend>roslint</build_depend>
|
||||
<build_depend>sensor_msgs</build_depend>
|
||||
<build_depend>scout_sdk</build_depend>
|
||||
<build_depend>wrp_sdk</build_depend>
|
||||
<run_depend>controller_manager</run_depend>
|
||||
<run_depend>geometry_msgs</run_depend>
|
||||
<run_depend>scout_msgs</run_depend>
|
||||
<run_depend>roscpp</run_depend>
|
||||
<run_depend>sensor_msgs</run_depend>
|
||||
<run_depend>topic_tools</run_depend>
|
||||
<run_depend>scout_sdk</run_depend>
|
||||
<run_depend>wrp_sdk</run_depend>
|
||||
<export></export>
|
||||
</package>
|
||||
|
||||
@@ -5,10 +5,10 @@
|
||||
#include <tf/transform_broadcaster.h>
|
||||
#include <nav_msgs/Odometry.h>
|
||||
|
||||
#include "scout_sdk/scout_base.hpp"
|
||||
#include "wrp_sdk/platforms/scout/scout_base.hpp"
|
||||
#include "scout_base/scout_messenger.hpp"
|
||||
|
||||
using namespace wescore;
|
||||
using namespace westonrobot;
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
|
||||
@@ -5,10 +5,10 @@
|
||||
#include <tf/transform_broadcaster.h>
|
||||
#include <nav_msgs/Odometry.h>
|
||||
|
||||
#include "scout_sdk/scout_base.hpp"
|
||||
#include "wrp_sdk/platforms/scout/scout_base.hpp"
|
||||
#include "scout_base/scout_messenger.hpp"
|
||||
|
||||
using namespace wescore;
|
||||
using namespace westonrobot;
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
#include "scout_msgs/ScoutStatus.h"
|
||||
|
||||
namespace wescore
|
||||
namespace westonrobot
|
||||
{
|
||||
ScoutROSMessenger::ScoutROSMessenger(ros::NodeHandle *nh) : scout_(nullptr), nh_(nh)
|
||||
{
|
||||
@@ -259,4 +259,4 @@ void ScoutROSMessenger::PublishOdometryToROS(double linear, double angular, doub
|
||||
|
||||
odom_publisher_.publish(odom_msg);
|
||||
}
|
||||
} // namespace wescore
|
||||
} // namespace westonrobot
|
||||
Reference in New Issue
Block a user