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

Add new simulator with new bot #75

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions simulation-2015/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# agv_simulation

Simulator for new bot.

Sensors added and the topics they publish to:
* Camera : /eklavya/image_raw
* Lidar : /eklavya/laser/scan
* IMU : /eklavya/imu
* GPS : /eklavya/gps/fix


Files where respective sensor topics are defined:
* Camera : eklavya5_description/robot/chasisss.urdf.xacro
* Lidar: eklavya5_description/robot/chasisss.urdf.xacro
* IMU : eklavya5_description/sensors/imusensor_gazebo.urdf.xacro
* GPS : eklavya5_description/sensors/hector_gps_gazebo.urdf.xacro


Note: Plugin for GPS is a custom plugin, hence the package "eklavya5_gazebo_plugins" has to be built for the GPS to work.


The simulator is launch by:

roslaunch eklavya5_gazebo eklavya_igvc_final.launch

Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0"?>
<launch>

<param name="robot_description"
textfile="$(find eklavya5_description)/robots/chasisss.urdf" />
<node pkg="robot_state_publisher" type="robot_state_publisher" name="robot_state_publisher">
<param name="publish_frequency" type="double" value="30.0" />
</node>
</launch>
27 changes: 27 additions & 0 deletions simulation-2015/eklavya5_description/launch/display.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0"?>
<launch>
<arg
name="model" />
<arg
name="gui"
default="True" />
<param
name="robot_description"
textfile="$(find eklavya5_description)/robots/chasisss.URDF" />
<param
name="use_gui"
value="$(arg gui)" />
<node
name="joint_state_publisher"
pkg="joint_state_publisher"
type="joint_state_publisher" />
<node
name="robot_state_publisher"
pkg="robot_state_publisher"
type="state_publisher" />
<node
name="rviz"
pkg="rviz"
type="rviz"
args="-d $(find eklavya5_description)/urdf.rviz" />
</launch>
24 changes: 24 additions & 0 deletions simulation-2015/eklavya5_description/launch/gazebo.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0"?>
<launch>
<include
file="/opt/ros/indigo/share/gazebo_ros/launch/empty_world.launch" />
<param name="robot_description" textfile="$(find eklavya5_description)/robots/chasisss.urdf"/>
<node
name="tf_footprint_base"
pkg="tf"
type="static_transform_publisher"
args="0 0 0 0 0 0 chassis base_footprint 40" />
<node
name="spawn_model"
pkg="gazebo_ros"
type="spawn_model"
args="-file $(find eklavya5_description)/robots/chasisss.urdf -urdf -model chasisss"
output="screen" />
<include
file="$(find pr2_controller_manager)/controller_manager.launch" />
<node
name="fake_joint_calibration"
pkg="rostopic"
type="rostopic"
args="pub /calibrated std_msgs/Bool true" />
</launch>
12 changes: 12 additions & 0 deletions simulation-2015/eklavya5_description/launch/view_model.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<launch>
<arg name="front_laser" default="true" />

<!-- Standalone launcher to visualize the robot model. -->
<!--<include file="$(find eklavya5_description)/launch/description.launch"/> -->

<param name="use_gui" value="true" />
<node name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher" />

<node name="rviz" pkg="rviz" type="rviz" args="-d $(find eklavya5_description)/urdf.rviz" />
</launch>
Binary file not shown.
Binary file not shown.
705 changes: 705 additions & 0 deletions simulation-2015/eklavya5_description/meshes/GPSAntennaScaledDown.dae

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
253 changes: 253 additions & 0 deletions simulation-2015/eklavya5_description/meshes/hokuyo.dae

Large diffs are not rendered by default.

Binary file not shown.
18 changes: 18 additions & 0 deletions simulation-2015/eklavya5_description/package.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0"?>
<package>
<name>eklavya5_description</name>
<version>0.0.1</version>
<description>chasissssss welded.SLDASM</description>
<maintainer email="[email protected]">Manuj Agrawal</maintainer>
<buildtool_depend>catkin</buildtool_depend>
<build_depend>gazebo</build_depend>
<build_depend>gazebo_ros</build_depend>
<build_depend>roscpp</build_depend>
<build_depend>std_msgs</build_depend>
<run_depend>gazebo</run_depend>
<run_depend>gazebo_ros</run_depend>
<run_depend>roscpp</run_depend>
<run_depend>std_msgs</run_depend>
<author>me</author>
<license>BSD</license>
</package>
Loading