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

Revision history [back]

click to hide/show revision 1
initial version

I think I may be running into a similar issue but my terminal is giving me this error:

UnboundLocalError: local variable 'linear_speed' referenced before assignment

With action 3:

Which I think may have to do with

line 125 in my_turtlebot2_maze.py:

        linear_speed = -self.linear_turn_speed

I think I may be running into a similar issue but my terminal is giving me this error:

UnboundLocalError: local variable 'linear_speed' referenced before assignment

With action 3:

Which I think may have to do with

line 125 in my_turtlebot2_maze.py:

        linear_speed = -self.linear_turn_speed

And line 131 as well:

    self.move_base(linear_speed, angular_speed, epsilon=0.05, update_rate=10)

I think I may be running into a similar issue but my terminal is giving me this error:

UnboundLocalError: local variable 'linear_speed' referenced before assignment

With action 3:

Which I think may have to do with

line 125 in my_turtlebot2_maze.py:

        linear_speed = -self.linear_turn_speed

And line 131 as well:

    self.move_base(linear_speed, angular_speed, epsilon=0.05, update_rate=10)

ISSUE SOLVED (I believe, @autonomousfan, please chime in if this does not solve your problem.

THREAD LINK (DISCLAIMER I WROTE THIS ON ROS NOETIC WITH ROS DEVELOPMENT STUDIO FROM THE CONSTRUCT, I BELIEVE IT IS EASIER TO MAKE WORK

link text

I think I may be running into a similar issue but my terminal is giving me this error:

UnboundLocalError: local variable 'linear_speed' referenced before assignment

With action 3:

Which I think may have to do with

line 125 in my_turtlebot2_maze.py:

        linear_speed = -self.linear_turn_speed

And line 131 as well:

    self.move_base(linear_speed, angular_speed, epsilon=0.05, update_rate=10)

ISSUE SOLVED (I believe, @autonomousfan, please chime in if this does not solve your problem.

THREAD LINK (DISCLAIMER I WROTE THIS ON ROS NOETIC WITH ROS DEVELOPMENT STUDIO FROM THE CONSTRUCT, I BELIEVE IT IS EASIER TO MAKE WORKLINK

Disclaimer: I setup this package with a ROS Noetic system using ROS Development Studio from the Construct. I did this because it was very difficult to install ROS Noetic using Ubuntu 16.04 on my old windows computer, but that may be possible.

link textTHREAD

I think I may be running into a similar issue but my terminal is giving me this error:

UnboundLocalError: local variable 'linear_speed' referenced before assignment

With action 3:

Which I think may have to do with

line 125 in my_turtlebot2_maze.py:

        linear_speed = -self.linear_turn_speed

And line 131 as well:

    self.move_base(linear_speed, angular_speed, epsilon=0.05, update_rate=10)

ISSUE SOLVED (I believe, @autonomousfan, please chime in if this does not solve your problem.

THREAD LINK

Disclaimer: I setup this package with a ROS Noetic Kinetic system using ROS Development Studio from the Construct. I did this because it was very difficult to install ROS Noetic using Ubuntu 16.04 on my old windows computer, but that may be possible.possible. I do believe it is easier to make these packages to work using ROS Kinetic, as that is what they were developed on and they have not seen much support in years.

THREAD