Skip to content

I HAVE TO REBASE. ros docker integration#699

Closed
paul-nechifor wants to merge 12 commits intodevfrom
test-branch-nav
Closed

I HAVE TO REBASE. ros docker integration#699
paul-nechifor wants to merge 12 commits intodevfrom
test-branch-nav

Conversation

@paul-nechifor
Copy link
Contributor

No description provided.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines 306 to +324
enable_joystick=args.joystick,
enable_camera=args.camera,
enable_connection=os.getenv("ROBOT_IP") is not None,
enable_ros_bridge=True,
)
robot.start()

# test navigation
pose = PoseStamped(
ts=time.time(),
frame_id="map",
position=Vector3(1.0, 1.0, 0.0),
orientation=Quaternion(0.0, 0.0, 0.0, 1.0),
)

time.sleep(2)
robot.navigate_to_goal(pose, blocking=False)

time.sleep(5)
robot.cancel_navigation()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Avoid issuing navigation goal by default in main()

The main() routine now unconditionally constructs a PoseStamped and calls robot.navigate_to_goal(...) followed by robot.cancel_navigation() immediately after robot.start(). Running this script will therefore command the robot to drive toward (1.0, 1.0, 0.0) every time the process starts, even when the user only intended to bring the system up or teleoperate it. The previous version did not send any motion commands at startup. This implicit goal is surprising and risks unintended robot motion; it should be removed or gated behind an explicit CLI flag.

Useful? React with 👍 / 👎.

@paul-nechifor paul-nechifor changed the title Test branch nav I HAVE TO REBASE. ros docker integration Oct 25, 2025
@paul-nechifor
Copy link
Contributor Author

Closed in favor of #700

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

Successfully merging this pull request may close these issues.

3 participants