Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run the python file red_light_green_light.py #48

Open
ibrahimqazi opened this issue Apr 24, 2020 · 3 comments
Open

Unable to run the python file red_light_green_light.py #48

ibrahimqazi opened this issue Apr 24, 2020 · 3 comments

Comments

@ibrahimqazi
Copy link

Hello
My Gazebo simulation is running already and the topic /cmd_vel_mux/input/teleop is there but when I run ./red_light_green_light.py cmd_vel:=cmd_vel_mux/input/teleop there is displayed nothing. Like this:

ibrahim@ibrahim-aspire-v5-591g:~/catkin_workspaces/ros_python_ws/src/wanderbot/src$ ./red_light_green_light.py cmd_vel:=cmd_vel_mux/input/teleop
ibrahim@ibrahim-aspire-v5-591g:~/catkin_workspaces/ros_python_ws/src/wanderbot/src$ 

Can anyone help me to point out the problem ?
Thanks

@ktro2828
Copy link

ktro2828 commented May 3, 2020

maybe you should change
if light_change_time < rospy.Time.now():
not
>
it works for me!!

@ibrahimqazi
Copy link
Author

maybe you should change
if light_change_time < rospy.Time.now():
not
>
it works for me!!

Thank you it worked.

@jacobsayono
Copy link

running mine on noetic.
i installed turtlebot3 for noetic (book's version is turtlebot for indigo)...
mine worked if i do:
~/wanderbot_ws $ roslaunch turtlebot3_gazebo turtlebot3_world.launch
and then:
~/wanderbot_ws/src/wanderbot/src $ ./red_light_green_light.py
without the cmd_vel stuff!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants