From: <tpr...@us...> - 2009-02-28 03:11:10
|
Revision: 11939 http://personalrobots.svn.sourceforge.net/personalrobots/?rev=11939&view=rev Author: tpratkanis Date: 2009-02-28 03:11:08 +0000 (Sat, 28 Feb 2009) Log Message: ----------- Remove useless feature. Modified Paths: -------------- pkg/trunk/highlevel/highlevel_controllers/src/control_cli.cpp Modified: pkg/trunk/highlevel/highlevel_controllers/src/control_cli.cpp =================================================================== --- pkg/trunk/highlevel/highlevel_controllers/src/control_cli.cpp 2009-02-28 02:41:45 UTC (rev 11938) +++ pkg/trunk/highlevel/highlevel_controllers/src/control_cli.cpp 2009-02-28 03:11:08 UTC (rev 11939) @@ -120,7 +120,7 @@ } void runCLI() { - printf("Type:\nI\tInitialize States\nP\tActivate Recharge.\nB\tSet Battery State\nN\tPrint Joint Names\nQ\tQuit\nS\tHand Wave\nL\tLeft Arm\nR\tRight Arm\n"); + printf("Type:\nI\tInitialize States\nP\tActivate Recharge.\nB\tSet Battery State\nQ\tQuit\nS\tHand Wave\nL\tLeft Arm\nR\tRight Arm\n"); char c = '\n'; while (c == '\n' || c == '\r') { @@ -151,20 +151,6 @@ goal.enable = 1; goal.recharge_level = recharge_level; ros::Node::instance()->publish("recharge_goal", goal); - } else if (c == 'N') { - printf("Joint names (number of parameters):\n"); - - robot_srvs::PlanNames::Request namesReq; - robot_srvs::PlanNames::Response names; - if (ros::service::call("plan_joint_state_names", namesReq, names)) { - for (unsigned int i = 0; i < names.get_names_size(); i++) { - printf("%s: %d\n", names.names[i].c_str(), names.num_values[i]); - } - } else { - printf("Error in service call.\n"); - } - - } else if (c == 'I') { robot_msgs::MechanismState mechanismState; std::vector<std::string> names; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |