Skip to content

Arjun191/NTU-USV_Control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

vrx-control

Control implementation on Virtual RobotX (VRX) simulator as part of NTU-India connect Research internship

Build

This python script can be used with VRX simulator. Follow their tutoral page to install the VRX simulator environment.
After installation, add the controller.py file to ~/vrx_ws/src/vrx/vrx_gazebo/nodes.
Now, go to ~/vrx_ws/src/vrx/vrx_gazebo/CMakeLists.txt and add "nodes/controller.py" to the catkin_install_python function.

Make the python script executable:

$ chmod +x ~/vrx_ws/src/vrx/vrx_gazebo/nodes/controller.py

Use catkin_make to build:

$ cd ~/vrx_ws
$ catkin_make

Run

Launch the VRX simulation with a simple world:

$ roslaunch vrx_gazebo vrx.launch

Open a new terminal and start the python node:

$ rosrun vrx_gazebo controller.py

About

Code files used for USV Control

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages