Comments (1)
Hi,
The code and all methods should work directly on the real robot once you run "interface.launch" of the franka_ros_interface package, but you have to be careful with parameters such as the controller gains, control loop rate, etc. These values may not be the same for sim and real. I would suggest you test your code with a simple motion first (or even zero motion) on the real robot to find a reasonable set of control parameters. Then you can improve from there. You may also find that you have to run the control loop at a higher frequency to get smooth motion.
Just as an aside, for my experiments, I run the control loop in one machine as a node that subscribes to a topic listening for the goal values. A second node publishes the trajectory points as required from another machine where all my other computations are done (I have some learning, planning etc. algorithms running on this machine). The control loop runs on the first machine alone at a high frequency ensuring that control commands to the robot are sent without additional delay.
P.S. You don't have to copy the file to the package. You can leave it anywhere (as long as you have sourced your catkin workspace) and run it as python [file_name]
.
Hope this helps.
-- Saif
from panda_simulator.
Related Issues (20)
- I use cpp to imitate python script(move_robot.py). message md5sum is mismatch. HOT 2
- Action client not connected. No controllers. HOT 3
- Cartesian Pose Control as directly supported by Panda (#39) HOT 7
- how can i control the franka at the joint velocity level HOT 1
- start the franka_example_controller HOT 1
- Process finished on startup and demo fail HOT 5
- Trajectory replacing support HOT 2
- Gazebo not launched following Docker Build instructions HOT 3
- Gravity HOT 2
- Action client not connected: position_joint_trajectory_controller/follow_joint_trajectory HOT 4
- How do I add an .stl to the gazebo simulation? HOT 1
- Errors when running `roslaunch panda_gazebo panda_world.launch` HOT 3
- Error when running `roslaunch panda_sim_moveit sim_move_group.launch`
- Errors when starting example scripts
- Error while launching panda_world.launch
- Getting Segmentation Fault while lanuching the panda_world.launch file HOT 1
- Controller registration fail: This controller requires a hardware interface of type 'panda_hardware_interface::SharedJointInterface'. Make sure this is registered in the hardware_interface::RobotHW class HOT 2
- Cannot do path planning with Move It Demo HOT 4
- Works for 20.04 noetic? Can not run the first demo HOT 1
- SetModelConfiguration service failed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from panda_simulator.