37 pn.
param(
"simulation", simulation,
false);
43 bool has_katana_type = n.
getParam(
"katana_type", katana_type);
46 ROS_ERROR(
"Parameter katana_type was not set!");
50 if (katana_type ==
"katana_300_6m180")
52 else if (katana_type ==
"katana_400_6m180" || katana_type ==
"katana_450_6m90a" 53 || katana_type ==
"katana_450_6m90b")
58 "Parameter katana_type was set to invalid value: %s; please use one of the following: katana_300_6m180, katana_400_6m180, katana_450_6m90a, katana_450_6m90b", katana_type.c_str());
80 jointStatePublisher.
update();
81 jointTrajectoryActionController.
update();
92 int main(
int argc,
char** argv)
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
int main(int argc, char **argv)
bool param(const std::string ¶m_name, T ¶m_val, const T &default_val) const
Wrapper class around the KNI (Katana Native Library).
This is the node providing all publishers/services/actions relating to the Katana arm...
bool getParam(const std::string &key, std::string &s) const
ROSCPP_DECL void spinOnce()