mirror of
https://github.com/westonrobot/scout_ros.git
synced 2026-01-12 19:25:01 +08:00
removed scout_sdk, replace with wrp_sdk
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace wescore {
|
||||
namespace westonrobot {
|
||||
class ScoutSkidSteer {
|
||||
public:
|
||||
ScoutSkidSteer(ros::NodeHandle *nh, std::string robot_name = "");
|
||||
@@ -44,6 +44,6 @@ class ScoutSkidSteer {
|
||||
|
||||
void TwistCmdCallback(const geometry_msgs::Twist::ConstPtr &msg);
|
||||
};
|
||||
} // namespace wescore
|
||||
} // namespace westonrobot
|
||||
|
||||
#endif /* SCOUT_SKID_STEER_HPP */
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include <geometry_msgs/Twist.h>
|
||||
#include <std_msgs/Float64.h>
|
||||
|
||||
namespace wescore {
|
||||
namespace westonrobot {
|
||||
ScoutSkidSteer::ScoutSkidSteer(ros::NodeHandle *nh, std::string robot_name)
|
||||
: nh_(nh), robot_name_(robot_name) {
|
||||
motor_fr_topic_ = robot_name_ + "/scout_motor_fr_controller/command";
|
||||
@@ -57,4 +57,4 @@ void ScoutSkidSteer::TwistCmdCallback(
|
||||
motor_rr_pub_.publish(motor_cmd[3]);
|
||||
}
|
||||
|
||||
} // namespace wescore
|
||||
} // namespace westonrobot
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#include "scout_gazebo/scout_skid_steer.hpp"
|
||||
|
||||
using namespace wescore;
|
||||
using namespace westonrobot;
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
// setup ROS node
|
||||
|
||||
Reference in New Issue
Block a user