GithubHelp home page GithubHelp logo

mindthomas / jetsoncar-gazebo Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 0.0 17.23 MB

WARNING! This repository is deprecated. Please find the latest code in: https://github.com/mindThomas/JetsonCar

License: MIT License

CMake 31.42% Python 29.23% C++ 39.36%

jetsoncar-gazebo's Introduction

JetsonCar-Simulation

Simulation environment for the Jetson Car project using Gazebo and ROS

Cloning

To set up the simulation environment you need to clone the necessary repositories into an existing or new catkin workspace. Follow the steps below to set up a new catkin workspace and clone:

mkdir -p ~/jetsoncar_simulation_ws/src
cd ~/jetsoncar_simulation_ws/src
catkin_init_workspace
git clone https://github.com/mindThomas/JetsonCar-Gazebo
git clone https://github.com/mindThomas/JetsonCar-ROS
git clone https://github.com/mindThomas/realsense_gazebo_plugin
cd ..
rosdep install --from-paths src --ignore-src -r -y

Building

Build the project with catkin build

cd ~/jetsoncar_simulation_ws
catkin build
source devel/setup.bash

Launch simulation

The Gazebo simulation can be launched with

roslaunch jetsoncar_gazebo gazebo.launch

Reset simulation

The Gazebo simulation/world can be reset without having to restart Gazebo by calling:

rosservice call /gazebo/reset_world

Debugging

View TF frames

Published frames (TF's) can be viewed with (generates a PDF)

rosrun tf view_frames

Convert Xacro to URDF

Another way would be to convert the xacro file to urdf and then urdf_to_graphiz

xacro JetsonCar-Simulation/jetsoncar_description/urdf/jetsoncar.xacro >> jetsoncar.urdf
urdf_to_graphiz jetsoncar.urdf
evince jetsoncar.pdf

Notes

joint_state_publisher is only for testing purposes. A node in a real system or Gazebo for simulation should provide the current actual joint angles by updating all tf's.

Both joint transmission (actuators) and joint controllers will have to be initialized: http://wiki.ros.org/urdf/Tutorials/Using%20a%20URDF%20in%20Gazebo

jetsoncar-gazebo's People

Contributors

mindthomas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.