ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

soshiant's profile - activity

2017-04-22 03:58:04 -0500 received badge  Notable Question (source)
2017-04-22 03:58:04 -0500 received badge  Famous Question (source)
2015-08-17 04:32:53 -0500 received badge  Popular Question (source)
2015-08-17 02:57:07 -0500 received badge  Supporter (source)
2015-08-17 02:57:00 -0500 received badge  Scholar (source)
2015-08-17 02:56:59 -0500 received badge  Famous Question (source)
2015-08-15 11:38:24 -0500 commented question how to spawn a model with c++ with different joint angles

DYNAMIC PROGRAMING is the difference. if i'm going to run a simulation millions of time, then i wouldn't like start from the beginning every time. and use what i have come by from the first hundred runs.

2015-08-15 00:26:56 -0500 asked a question how to spawn a model with c++ with different joint angles

i'm working with nao in gazebo

i'm trying to write a c++ node that would take joint values and start simulation with those joint values i already tried rosservice spawn but it only gives me position and orientation choices.

2015-08-14 07:57:10 -0500 asked a question subscriber callback nonvoid

i want to subscribe to a topic but i want my callback function to return something later on so nonvoid but it wont accept it. i wrote the subscriber in this manner:

ros::Subscriber pOsision = nexus.subscribe("/nao_dcm/joint_states", 1000,chatterCallback);

and my callback in this manner :

int chatterCallback(const sensor_msgs::JointState::ConstPtr& sos) { double rope1=sos->position.size(); return(rope1); }

and gives me this error

error: no matching function for call to 'ros::NodeHandle::subscribe(const char [22], int, int (&)(const ConstPtr&))' ros::Subscriber pOsision = nexus.subscribe("/nao_dcm/joint_states", 1000,chatterCallback); ^

is it even possible to do this ?

2015-08-14 07:42:13 -0500 received badge  Enthusiast
2015-08-04 00:49:40 -0500 received badge  Notable Question (source)
2015-08-03 23:00:04 -0500 received badge  Editor (source)
2015-08-03 15:31:09 -0500 received badge  Popular Question (source)
2015-08-03 15:31:05 -0500 answered a question third party library

i added following two lines.

find_library(Fuzzy fuzzylited /home/soshiant/fuzzylite-5.0/fuzzylite-5.0/fuzzylite/debug/bin/)

target_link_libraries(talker1 ${catkin_LIBRARIES} ${Fuzzy})

it worked perfectly in qtcreator but not in eclipse it didn't recognized the library because it gave me err like invalid argument in my code that qt seems not to mined alles in ordnung danke

2015-08-03 10:12:45 -0500 asked a question third party library

i compiled a project with catkin and it worked fine and now i'm trying to write some more code that i'm going to use variables in the previous code (read and write) i've opened cmakelist in qtcreator IDE and also managed to bring it up in eclipse IDE but neither work when i add my lib.so and includepath i think i should somehow manipulate the cmakelist for it to work but when i search i don't see anywhere adding a lib.so file or path in cmakelist its wearing me out cause its not working can anyone help me or point me in the right direction?


Edit:

i added following two lines.

find_library(Fuzzy fuzzylited /home/soshiant/fuzzylite-5.0/fuzzylite-5.0/fuzzylite/debug/bin/)

target_link_libraries(talker1 ${catkin_LIBRARIES} ${Fuzzy})

it worked perfectly in qtcreator but not in eclipse it didn't recognized the library because it gave me err like invalid argument in my code that qt seems not to mined alles in ordnung danke