Environment 1
-
create the layout and add objects
-
generateHeatMap(): 2.1 Create a dummy file to generate a heap map -- DONE 2.2 Integrate it with ros output 2.3 Get object location
-
getObjects() 3.1 Send the location/object details 3.1.1 create a ros message --Done 3.2 get objects
Environment 2:
-
findObjects() 1.1 send objects() 1.2 get object location: ROS service
-
getEnvironmentSnapshot()
-
getDestination()
publish ROS messages: getHumanLocation() getRobotLocation()
cd ~/catkin_ws/
source devel/setup.sh
#in another terminal
rosparam set ROS_IP 192.168.50.91
roscore
adding maximo charecter
-
Download Maximo charecter and animation from here: https://www.mixamo.com/#/
-
Import the Maximo character model:
- In Unity's Project window, navigate to the folder where you want to import the Maximo character.
- Copy the Maximo character model files (FBX, OBJ, textures, etc.) into the folder.
- Unity will automatically import the model and its associated assets.
- Set up the character's materials and textures:
-
copy the animation and charecter model to Assets
-
Click on the charecter (asset). rig->AnimationTpe = Humanoid. Materials-> extract to material folder.
-
click on the animation type. Rig->source= chrecter name. Animations-> select loop time.
-
Create an Animator Controller asset in Unity and set it as the character's controller.
-
Configure the Animator Controller by adding animation clips and setting up transitions between them.
To call the ros service : rosservice call /obj_pose_srv Cube
- the class name and file name should match
- To add any custom message to ROS, create a WS in carkin and build the srokspace then import the message in unity
ROS UNity setup : https://www.youtube.com/watch?v=pdMxLxolQuo
cd Py