Skip to content

removing the boxes from sim #53

@redto0

Description

@redto0

the issue

when launching the robot in simulation, the box will appear on the track. We would like to update the world so this is not the case.

a successful fix will be able to remove the boxes from a clean launch, with just the changes directly from this repo.

Steps to recreate this issue.

  1. Install ROS2 Humble, and ROS2 tools
  2. Install Webots
  3. Create your ros workspace, a dir of ws_name/src
  4. In src, clone this repo with Git
  5. Still in src, run cat Phoenix/phoenix.repos | vcs import to import source dependencies
  6. Cd to the workspace root, and run rosdep install --from-paths src --ignore-src -r -y to install binary dependencies
  7. Still in workspace root, run colcon build to build the workspace. If using clang in your IDE,
    run colcon build --cmake-args -DCMAKE_EXPORT_COMPILE_COMMANDS=ON (this command takes care of depthai errors)
    1. If using the compile commands, they are often created in build. Move it to the workspace root, and import it into
      your IDE tooling.
  8. Make sure your user is a part of the unix dialout group. This allows for it to connect to USB devices. In addition,
    make sure you
    have set the udev rules for the OAK-d camera,
    to allow for it to connect.

The repo should now be built, and launch-able in sim or on the kart.

You can just launch webots with:
ros2 launch phoenix_gazebo common.launch.py

do not forget to source the repo first with . install/setup.bash

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions