a2s-institute / youbot_simulation

Packages to run the KUKA youBot in the Gazebo simulation with ROS
23 stars 42 forks source link

unable to run youbot_simulation on ros noetic #16

Open RozFa opened 3 years ago

RozFa commented 3 years ago

Hello, I have read the previous issues and authors seem to have solved their problems. I got youbot_simulation and youbot_description. I had the following errors using catkin build :

error: ‘CONSTRUCTED’ was not declared in this scope 836 | state_ = CONSTRUCTED; error: ‘CONSTRUCTED’ was not declared in this scope 844 | if (state_ != CONSTRUCTED) error: ‘INITIALIZED’ was not declared in this scope 879 | state_ = INITIALIZED;

also when I use roslaunch youbot_gazebo_robot youbot.launch gazebo doesn't start.

I am new to Ros and I can not figure out how to fix these.

sthoduka commented 3 years ago

Hi @RozFa , you might be using the default kinetic-devel branch. Try compiling the noetic-devel branch, and it should at least fix the errors during catkin build.

RozFa commented 3 years ago

Hi @RozFa , you might be using the default kinetic-devel branch. Try compiling the noetic-devel branch, and it should at least fix the errors during catkin build.

I had the same idea. but I double checked and got the noetic-devel. I'm afraid these happened with noetic branch

sthoduka commented 3 years ago

that's odd, because these errors were specifically addressed in c4fb88f98fd3ae528a910cc10d8a5d18cbf58688.

Also, if you look at the line numbers mentioned in your error message, the noetic-devel branch shows updated code (see line 836 for example)

RozFa commented 3 years ago

that's odd, because these errors were specifically addressed in c4fb88f.

Also, if you look at the line numbers mentioned in your error message, the noetic-devel branch shows updated code (see line 836 for example)

maybe I made a mistake writing noetic=devel at it just got the default version. I changed those part manually and no more errors in catkin build. thank you