I’m student at Arts et Metiers Paris, France and now, I’m doing my internship at Dassault Systèmes. I’m working with CATIA Systems, a CATIA workbrench where we can design products since the user requirements until the final product. In this way, an important stage is the simulation and validation, so we use modeling languages like Modelica to simulate multiphysics systems.
I’m undertaking a project between Dassault Systèmes and my school, and the objective is to be able to simulate Poppy dynamics in CATIA Systems, but also, to control it using CATIA. There are already some projects like this one (NAO an its avatar a swiss knife in engineering education) where we use an FMI (Functional Mockup Interface) to communicate CATIA with the real robot. So the first step is to communicate both of them in order to get the robot variables, and send commands to each motor.
I’m still a beginner controlling the robot, so your help and your ideas are welcome. I will keep you abreast with my advancements.
At Arts et Metiers we just received the ODROID card, and I was wondering if anyone knows how to install Pypot on it. I found this . However, when it refers to a memory card is it a microSD or would it be possible to use a USB instead ?
Depending where you bought your Odroid, you may have with it this eMMc module http://www.hardkernel.com/main/products/prdt_info.php?g_code=G138749987644 If it has a red sticker on it, it means Ubuntu is already installed. You can directly plug the module on the Odroid, power the Odroid, connect it to the network and connect through ssh. Then use poppy-install or pip or install from git.
If you don’t have the eMMC… you can probably replace it by a USB, but I don’t know how.
The Odroid board come with Ubuntu pre-install, so you don’t have to install your os with a sd card.
Btw, you have the other parts of a Poppy creature or just the Odroid ? If you don’t, keep in mind that you can install pypot on your computer (Windows, OS X or GNU/Linux) and run poppy humanoid on V-REP simulator.
Thanks for all your responses, I already could run Ubuntu on the ODROID card. In parallel, I’m working in the comunication between Pypot and C++, using the API REST. Has anyone worked with that? I am trying some requests but I don’t receive what is expected, here you have an exemple:
I receive the motor names, but there is no root for the JSON message.
Here is my code in python:
import json
import time
"""##Connect to real robot
from poppy.creatures import PoppyHumanoid
poppy = PoppyHumanoid()
"""
##Connect to virtual robot in VREP
import pypot.vrep
from pypot.vrep import from_vrep
from poppy.creatures import PoppyHumanoid
poppy = PoppyHumanoid(simulator='vrep')
print("Connection to virtual robot successful")
##Create the ZMQServer
HOST = '127.0.0.7'
PORT = 1140
from pypot.server.zmqserver import ZMQRobotServer
server = ZMQRobotServer(poppy,HOST,PORT)
print("Connected to client on"+HOST+","+str(PORT))
##Create a thread to run the REQ/RESP loop
from threading import Thread
Thread(target=lambda: server.run()).start()
Traceback (most recent call last):
File "E:\users\JAO2\Projet\Robot Poppy\Programming\Python\motor_config.py", line 33, in <module>
robot = pypot.robot.from_config(my_config)
File "C:\Python27\lib\site-packages\pypot\robot\config.py", line 58, in from_config
check_motor_limits(config, dxl_io, motor_names)
File "C:\Python27\lib\site-packages\pypot\robot\config.py", line 152, in check_motor_limits
dxl_io.set_angle_limit(changed_angle_limits)
File "C:\Python27\lib\site-packages\pypot\dynamixel\io\io.py", line 51, in set_angle_limit
raise ValueError('can not change the angle limit of a motor in wheel mode')
ValueError: can not change the angle limit of a motor in wheel mode
Why are the motors in wheel mode? How can I modify it in the configuration? Thanks