This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ros/ros.h> | |
#include "fcm.h" | |
#include <controller_manager/controller_manager.h> | |
int main(int argc , char **argv) | |
{ | |
//setup | |
ros::init(argc , argv , "my_robot"); | |
MyRobot::MyRobot robot; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace ros_control_boilerplate | |
{ | |
class JoystickManualControl | |
{ | |
public: | |
/** | |
* \brief Constructor | |
* \param parent_name - name of parent class, only used for namespacing logging debug output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# move_group_python_interface_tutorial.py | |
## BEGIN_SUB_TUTORIAL imports | |
## | |
## To use the python interface to move_group, import the moveit_commander | |
## module. We also import rospy and some messages that we will use. | |
import sys | |
import copy | |
import rospy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Your snippets | |
# | |
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to | |
# expand the prefix into a larger code block with templated values. | |
# | |
# You can create a new snippet in this file by typing "snip" and then hitting | |
# tab. | |
# | |
# An example CoffeeScript snippet to expand log to console.log: | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var regi_view = Backbone.View.extend({ | |
el : '#page', | |
initialize : function() | |
{ | |
this.render() | |
this.regi_model = new RegiModel() | |
this.regi_model.on('invalid',this.on_model_invalid,this) | |
}, | |
render : function(){ | |
var template = window['JST']['templates/regi.tpl'](); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
header: | |
seq: 0 | |
stamp: | |
secs: 0 | |
nsecs: 0 | |
frame_id: /base_link | |
joint_names: ['x_joint'] | |
points: | |
- | |
positions: [0.0] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
'category':{'category_name':'charfield_string'}, | |
'invoice_purchase':{'invoice_name':'charfield_alphanumeric'}, - editable backend-end list [FALANA ,diKDA ] | |
'item_type':{'item_type_name':'charfield_string'}, -editable backen-end list [{id : 1 , name : 'Shirt' }] | |
'brand':{'brand_name':'charfield_string'}, -editable backne list [{id : 1 , name : 'Housing'}] | |
'size_convention':'charfield_string', -editable list [tuple] | |
'brand_item_size_guide_available':'booleanfield', --checbox editable | |
'brand_size':'charfield_string', --editable select [(tuple)] | |
'height_size':'integerfield', -- editable slect [23 , 40 , 50 ,50 ] | |
'bust_size':'integerfield', -- editable [20 ,30 ,30 ,50] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.http import HttpResponse, HttpResponseBadRequest | |
from django.views.decorators.csrf import csrf_exempt | |
from django.views.decorators.http import require_GET, require_POST | |
import pdb | |
import json | |
def edit(request): | |
brand ={ | |
'colors' :[ | |
{ 'id' : 1 , 'value' : 'RED' }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def add_user(request): | |
''' | |
POST method url : '/user/facebook/add' | |
@parms : { user: a dict containing user facebook details | |
} | |
@Response parms : {status : True/False , message : response text if any} | |
''' | |
user = user.create(request.POST['user']) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@csrf_exempt | |
def save(request): | |
''' | |
save the images 1234 | |
get the item | |
image_key =create image with this item key | |
update item color and flyrobe size and image forien key | |
save this item | |
return the response | |
''' |
OlderNewer