Skip to content

This project aims to simulate an Automated Guided Vehicle on Gazebo ROS (melodic) using python code.

Notifications You must be signed in to change notification settings

heba0/Simulating-AGV-using-Gazebo-ROS

Repository files navigation

gedit ~/.bashrc

  • paste the following at the end of the file:

source /opt/ros/melodic/setup.bashsource /home/admin/catkin_ws/devel/setup.bash

  • save and close the file

  • Go to gazebo-tutorials-velodyne-master/velodyne_plugin/build

  • Inside build open a terminal and type the following commands

cmake ../

make

export GAZEBO_PLUGIN_PATH=$HOME/gazebo-tutorials-velodyne-master/velodyne_plugin /build:$GAZEBO_PLUGIN_PATH

  • open 5 terminals (you can have one terminal with multiple tabs)

    • tab1:

      roscore

    • tab2:

    roslaunch gazebo_ros emptry_world.launch can also try

    rosrun gazebo_ros gazebo

    • tab3 (sensor plugin):

      rosrun gazebo_plugins hokuyo_node

    • tab4 (our node):

    rosrun pkg1 hokuyoSub.py

    • tab5 (to visualize nodes and topics):

    rosrun rqt_graph rqt_graph

    • tab6 (to see all topics):

      rostopic list

    • tab7 (to publish to a topic manually eg.: /my_robot/vel_cmd is the topic name):

    rostopic pub /my_robot/vel_cmd std_msgs/Float32 1.0

Some useful links:

About

This project aims to simulate an Automated Guided Vehicle on Gazebo ROS (melodic) using python code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published