treat eclispe
I stay well with eclipse,I can build run and debug,but I can not stop it from jerking off!eg I code `
ros::init(argc,argv,"turtle_move");
eclipse told me
:Invalid arguments ' Candidates are: void init(const ? &, const ? &, ?) void init(int &, char * *, const ? &, ?) '
I code
ros::Publisher pub=Nh.advertise<geometry_msgs::twist>("/turtle1/cmd_vel",10);
eclipse told me
Multiple markers at this line
- Invalid arguments ' Candidates are: ros::Publisher advertise(const ? &, ?, bool) ros::Publisher advertise(ros::AdvertiseOptions
&) ros::Publisher advertise(const ? &, ?, const ? &, const ? &, const ? &, bool) '
- Symbol 'advertise' could not be resolved
uncountable situations like this,omfg
Did you follow the instructions on how to create an Eclipse project? http://wiki.ros.org/IDEs#Eclipse Depending on the ROS version you use follow either the rosbuild or catkin instructions. Groovy, hydro, indigo, jade, and kinetic use catkin.